From d6880c78b78bce143fa6208837b330b9d90bce86 Mon Sep 17 00:00:00 2001 From: ted Date: Mon, 22 Apr 2013 23:46:38 +0300 Subject: [PATCH] Added Biome Dictionary --- .../configuration/BOPBiomes.java | 164 +++++++++--------- 1 file changed, 82 insertions(+), 82 deletions(-) diff --git a/src/minecraft/biomesoplenty/configuration/BOPBiomes.java b/src/minecraft/biomesoplenty/configuration/BOPBiomes.java index 0a1345023..0998e030f 100644 --- a/src/minecraft/biomesoplenty/configuration/BOPBiomes.java +++ b/src/minecraft/biomesoplenty/configuration/BOPBiomes.java @@ -3,90 +3,11 @@ package biomesoplenty.configuration; import net.minecraft.world.biome.BiomeGenBase; import net.minecraftforge.common.BiomeManager; import biomesoplenty.api.Biomes; -import biomesoplenty.biomes.BiomeGenAlps; -import biomesoplenty.biomes.BiomeGenArctic; -import biomesoplenty.biomes.BiomeGenBadlands; -import biomesoplenty.biomes.BiomeGenBambooForest; -import biomesoplenty.biomes.BiomeGenBayou; -import biomesoplenty.biomes.BiomeGenBirchForest; -import biomesoplenty.biomes.BiomeGenBog; -import biomesoplenty.biomes.BiomeGenBorealForest; -import biomesoplenty.biomes.BiomeGenCanyon; -import biomesoplenty.biomes.BiomeGenChaparral; -import biomesoplenty.biomes.BiomeGenCherryBlossomGrove; -import biomesoplenty.biomes.BiomeGenConiferousForest; -import biomesoplenty.biomes.BiomeGenCrag; -import biomesoplenty.biomes.BiomeGenDeadForest; -import biomesoplenty.biomes.BiomeGenDeadSwamp; -import biomesoplenty.biomes.BiomeGenDeadlands; -import biomesoplenty.biomes.BiomeGenDeciduousForest; -import biomesoplenty.biomes.BiomeGenDesertNew; -import biomesoplenty.biomes.BiomeGenDrylands; -import biomesoplenty.biomes.BiomeGenDunes; -import biomesoplenty.biomes.BiomeGenFen; -import biomesoplenty.biomes.BiomeGenField; -import biomesoplenty.biomes.BiomeGenForestNew; -import biomesoplenty.biomes.BiomeGenFrostForest; -import biomesoplenty.biomes.BiomeGenFungiForest; -import biomesoplenty.biomes.BiomeGenGarden; -import biomesoplenty.biomes.BiomeGenGlacier; -import biomesoplenty.biomes.BiomeGenGrassland; -import biomesoplenty.biomes.BiomeGenGrove; -import biomesoplenty.biomes.BiomeGenHeathland; -import biomesoplenty.biomes.BiomeGenHighland; -import biomesoplenty.biomes.BiomeGenHillsNew; -import biomesoplenty.biomes.BiomeGenIceSheet; -import biomesoplenty.biomes.BiomeGenIcyHills; -import biomesoplenty.biomes.BiomeGenJadeCliffs; -import biomesoplenty.biomes.BiomeGenJungleNew; -import biomesoplenty.biomes.BiomeGenLushDesert; -import biomesoplenty.biomes.BiomeGenLushSwamp; -import biomesoplenty.biomes.BiomeGenMangrove; -import biomesoplenty.biomes.BiomeGenMapleWoods; -import biomesoplenty.biomes.BiomeGenMarsh; -import biomesoplenty.biomes.BiomeGenMeadow; -import biomesoplenty.biomes.BiomeGenMesa; -import biomesoplenty.biomes.BiomeGenMoor; -import biomesoplenty.biomes.BiomeGenMountain; -import biomesoplenty.biomes.BiomeGenMysticGrove; -import biomesoplenty.biomes.BiomeGenOasis; -import biomesoplenty.biomes.BiomeGenOminousWoods; -import biomesoplenty.biomes.BiomeGenOrchard; -import biomesoplenty.biomes.BiomeGenOriginValley; -import biomesoplenty.biomes.BiomeGenOutback; -import biomesoplenty.biomes.BiomeGenPasture; -import biomesoplenty.biomes.BiomeGenPlainsNew; -import biomesoplenty.biomes.BiomeGenPrairie; -import biomesoplenty.biomes.BiomeGenPromisedLand; -import biomesoplenty.biomes.BiomeGenQuagmire; -import biomesoplenty.biomes.BiomeGenRainforest; -import biomesoplenty.biomes.BiomeGenRedwoodForest; -import biomesoplenty.biomes.BiomeGenSacredSprings; -import biomesoplenty.biomes.BiomeGenSavanna; -import biomesoplenty.biomes.BiomeGenScrubland; -import biomesoplenty.biomes.BiomeGenSeasonalForest; -import biomesoplenty.biomes.BiomeGenShield; -import biomesoplenty.biomes.BiomeGenShore; -import biomesoplenty.biomes.BiomeGenShrubland; -import biomesoplenty.biomes.BiomeGenSnowyWoods; -import biomesoplenty.biomes.BiomeGenSpruceWoods; -import biomesoplenty.biomes.BiomeGenSteppe; -import biomesoplenty.biomes.BiomeGenSwampNew; -import biomesoplenty.biomes.BiomeGenSwampwoods; -import biomesoplenty.biomes.BiomeGenTaigaNew; -import biomesoplenty.biomes.BiomeGenTemperateRainforest; -import biomesoplenty.biomes.BiomeGenThicket; -import biomesoplenty.biomes.BiomeGenTropicalRainforest; -import biomesoplenty.biomes.BiomeGenTropics; -import biomesoplenty.biomes.BiomeGenTundra; -import biomesoplenty.biomes.BiomeGenVolcano; -import biomesoplenty.biomes.BiomeGenWasteland; -import biomesoplenty.biomes.BiomeGenWetland; -import biomesoplenty.biomes.BiomeGenWoodland; +import biomesoplenty.biomes.*; import biomesoplenty.worldtype.WTBiomesOP; - +import net.minecraftforge.common.BiomeDictionary; +import net.minecraftforge.common.BiomeDictionary.Type; import com.google.common.base.Optional; - import cpw.mods.fml.common.registry.GameRegistry; public class BOPBiomes { @@ -191,6 +112,85 @@ public class BOPBiomes { //Initialize new world type WTBiomesOP = new WTBiomesOP(); + + //biome dictionary + BiomeDictionary.registerBiomeType(Biomes.alps.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.arctic.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.badlands.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.bambooForest.get(), Type.JUNGLE); + BiomeDictionary.registerBiomeType(Biomes.bayou.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.birchForest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.bog.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.borealForest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.canyon.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.chaparral.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.cherryBlossomGrove.get(), Type.MAGICAL); + BiomeDictionary.registerBiomeType(Biomes.coniferousForest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.crag.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.deadForest.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.deadlands.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.deadSwamp.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.deciduousForest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.drylands.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.dunes.get(), Type.BEACH); + BiomeDictionary.registerBiomeType(Biomes.fen.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.field.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.frostForest.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.fungiForest.get(), Type.MAGICAL); + BiomeDictionary.registerBiomeType(Biomes.garden.get(), Type.MAGICAL); + BiomeDictionary.registerBiomeType(Biomes.glacier.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.grassland.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.grove.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.heathland.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.highland.get(), Type.HILLS, Type.MOUNTAIN); + BiomeDictionary.registerBiomeType(Biomes.iceSheet.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.icyHills.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.jadeCliffs.get(), Type.FOREST, Type.MOUNTAIN); + BiomeDictionary.registerBiomeType(Biomes.lushDesert.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.lushSwamp.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.mangrove.get(), Type.WATER); + BiomeDictionary.registerBiomeType(Biomes.mapleWoods.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.marsh.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.meadow.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.mesa.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.moor.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.mountain.get(), Type.MOUNTAIN, Type.HILLS); + BiomeDictionary.registerBiomeType(Biomes.mysticGrove.get(), Type.MAGICAL); + BiomeDictionary.registerBiomeType(Biomes.oasis.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.ominousWoods.get(), Type.NETHER); + BiomeDictionary.registerBiomeType(Biomes.orchard.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.outback.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.pasture.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.prairie.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.promisedLand.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.quagmire.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.rainforest.get(), Type.JUNGLE); + BiomeDictionary.registerBiomeType(Biomes.redwoodForest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.savanna.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.sacredSprings.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.scrubland.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.seasonalForest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.shield.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.shrubland.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.snowyWoods.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.spruceWoods.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.swampwoods.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.temperateRainforest.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.thicket.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.tropicalRainforest.get(), Type.JUNGLE); + BiomeDictionary.registerBiomeType(Biomes.tropics.get(), Type.JUNGLE); + BiomeDictionary.registerBiomeType(Biomes.tundra.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.volcano.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.wasteland.get(), Type.WASTELAND); + BiomeDictionary.registerBiomeType(Biomes.wetland.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.woodland.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.plainsNew.get(), Type.PLAINS); + BiomeDictionary.registerBiomeType(Biomes.desertNew.get(), Type.DESERT); + BiomeDictionary.registerBiomeType(Biomes.forestNew.get(), Type.FOREST); + BiomeDictionary.registerBiomeType(Biomes.extremeHillsNew.get(), Type.HILLS, Type.MOUNTAIN); + BiomeDictionary.registerBiomeType(Biomes.taigaNew.get(), Type.FROZEN); + BiomeDictionary.registerBiomeType(Biomes.swamplandNew.get(), Type.SWAMP); + BiomeDictionary.registerBiomeType(Biomes.jungleNew.get(), Type.JUNGLE); //Spawning addSpawnBiome(Biomes.alps);