Reika_Mods_Issues icon indicating copy to clipboard operation
Reika_Mods_Issues copied to clipboard

[ChromatiCraft] Add Highlands world type compatibility

Open dalapo opened this issue 1 year ago • 0 comments

Currently, ChromatiCraft biomes do not generate in Highlands world types using that same mod. To fix this, the following code snippet should be called in postInit to add CrC biomes to the list of biomes to generate.

public static void setupModBiomes() { String crc = "ChromatiCraft"; AdvancedBiomeEntry enderForest = new AdvancedBiomeEntry(ChromatiCraft.enderforest, 10, crc); AdvancedBiomeEntry glowingCliffs = new AdvancedBiomeEntry(ChromatiCraft.glowingcliffs, 10, crc); AdvancedBiomeEntry rainbowForest = new AdvancedBiomeEntry(ChromatiCraft.rainbowforest, 10, crc); AdvancedBiomeRegistry.addBiome(enderForest, "warm", true); AdvancedBiomeRegistry.addBiome(glowingCliffs, "cool", true); AdvancedBiomeRegistry.addBiome(rainbowForest, "warm", true); }

Highlands works off the MultiWorld API, found here.

dalapo avatar Oct 20 '23 21:10 dalapo