Commit graph

9 commits

Author SHA1 Message Date
i509VCB
6692ae6057 Remove all inter-module dependencies on fabric-networking-v0 (#1291)
This migrates all uses of v0 networking to v1 api, and changes the readme to not mention networking-v0 in the example for dependencies.

This effectively makes v0 removable if it breaks in the future beyond repair. Though I expect v0 to last quite a bit longer.

(cherry picked from commit bf770ed853)
2021-02-14 17:56:36 +00:00
modmuss50
92519afafe Version bump 2021-01-19 19:38:22 +00:00
Thalia Nero
9f7a7423f3 Add module dependencies to maven POM (#1104) 2020-11-15 19:46:01 +00:00
modmuss50
df3673f0bc 20w46a 2020-11-11 20:18:14 +00:00
modmuss50
3e817a62fd Version bump 2020-11-05 18:26:58 +00:00
modmuss50
fd6e7547e7
20w45a
Added FabricBlockEntityTypeBuilder
Reworked EntityRendererRegistry
Ported BlockEntityRendererRegistry
2020-11-05 18:05:55 +00:00
Juuxel
872498418c
Tweak the screen registry's generics to fix type inference (#857)
* Tweak the screen registry's generics to fix type inference

* Fix test mod
2020-07-20 19:36:10 +01:00
modmuss50
f362c86ed3 Bump version + rc1 2020-06-18 21:45:48 +01:00
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