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`