diff --git a/src/main/java/biomesoplenty/common/init/ModBiomes.java b/src/main/java/biomesoplenty/common/init/ModBiomes.java index 5073c02ed..2c60979f7 100644 --- a/src/main/java/biomesoplenty/common/init/ModBiomes.java +++ b/src/main/java/biomesoplenty/common/init/ModBiomes.java @@ -240,11 +240,12 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry initSubBiomes(); initMutatedBiomes(); - initExtendedBiomes(); - + registerBiomes(); registerBiomeDictionaryTags(); + initExtendedBiomes(); + // save the biome ids to the config file (creating it if it doesn't exist) BOPConfig.writeFile(biomeIdMapFile, biomeIdMap); @@ -310,26 +311,6 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry setSubBiome(BiomeGenBase.extremeHillsPlus, BiomeGenBase.getBiome(BiomeGenBase.extremeHillsPlus.biomeID + 128)); setSubBiome(BiomeGenBase.megaTaigaHills, BiomeGenBase.getBiome(BiomeGenBase.megaTaigaHills.biomeID + 128)); } - - public static void initExtendedBiomes() - { - biomeWrapperMap = new HashMap(); - - end_extension = registerWrappedBiome(new BiomeExtEnd(), "end"); - birch_forest_extension = registerWrappedBiome(new BiomeExtBirchForest(), "birch_forest"); - desert_extension = registerWrappedBiome(new BiomeExtDesert(), "desert"); - extreme_hills_extension = registerWrappedBiome(new BiomeExtExtremeHills(), "extreme_hills"); - forest_extension = registerWrappedBiome(new BiomeExtForest(), "forest"); - ice_plains_extension = registerWrappedBiome(new BiomeExtIcePlains(), "ice_plains"); - jungle_extension = registerWrappedBiome(new BiomeExtJungle(), "jungle"); - mesa_extension = registerWrappedBiome(new BiomeExtMesa(), "mesa"); - plains_extension = registerWrappedBiome(new BiomeExtPlains(), "plains"); - roofed_forest_extension = registerWrappedBiome(new BiomeExtRoofedForest(), "roofed_forest"); - savanna_extension = registerWrappedBiome(new BiomeExtSavanna(), "savanna"); - swampland_extension = registerWrappedBiome(new BiomeExtSwampland(), "swampland"); - taiga_extension = registerWrappedBiome(new BiomeExtTaiga(), "taiga"); - - } private static void registerBiomes() { @@ -413,6 +394,26 @@ public class ModBiomes implements BOPBiomes.IBiomeRegistry addIslandBiome(tropical_island, 10); } + public static void initExtendedBiomes() + { + biomeWrapperMap = new HashMap(); + + end_extension = registerWrappedBiome(new BiomeExtEnd(), "end"); + birch_forest_extension = registerWrappedBiome(new BiomeExtBirchForest(), "birch_forest"); + desert_extension = registerWrappedBiome(new BiomeExtDesert(), "desert"); + extreme_hills_extension = registerWrappedBiome(new BiomeExtExtremeHills(), "extreme_hills"); + forest_extension = registerWrappedBiome(new BiomeExtForest(), "forest"); + ice_plains_extension = registerWrappedBiome(new BiomeExtIcePlains(), "ice_plains"); + jungle_extension = registerWrappedBiome(new BiomeExtJungle(), "jungle"); + mesa_extension = registerWrappedBiome(new BiomeExtMesa(), "mesa"); + plains_extension = registerWrappedBiome(new BiomeExtPlains(), "plains"); + roofed_forest_extension = registerWrappedBiome(new BiomeExtRoofedForest(), "roofed_forest"); + savanna_extension = registerWrappedBiome(new BiomeExtSavanna(), "savanna"); + swampland_extension = registerWrappedBiome(new BiomeExtSwampland(), "swampland"); + taiga_extension = registerWrappedBiome(new BiomeExtTaiga(), "taiga"); + + } + private static void registerBiomeDictionaryTags() { //TODO: Add biome dictionary tags for biomes that haven't been added yet