* Update to loom 1.3
* Fix more 1.3 deprecations
* Opps
* Move to mod publish plugin
* Revert some changes
* Fix some more Gradle deprecations
* Fix names
* Remove extra stuff
* Cleanup
A common source of crashes on modded Minecraft servers comes from modders accidently calling client only code from the client, this PR is another large step towards elimitating that.
This PR has been months in the making and years in the planning, requiring major changes to Loom & Loader. In recent Minecraft versions Mojang has made it easier than ever to cleanly split the jar, going against the status-quo of merging the client and server into one jar.
From the start we have designed Fabric to have a very clear split between client and common (client & server) code. Fabric has always encoraged keeping client only code seprate from the server, this can be seen at a fundamental level with the entrypoints in Loader. Fabric API's have all been designed with this mind.
This PR provides a compile safety net around Fabric API using client only code on the server. Even though there are almost 400 changed files, minimal changes beyond moving the files were required to achieve this in Fabric API, thanks to the effort of all contributors in the past.
These changes should not affect modders or players in anyway, a single "universal" jar is still produced. Im happy to awnswer any questions.
* Create GameRule API
* Some tweaks
* gamerule -> game-rule
* Fix translation keys and update to 20w22a
* Command results and remove unnessecary factory method
* Update to 1.16-pre1
* Update fabric-game-rule-api-v1/src/main/java/net/fabricmc/fabric/api/gamerule/v1/FabricRuleTypeConsumer.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* I like final things
* Update to 1.16-pre3, change enum button style
* checkstyle
* use right min values
* Document ValidatableRule
* Document LiteralRule, clarify generics
* Update to 20w27a
* Rename some parts to compensate for future yarn renames.
Flatten some logic related to EnumRules
* forgot one
* javadoc galore
* finish javadoc
* Start things
* Update to 20w29a, drop float rule
* Make cycle naming more accurate
* Convert colors to hex
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>
* Update to 20w30a
* imports again
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: Prospector <6166773+Prospector@users.noreply.github.com>
Co-authored-by: Erlend Åmdal <erlend@aamdal.com>