end generation is wierd on serevers
benbenlaw opened this issue ยท 5 comments
BlueDuckYT/The-Outer-End#19 (comment)
TelepathicGrunt/Bumblezone#56
apparntly it could be a problem with abnormals core
Found the issue. It is indeed an issue in abnormals. Well, more specifically, it's a very hidden issue with a vanilla method that had caused me great pain in the past. This method
https://github.com/team-abnormals/abnormals-core/blob/601548fd273d8eac75ed56b961343a9559fbe58d/src/main/java/com/minecraftabnormals/abnormals_core/core/mixin/EndBiomeProviderMixin.java#L64
If you look inside func_242936_a and see how it works, it actually resolves the biome ID to a registrykey using the WorldGenRegistry biome registry first instead of the DynamicRegistry. Thus if the built in registry is different from the dynamic biome registry (due to json biomes and all), the int ID will be resolved to the wrong registrykey and passed on. This dang method broke my mod a while ago which is why I made my own sample method that reverses how it works by using the dynamic registry FIRST to resolve the int ID to a registry key. If that fails, then try using the built in registry as a backup. Why Mojang has it the wrong way, I have no dang clue lol
https://github.com/TelepathicGrunt/Bumblezone/blob/522fa2bd66370a782098f64a95195846c166846b/src/main/java/com/telepathicgrunt/the_bumblezone/dimension/BzBiomeProvider.java#L103-L117
This is a mix of various issues between Forge and Minecraft... you can use this on the latest forge to try and fix it:
AllTheMods/ATM-6#437
Bagel, that issue report is not applicable for this issue. The person is using a recent Forge version long after v35.1.4 Forge and is making a new world each time to reproduce the bug on their end.
TelepathicGrunt/Bumblezone#56 (comment)
I can't reproduce it myself which is odd but that ATM6 post isn't going to help. I got no clue as to what's going on either lol