This snapshot is possibly one of the most impactful for API we have ever had. This PR is an inital port to support 22w06a, stuff will be missing and broken.
# Removed modules:
- fabric-mining-levels-v0 - Previously deprecated
- fabric-object-builders-v0 - Previously deprecated
- fabric-tag-extensions-v0
- fabric-tool-attribute-api-v1
# Modules with API breaking changes:
- fabric-biome-api-v1
- fabric-content-registries-v0
- fabric-data-generation-api-v1
- fabric-mining-level-api-v1
- fabric-object-builder-api-v1
- fabric-resource-conditions-api-v1
- fabric-structure-api-v1
# Impactful API changes:
### fabric-object-builder-api-v1
- Removed - FabricBlockSettings.breakByHand
- Removed - FabricBlockSettings.breakByTool - Previously deprecated
# Notable changes
- fabric-registry-sync-v0 moves vanilla's new registry freezing to a later point in time, allowing mods to add to the registry during init.
# Known issues:
- ServerBugfixMixin used to fix https://bugs.mojang.com/browse/MC-195468 has not yet been ported.
* Structure Pool Callback
* Update build.gradle
* Update fabric-structure-api-v1/src/main/java/net/fabricmc/fabric/api/structure/v1/FabricStructurePool.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Update fabric-structure-api-v1/src/main/java/net/fabricmc/fabric/api/structure/v1/FabricStructurePool.java
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Fix certain concerns
* Expose identifier for easier access
* Final test mod thing
* fix access widener
* Fix a few things
* Fix a few things
* Fix license
* haha lets see if this works
* checkstyle was working after I did checkstyleMain so u bettar work
* i take too much time to do checkstyle fixes
* checkstyle fix testmod ugh amirite
* Fix a few concerns brought up <3
* Oops, forgot to add a mutanle there
* Let's test this one more time?
* Remove Access Widener woop woop
* rename to poolAccessor
* Simplify the pool modification a bit
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
(cherry picked from commit 48a9ad892d)
Structures are no longer linked to Biomes via an instance field in the Biome class. Instead they are linked by registry keys. This means that standard biome spawning rules also apply to superflat worlds, instead of the hardcoded list of structures linked with superflat worlds by default. Changes the FabricStructureBuilder to allow adding structures to this default list.
* Fix structure config not applying in every case
* Make tempmap immutable
* delete unfinished sentence
oop
* Some more cleanup
This was done at the request of Technician
* Update fabric-structure-api-v1/src/main/resources/fabric.mod.json
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
Co-authored-by: liach <7806504+liach@users.noreply.github.com>
* Add custom value denoting module lifecycles.
* Make the module validation work.
My hand has been forced - we must use buildSrc since JsonSlurper is not available in main buildscript.
* Apply task to each project and dont cross projects
* A horrible hack
* Wait what
* It works now.
* Not needed
* Drop unneeded maven repo, cache map lookup
(cherry picked from commit daa38b3d82)
* Add fix for handling removal of old structures.
This fix is required or else worlds where a mod is removed WILL NOT SAVE.
* Only mark for saving if the chunk has a null key
* Add label for issue being fixed
* Actually fix the redirect lol
* Licenses...
* Use ThreadLocal boolean instead of nullable unit
* Checkstyle is picky
* remove unnecessary `containsKey`