The lower methods in the class are commented with their categories:
`FABRIC DELEGATE WRAPPERS` for additional methods to allow editing fields not actually exposed in vanilla.
`FABRIC HELPERS` for methods to handle things like mining levels.
Per these two categories, the new method does not belong in `FABRIC HELPERS` and has been moved accordingly
* Add a small datapack to test if custom commands work with command functions
* Fix issue with commands being registered on dedicated servers after a /reload
Also this adds testmods for command functions to verify they are registered properly.
* Clarify a comment
* Use the variable we allocate lol
* 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.
* Edited Clone of #244
- Fixed checkstyle issues
- Migrated to fabric-keybindings-v1
- Removed sticky keybindings from #244 as it sounds useless and you can just around it by simply adding that functionality yourself, I might add it back if someone can tell me the advantages of sticky keys except bloat
- Added a test mod
- Added FabricKeyBinding#getBoundKeyOf for getting vanilla bound keys with ease
- Renamed `registered` to `automaticallyRegister` as that is more of a better name
- Added a couple Objects.requireNonNull validations
* Add back StickyFabricKeyBinding as it is in vanilla, did not notice.
* Remove extra "key."
* Bump to 1.0.0
* build().register()
* Remove `register()`
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Fix test
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Rename module
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Fix checkstyle violation
Signed-off-by: shedaniel <daniel@shedaniel.me>
* major refactor
Signed-off-by: shedaniel <daniel@shedaniel.me>
* revert some stuff
Signed-off-by: shedaniel <daniel@shedaniel.me>
* fix build
Signed-off-by: shedaniel <daniel@shedaniel.me>
* major stuff
Signed-off-by: shedaniel <daniel@shedaniel.me>
* fix license, of course
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Add resource loader v0
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Let's not break the api.
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Rename to buildAndRegister
Signed-off-by: shedaniel <daniel@shedaniel.me>
* resolve reviews
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Use GLFW
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Dump the builder entirely
Signed-off-by: shedaniel <daniel@shedaniel.me>
* Rename to Key Binding
Signed-off-by: shedaniel <daniel@shedaniel.me>
* dim api initial port
* A whole bunch of work
* Checkstyle :)
* Minor tweaks based on feedback
* Update to latest snapshot
* Checkstyle ;)
* Some more dim work
* Re add default placer's, the example mod includes a test dim that currently marks the world as experimental
* license
* Fixup javadoc
* 20w22a support for nether biomes
* Apply suggestions from code review
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
* Checked style and bumped version
* Fixed some testmods
* Made TestCrimsonForestBiome an inner class in FabricBiomeTest
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
* Try to detect if a registry is modded, if its not it will left alone and no syncing or saving will take place.
* Some more work on moddable registries
* Checkstyle
* Fix licences
* Cleanup registry attributes
* Rework again
* Some small tweaks
* Yet another refactor
* Some minor style fixes
* Finish checking registries
* Start on a test mod, and apply some fixes.
* Checkstyle fixes
* Tweak the logic behind previously modded registries
* Use EnumSet
* Update fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/mixin/registry/sync/MixinRegistry.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Fix generics, add javadoc, add tests
* More changes
* Checkstyle fixes
* Minor fixes
* Remove hash stuff
* 20w21a - massive changes
* fix build
* Update fabric-registry-sync-v0/src/main/java/net/fabricmc/fabric/api/event/registry/FabricRegistryBuilder.java
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
* Feedback and update mappings
* No longer apply mappings to vanilla registries, no longer save empty mapping data.
* Use Identifier in FabricRegistryBuilder over RegistryKey
Improve empty registry tag handling
* Reorder toTag empty checks
* Minor fixes
* Make FabricRegistryBuilder final
* Update registry attributes
* Fix compile issue
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Joseph Burton <burtonjae@hotmail.co.uk>
Co-authored-by: Player <player@player.to>