Infernal-Expansion
Infernal-Expansion copied to clipboard
[1.19.2] Fix TerraBlender compatibility
Hello. I am Jonathan. I work on GENESIS, and I made Galoblender.
Infernal Expansion seems to have some built-in TerraBlender compatibility, but it's rather poorly done and doesn't work. This PR fixes that.
- Added TerraBlender as a compile-only dependency in the project.
- Fixed the code in
TerrablenderSurfaceRuleCompatto not use reflection when registering surface rules.- Whoever wrote this code to use reflection: I hope you get coal for Christmas this year.
- Cancel
MixinMinecraftServerif TerraBlender is loaded, since they handle surface rules themselves. - Made a TerraBlender region for IE's biomes.
- This was not done before and is the primary reason why TerraBlender compatibility did not work.
- Added a config option to control the weight of the new TerraBlender region.
- Due to the way config values work in this mod, I've set an arbitrary maximum of 50.
- Added some debug-level logging to all the new shit I wrote in this PR.