Biome Replacer can't fully replace vanilla biomes if TerraBlender-dependent mods are present
WerDei opened this issue ยท 5 comments
What's the issue you encountered?
Hi! I'm a developer of Biome Replacer. I'm not versed enough in Minecraft's worldgen code nor TerraBlender's, so I'm looking for some help.
Upon creation of a WorldStem, BR replaces biomes according to the rules in its config. This, in theory, should work as if biomes were removed using a worldgen datapack.
However, when a TerraBlender-dependent mod is installed (I tested with Nature's Spirit and Biomes o' Plenty), suddenly replacements can fail to apply in random areas.
Here's an example of what a vanilla world would look like:

Here's one where dark forest is replaced with cherry grove using BR:

And here is the same area after installing Nature's Spirit. You can see that only a part of the dark forest was replaced:

(Screenshots are taken with seed 9101978112017418412 at coords 898 128 1002)
Let me know if this is fixable from my side!
How can the issue be reproduced?
- Install Biome Replacer and add a simple rule to its config file, like
minecraft:dark_forest > minecraft:cherry_grove - Generate a world and run
/locate biome minecraft:dark_forest. The biome won't be found, as expected - Install TerraBlender and repeat step 2 using the same seed. You will notice that this time the game halts before showing the error, indicating that dark forest is present in BiomeSource's "possibleBiomes".
- Install Nature's Spitit or Biomes o' Plenty and repeat step 2 again. You will likely locate a dark forest.
Logs
No response
Mod Version
4.1.0.5
Additional information
Tested on Fabric 1.21.1
Mentioned mod's versions:
- Biome Replacer 1.6
- Biomes O' Plenty 21.1.0.7
- Nature's Spirit 1.6.3
Also getting this issue on Forge 1.20.1 but it only seems to happen with Nature's Spirit for me
Also getting this issue on Forge 1.20.1 but it only seems to happen with Nature's Spirit for me
Can confirm that the latest version of Biome Replacer works wonders with Biomes O' Plenty and Biomes We've Gone, so it's like that's just a Nature's Spirit thing (Though this was tested on 1.21.1 NeoForge, so maybe it's slightly different)
@CrawKatt We have solved it on our side since BR 2.1, by injecting into TerraBlender's code.