Essential hooks for modding with Fabric.
Find a file
Juuxel 045df74fe0
Screen handler API (#584)
* Add screen handler API

* Use more descriptive letters for FabricHandledScreens generics

* Add missing Deprecated annotations

* Bump fabric-containers-v0 version

* Remove unused ServerPlayerEntityAccessor

* Remove [Fabric] from log messages

* Convert FabricHandledScreens to a class

* Add dependency on networking-v0

* Resolve threading issues with NetworkingClient

* Use Identifiers instead of int IDs, make ScreenHandlers a class

Also added a private constructor to FabricHandledScreens.

* NetworkingClient -> ClientNetworking

* Use more descriptive names for injections

* Use ID parameter instead of fetching again

* Add clarifying comment

* Port changes from FabLabs

* Fix compilation

* Replace the content of links in FabricHandledScreens for readability

* Sync with FabLabs

* Add test mod

* I suppose IInv shouldn't have CC0 anymore 👀

* Improve logging

- Networking now uses a logger instead of an exception
- The loggers are now suffixed with their side
- Fixed the client unregistered screen message using the title instead of the ID

* Fix test mod on 20w21a

* Fix ExtendedScreenHandlerFactory javadoc referencing old names

* Update test mod to 1.16-pre2

Just a simple mapping update. :)

* Fix incorrect javadoc references to screen-handler-api in containers-v0

* Remove Minecraft exclusion from build.gradle (thanks to Loom 0.4) + testmod change

Resource loader v0 is now testmodRuntimeOnly as it's not needed for compiling.
2020-06-15 22:00:54 +01:00
fabric-api-base Bump versions 2020-04-05 15:12:25 +01:00
fabric-biomes-v1 update mappings 2020-06-09 22:29:07 +01:00
fabric-blockrenderlayer-v1 Version bump 2019-11-28 19:45:38 +00:00
fabric-command-api-v1 Fix log spam for mods that are not datapacks. Also bump version for release 2020-06-05 20:09:24 +01:00
fabric-commands-v0 Migrate commands to v1 (#539) 2020-04-29 22:15:05 +01:00
fabric-containers-v0 Screen handler API (#584) 2020-06-15 22:00:54 +01:00
fabric-content-registries-v0 update mappings 2020-06-09 22:29:07 +01:00
fabric-crash-report-info-v1 Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
fabric-dimensions-v1 Rework Dimensions for 1.16 (#627) 2020-06-11 11:38:38 +01:00
fabric-events-interaction-v0 1.16-pre5 2020-06-12 16:29:47 +01:00
fabric-events-lifecycle-v0 1.16-pre1 2020-06-04 21:20:20 +01:00
fabric-item-groups-v0 Move creative pagination buttons (#639) 2020-06-12 11:10:04 +01:00
fabric-key-binding-api-v1 Keybinding 1.16 compile fixes 2020-06-12 11:24:25 +01:00
fabric-keybindings-v0 migrate to fabric-keybindings-v1 and remove builder (#615) 2020-06-12 11:20:31 +01:00
fabric-loot-tables-v1 update mappings 2020-06-09 22:29:07 +01:00
fabric-mining-levels-v0 fabric-mining-levels-v0 -> fabric-tool-attribute-api-v1 (1.15 edition) (#460) 2020-04-22 09:49:29 +02:00
fabric-models-v0 Add checkstyle, format existing code accordingly. 2019-10-27 15:40:26 +01:00
fabric-networking-blockentity-v0 Checkstyle fixes... 2020-03-25 18:28:35 +00:00
fabric-networking-v0 Update checkstyle and change tab width to be 4 than 8 (#518) 2020-04-11 18:21:53 +00:00
fabric-object-builder-api-v1 update mappings 2020-06-09 22:29:07 +01:00
fabric-object-builders-v0 20w22a 2020-05-29 15:56:10 +01:00
fabric-particles-v1 20w21a initial port 2020-05-20 19:39:37 +01:00
fabric-registry-sync-v0 1.16-pre4 - just a mapping change. 2020-06-11 18:30:44 +01:00
fabric-renderer-api-v1 Add fabric model predicate provider registry (#601) 2020-05-07 22:10:07 +01:00
fabric-renderer-indigo update mappings 2020-06-09 22:29:07 +01:00
fabric-renderer-registries-v1 Fix checkstyle package check using client/server as the module name and missing suffix validation, adapt missed fabric-renderer-registry package 2019-11-27 13:24:36 +01:00
fabric-rendering-data-attachment-v1 Add checkstyle verification for package names, fix non-API packages. 2019-11-03 20:14:45 +01:00
fabric-rendering-fluids-v1 Bump versions 2020-04-05 15:12:25 +01:00
fabric-rendering-v0 fabric-rendering-v1 module & added HudRenderCallback (#359) 2019-12-28 15:29:04 +00:00
fabric-rendering-v1 Checkstyle 2020-06-04 21:24:25 +01:00
fabric-resource-loader-v0 update mappings 2020-06-09 22:29:07 +01:00
fabric-screen-handler-api-v1 Screen handler API (#584) 2020-06-15 22:00:54 +01:00
fabric-tag-extensions-v0 1.16-pre3 2020-06-10 18:17:45 +01:00
fabric-textures-v0 Add fabric model predicate provider registry (#601) 2020-05-07 22:10:07 +01:00
fabric-tool-attribute-api-v1 update mappings 2020-06-09 22:29:07 +01:00
gradle/wrapper Update gradle, loom, mappings, loader 2020-04-03 20:44:38 +01:00
src/main/resources 1.16-pre1 2020-06-04 21:20:20 +01:00
.editorconfig update license header, add .editorconfig, run formatter - close #28 2019-04-26 20:18:20 +02:00
.gitignore Add checkstyle, format existing code accordingly. 2019-10-27 15:40:26 +01:00
.travis.yml Update checkstyle and change tab width to be 4 than 8 (#518) 2020-04-11 18:21:53 +00:00
build.gradle 1.16-pre6 2020-06-15 19:26:27 +01:00
checkstyle.xml Restart Testmods (#593) 2020-05-03 16:56:50 +00:00
gradle.properties build to fabric-api 2019-04-24 19:15:08 +02:00
gradlew Update gradle, loom, mappings, loader 2020-04-03 20:44:38 +01:00
gradlew.bat first commit - resource pack hook and little else 2018-11-05 15:54:18 +01:00
HEADER update license header, add .editorconfig, run formatter - close #28 2019-04-26 20:18:20 +02:00
LICENSE first commit - resource pack hook and little else 2018-11-05 15:54:18 +01:00
README.md Add minimal "getting started" to README.md (#275) 2019-08-08 00:03:31 +01:00
settings.gradle Screen handler API (#584) 2020-06-15 22:00:54 +01:00

Fabric

Essential hooks and patches for modding with Fabric.

Getting Started

To setup a Fabric development environment, check out the example fabric mod and follow the instructions there.