fabric/fabric-biome-api-v1
apple502j 6b24207967 Fix inconsistency of placed feature locations (#3369)
* Fix inconsistency of placed feature locations

`BiomeSource#getBiomes` mixin applies to all biome sources, including one for Overworld.
The return value is a set; however one caller in the worldgen code iterates over it: `PlacedFeatureIndexer`.
Using a hash set here randomizes the return value, affecting feature placement.
Use a linked hash set instead.

* Improve fix to only make changes when required.

---------

Co-authored-by: modmuss50 <modmuss50@gmail.com>
(cherry picked from commit 661cc8c6dc)
(cherry picked from commit 215bbe96c2)
2023-10-08 13:15:06 +01:00
..
src Fix inconsistency of placed feature locations (#3369) 2023-10-08 13:15:06 +01:00
.gitignore 22w42a 🐫 (#2599) 2022-10-22 20:38:33 +01:00
build.gradle Setup unit tests & format gradle files. (#3073) 2023-05-30 13:10:24 +01:00