2013-05-03 13:00:44 +00:00
package biomesoplenty.configuration ;
import java.util.Collection ;
import java.util.HashSet ;
import java.util.Set ;
import net.minecraft.world.WorldType ;
import net.minecraft.world.biome.BiomeGenBase ;
2013-05-29 01:05:27 +00:00
import net.minecraftforge.common.BiomeDictionary ;
import net.minecraftforge.common.BiomeDictionary.Type ;
2013-05-03 13:00:44 +00:00
import net.minecraftforge.common.BiomeManager ;
import biomesoplenty.api.Biomes ;
2013-09-14 23:01:07 +00:00
import biomesoplenty.biomes.BiomeGenAlps ;
import biomesoplenty.biomes.BiomeGenAlpsBase ;
import biomesoplenty.biomes.BiomeGenAlpsForest ;
import biomesoplenty.biomes.BiomeGenArctic ;
import biomesoplenty.biomes.BiomeGenAutumnHills ;
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.BiomeGenBrushland ;
import biomesoplenty.biomes.BiomeGenCanyon ;
import biomesoplenty.biomes.BiomeGenCanyonRavine ;
import biomesoplenty.biomes.BiomeGenChaparral ;
import biomesoplenty.biomes.BiomeGenCherryBlossomGrove ;
import biomesoplenty.biomes.BiomeGenConiferousForest ;
import biomesoplenty.biomes.BiomeGenConiferousForestSnow ;
import biomesoplenty.biomes.BiomeGenCrag ;
import biomesoplenty.biomes.BiomeGenDeadForest ;
import biomesoplenty.biomes.BiomeGenDeadForestSnow ;
import biomesoplenty.biomes.BiomeGenDeadSwamp ;
import biomesoplenty.biomes.BiomeGenDeadlands ;
import biomesoplenty.biomes.BiomeGenDeciduousForest ;
import biomesoplenty.biomes.BiomeGenDunes ;
import biomesoplenty.biomes.BiomeGenFen ;
import biomesoplenty.biomes.BiomeGenField ;
import biomesoplenty.biomes.BiomeGenFieldForest ;
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.BiomeGenHotSprings ;
import biomesoplenty.biomes.BiomeGenIcyHills ;
import biomesoplenty.biomes.BiomeGenJadeCliffs ;
2013-09-20 02:07:20 +00:00
import biomesoplenty.biomes.BiomeGenLavenderFields ;
2013-09-14 23:01:07 +00:00
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.BiomeGenMeadowForest ;
import biomesoplenty.biomes.BiomeGenMesa ;
import biomesoplenty.biomes.BiomeGenMoor ;
import biomesoplenty.biomes.BiomeGenMountain ;
import biomesoplenty.biomes.BiomeGenMysticGrove ;
2013-11-05 01:25:39 +00:00
import biomesoplenty.biomes.BiomeGenMysticGroveThin ;
2013-09-14 23:01:07 +00:00
import biomesoplenty.biomes.BiomeGenOasis ;
import biomesoplenty.biomes.BiomeGenOminousWoods ;
import biomesoplenty.biomes.BiomeGenOminousWoodsThick ;
import biomesoplenty.biomes.BiomeGenOrchard ;
import biomesoplenty.biomes.BiomeGenOriginValley ;
import biomesoplenty.biomes.BiomeGenOutback ;
import biomesoplenty.biomes.BiomeGenOvergrownGreens ;
import biomesoplenty.biomes.BiomeGenPasture ;
import biomesoplenty.biomes.BiomeGenPastureMeadow ;
import biomesoplenty.biomes.BiomeGenPastureThin ;
import biomesoplenty.biomes.BiomeGenPolar ;
import biomesoplenty.biomes.BiomeGenPrairie ;
import biomesoplenty.biomes.BiomeGenQuagmire ;
import biomesoplenty.biomes.BiomeGenRainforest ;
import biomesoplenty.biomes.BiomeGenRedwoodForest ;
import biomesoplenty.biomes.BiomeGenSacredSprings ;
import biomesoplenty.biomes.BiomeGenSavanna ;
import biomesoplenty.biomes.BiomeGenSavannaPlateau ;
import biomesoplenty.biomes.BiomeGenScrubland ;
import biomesoplenty.biomes.BiomeGenSeasonalForest ;
import biomesoplenty.biomes.BiomeGenSeasonalSpruceForest ;
import biomesoplenty.biomes.BiomeGenShield ;
import biomesoplenty.biomes.BiomeGenShore ;
import biomesoplenty.biomes.BiomeGenShrubland ;
import biomesoplenty.biomes.BiomeGenShrublandForest ;
import biomesoplenty.biomes.BiomeGenSilkglades ;
import biomesoplenty.biomes.BiomeGenSludgepit ;
import biomesoplenty.biomes.BiomeGenSpruceWoods ;
import biomesoplenty.biomes.BiomeGenSteppe ;
import biomesoplenty.biomes.BiomeGenTemperateRainforest ;
import biomesoplenty.biomes.BiomeGenThicket ;
import biomesoplenty.biomes.BiomeGenTimber ;
import biomesoplenty.biomes.BiomeGenTimberThin ;
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 ;
2013-09-14 10:16:39 +00:00
import biomesoplenty.biomes.beach.BiomeGenBeachGravel ;
import biomesoplenty.biomes.beach.BiomeGenBeachOvergrown ;
import biomesoplenty.biomes.nether.BiomeGenNetherBase ;
2013-10-26 16:32:03 +00:00
import biomesoplenty.biomes.nether.BiomeGenNetherBlood ;
2013-09-14 10:16:39 +00:00
import biomesoplenty.biomes.nether.BiomeGenNetherBone ;
import biomesoplenty.biomes.nether.BiomeGenNetherDesert ;
import biomesoplenty.biomes.nether.BiomeGenNetherGarden ;
import biomesoplenty.biomes.nether.BiomeGenNetherLava ;
import biomesoplenty.biomes.ocean.BiomeGenOceanAbyss ;
import biomesoplenty.biomes.ocean.BiomeGenOceanCoral ;
import biomesoplenty.biomes.ocean.BiomeGenOceanKelp ;
import biomesoplenty.biomes.promisedland.BiomeGenPromisedLandForest ;
import biomesoplenty.biomes.promisedland.BiomeGenPromisedLandPlains ;
2013-11-14 07:50:25 +00:00
import biomesoplenty.biomes.promisedland.BiomeGenPromisedLandShrub ;
2013-09-14 10:16:39 +00:00
import biomesoplenty.biomes.promisedland.BiomeGenPromisedLandSwamp ;
import biomesoplenty.biomes.vanilla.BiomeGenDesertNew ;
import biomesoplenty.biomes.vanilla.BiomeGenForestNew ;
import biomesoplenty.biomes.vanilla.BiomeGenHillsNew ;
import biomesoplenty.biomes.vanilla.BiomeGenJungleNew ;
import biomesoplenty.biomes.vanilla.BiomeGenPlainsNew ;
import biomesoplenty.biomes.vanilla.BiomeGenSwampNew ;
import biomesoplenty.biomes.vanilla.BiomeGenTaigaNew ;
import biomesoplenty.configuration.configfile.BOPConfigurationBiomeGen ;
import biomesoplenty.configuration.configfile.BOPConfigurationIDs ;
import biomesoplenty.configuration.configfile.BOPConfigurationTerrainGen ;
2013-05-07 19:14:44 +00:00
import biomesoplenty.world.WorldTypeBOP ;
2013-05-29 01:05:27 +00:00
2013-05-03 13:00:44 +00:00
import com.google.common.base.Optional ;
import com.google.common.collect.ImmutableSet ;
import cpw.mods.fml.common.registry.GameRegistry ;
public class BOPBiomes {
2013-05-31 10:34:02 +00:00
2013-05-07 19:14:44 +00:00
public static WorldTypeBOP WTBiomesOP ;
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static final Set < WorldType > worldTypes = new HashSet ( ) ;
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
public static int getLastBiomeID ( )
{
int x ;
2013-08-03 00:07:43 +00:00
for ( x = 255 ; x > = 0 ; x - - )
{
2013-05-31 10:34:02 +00:00
if ( BiomeGenBase . biomeList [ x ] = = null )
2013-05-03 13:00:44 +00:00
{
break ;
}
}
return x ;
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
public static void init ( )
{
2013-05-31 10:34:02 +00:00
// Initialize biomes
2013-05-03 13:00:44 +00:00
initializeBiomes ( ) ;
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
//Initialize new world type
2013-11-05 00:26:15 +00:00
//WTBiomesOP = new WorldTypeBOP();
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
// Adding biomes to World Types
addBiomes ( ) ;
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . jungleHills ) ;
//Biome Dictionary
addToBiomeDictionary ( ) ;
//Spawning
addSpawnBiomes ( ) ;
2013-05-31 10:34:02 +00:00
//Village spawning
2013-05-03 13:00:44 +00:00
addVillageBiomes ( ) ;
//Stronghold spawning
addStrongholdBiomes ( ) ;
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
registerBiomes ( ) ;
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void initializeBiomes ( )
{
2013-11-10 21:23:34 +00:00
Biomes . alps = Optional . of ( ( new BiomeGenAlps ( BOPConfigurationIDs . alpsID ) ) . setColor ( 13421772 ) . setBiomeName ( " Alps " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) . setMinMaxHeight ( 2 . 0F , 3 . 0F ) ) ;
Biomes . alpsForest = Optional . of ( ( new BiomeGenAlpsForest ( BOPConfigurationIDs . alpsForestID ) ) . setColor ( 8034682 ) . setBiomeName ( " Alps Mountainside " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) . setMinMaxHeight ( 1 . 0F , 2 . 0F ) ) ;
Biomes . alpsBase = Optional . of ( ( new BiomeGenAlpsBase ( BOPConfigurationIDs . alpsBaseID ) ) . setColor ( 4888913 ) . setBiomeName ( " Alps Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 5F , 0 . 4F ) . setMinMaxHeight ( 0 . 2F , 0 . 5F ) ) ;
Biomes . arctic = Optional . of ( ( new BiomeGenArctic ( BOPConfigurationIDs . arcticID ) ) . setColor ( 14540253 ) . setBiomeName ( " Arctic " ) . setEnableSnow ( ) . setTemperatureRainfall ( 0 . 05F , 0 . 5F ) . setMinMaxHeight ( 0 . 2F , 0 . 2F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . autumnHills = Optional . of ( ( new BiomeGenAutumnHills ( BOPConfigurationIDs . autumnHillsID ) ) . setColor ( 12233056 ) . setBiomeName ( " Autumn Hills " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 5F , 0 . 8F ) . setTemperatureRainfall ( 0 . 5F , 0 . 2F ) ) ;
Biomes . badlands = Optional . of ( ( new BiomeGenBadlands ( BOPConfigurationIDs . badlandsID ) ) . setColor ( 9788226 ) . setBiomeName ( " Badlands " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 3F , 0 . 9F ) ) ;
Biomes . bambooForest = Optional . of ( ( new BiomeGenBambooForest ( BOPConfigurationIDs . bambooForestID ) ) . setColor ( 10739795 ) . setBiomeName ( " Bamboo Forest " ) . setMinMaxHeight ( 0 . 2F , 0 . 4F ) . setTemperatureRainfall ( 1 . 2F , 0 . 9F ) ) ;
Biomes . bayou = Optional . of ( ( new BiomeGenBayou ( BOPConfigurationIDs . bayouID ) ) . setColor ( 9154411 ) . setBiomeName ( " Bayou " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) . setTemperatureRainfall ( 0 . 5F , 0 . 9F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . beachGravel = Optional . of ( ( new BiomeGenBeachGravel ( BOPConfigurationIDs . beachGravelID ) ) . setColor ( 9210248 ) . setBiomeName ( " Gravel Beach " ) . setTemperatureRainfall ( 0 . 2F , 0 . 8F ) . setMinMaxHeight ( 0 . 0F , 0 . 1F ) ) ;
Biomes . beachOvergrown = Optional . of ( ( new BiomeGenBeachOvergrown ( BOPConfigurationIDs . beachOvergrownID ) ) . setColor ( 10200432 ) . setBiomeName ( " Overgrown Beach " ) . setTemperatureRainfall ( 0 . 8F , 0 . 5F ) . setMinMaxHeight ( 0 . 0F , 0 . 1F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . birchForest = Optional . of ( ( new BiomeGenBirchForest ( BOPConfigurationIDs . birchForestID ) ) . setColor ( 8431445 ) . setBiomeName ( " Birch Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 4F , 0 . 3F ) ) ;
Biomes . bog = Optional . of ( ( new BiomeGenBog ( BOPConfigurationIDs . bogID ) ) . setColor ( 14193503 ) . setBiomeName ( " Bog " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 3F , 0 . 3F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
Biomes . borealForest = Optional . of ( ( new BiomeGenBorealForest ( BOPConfigurationIDs . borealForestID ) ) . setColor ( 10467185 ) . setBiomeName ( " Boreal Forest " ) . func_76733_a ( 5159473 ) . setMinMaxHeight ( 0 . 2F , 1 . 0F ) . setTemperatureRainfall ( 0 . 6F , 0 . 7F ) ) ;
Biomes . brushland = Optional . of ( ( new BiomeGenBrushland ( BOPConfigurationIDs . brushlandID ) ) . setColor ( 13222271 ) . setBiomeName ( " Brushland " ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 3F , 0 . 3F ) ) ;
Biomes . canyon = Optional . of ( ( new BiomeGenCanyon ( BOPConfigurationIDs . canyonID ) ) . setColor ( 11836528 ) . setBiomeName ( " Canyon " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 1 . 5F , 2 . 0F ) ) ;
Biomes . canyonRavine = Optional . of ( ( new BiomeGenCanyonRavine ( BOPConfigurationIDs . canyonRavineID ) ) . setColor ( 9337689 ) . setBiomeName ( " Canyon Ravine " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . chaparral = Optional . of ( ( new BiomeGenChaparral ( BOPConfigurationIDs . chaparralID ) ) . setColor ( 12638301 ) . setBiomeName ( " Chaparral " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 0 . 3F , 0 . 6F ) ) ;
Biomes . cherryBlossomGrove = Optional . of ( ( new BiomeGenCherryBlossomGrove ( BOPConfigurationIDs . cherryBlossomGroveID ) ) . setColor ( 16289679 ) . setBiomeName ( " Cherry Blossom Grove " ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) ) ;
2013-11-16 06:20:57 +00:00
Biomes . coniferousForest = Optional . of ( ( new BiomeGenConiferousForest ( BOPConfigurationIDs . coniferousForestID ) ) . setColor ( 5410656 ) . setBiomeName ( " Coniferous Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 5F , 0 . 4F ) . setMinMaxHeight ( 0 . 4F , 0 . 9F ) ) ;
Biomes . coniferousForestSnow = Optional . of ( ( new BiomeGenConiferousForestSnow ( BOPConfigurationIDs . coniferousForestSnowID ) ) . setColor ( 16777215 ) . setBiomeName ( " Snowy Coniferous Forest " ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) . setMinMaxHeight ( 0 . 3F , 0 . 6F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . crag = Optional . of ( ( new BiomeGenCrag ( BOPConfigurationIDs . cragID ) ) . setColor ( 5209457 ) . setBiomeName ( " Crag " ) . setMinMaxHeight ( 2 . 0F , 3 . 0F ) . setTemperatureRainfall ( 0 . 4F , 0 . 2F ) ) ;
Biomes . deadForest = Optional . of ( ( new BiomeGenDeadForest ( BOPConfigurationIDs . deadForestID ) ) . setColor ( 12362085 ) . setBiomeName ( " Dead Forest " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 2F , 0 . 7F ) . setTemperatureRainfall ( 1 . 2F , 0 . 1F ) ) ;
Biomes . deadForestSnow = Optional . of ( ( new BiomeGenDeadForestSnow ( BOPConfigurationIDs . deadForestSnowID ) ) . setColor ( 16777215 ) . setBiomeName ( " Snowy Dead Forest " ) . func_76733_a ( 9154376 ) . setEnableSnow ( ) . setTemperatureRainfall ( 0 . 05F , 0 . 8F ) . setMinMaxHeight ( 0 . 2F , 0 . 7F ) ) ;
Biomes . deadSwamp = Optional . of ( ( new BiomeGenDeadSwamp ( BOPConfigurationIDs . deadSwampID ) ) . setColor ( 6713420 ) . setBiomeName ( " Dead Swamp " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 1F , 0 . 2F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
Biomes . deadlands = Optional . of ( ( new BiomeGenDeadlands ( BOPConfigurationIDs . deadlandsID ) ) . setColor ( 9849675 ) . setBiomeName ( " Deadlands " ) . setDisableRain ( ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 1F , 0 . 5F ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) ) ;
Biomes . deciduousForest = Optional . of ( ( new BiomeGenDeciduousForest ( BOPConfigurationIDs . deciduousForestID ) ) . setColor ( 12695369 ) . setBiomeName ( " Deciduous Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) ) ;
Biomes . dunes = Optional . of ( ( new BiomeGenDunes ( BOPConfigurationIDs . dunesID ) ) . setColor ( 15064744 ) . setBiomeName ( " Dunes " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 5F , 1 . 3F ) ) ;
Biomes . fen = Optional . of ( ( new BiomeGenFen ( BOPConfigurationIDs . fenID ) ) . setColor ( 12240001 ) . setBiomeName ( " Fen " ) . setTemperatureRainfall ( 0 . 4F , 0 . 4F ) . setMinMaxHeight ( 0 . 2F , 0 . 4F ) ) ;
Biomes . field = Optional . of ( ( new BiomeGenField ( BOPConfigurationIDs . fieldID ) ) . setColor ( 4044093 ) . setBiomeName ( " Field " ) . setTemperatureRainfall ( 0 . 6F , 0 . 7F ) . setMinMaxHeight ( 0 . 3F , 0 . 3F ) ) ;
Biomes . fieldForest = Optional . of ( ( new BiomeGenFieldForest ( BOPConfigurationIDs . fieldForestID ) ) . setColor ( 3380787 ) . setBiomeName ( " Forested Field " ) . setTemperatureRainfall ( 0 . 6F , 0 . 7F ) . setMinMaxHeight ( 0 . 3F , 0 . 3F ) ) ;
Biomes . frostForest = Optional . of ( ( new BiomeGenFrostForest ( BOPConfigurationIDs . frostForestID ) ) . setColor ( 11261628 ) . setBiomeName ( " Frost Forest " ) . setEnableSnow ( ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . fungiForest = Optional . of ( ( new BiomeGenFungiForest ( BOPConfigurationIDs . fungiForestID ) ) . setColor ( 15792496 ) . setBiomeName ( " Fungi Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 9F , 1 . 0F ) . setMinMaxHeight ( 0 . 2F , 0 . 5F ) ) ;
Biomes . garden = Optional . of ( ( new BiomeGenGarden ( BOPConfigurationIDs . gardenID ) ) . setColor ( 7656308 ) . setBiomeName ( " Garden " ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . glacier = Optional . of ( ( new BiomeGenGlacier ( BOPConfigurationIDs . glacierID ) ) . setColor ( 11582425 ) . setBiomeName ( " Glacier " ) . setEnableSnow ( ) . setMinMaxHeight ( 0 . 4F , 0 . 8F ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) ) ;
Biomes . grassland = Optional . of ( ( new BiomeGenGrassland ( BOPConfigurationIDs . grasslandID ) ) . setColor ( 8379261 ) . setBiomeName ( " Grassland " ) . setTemperatureRainfall ( 0 . 7F , 0 . 7F ) . setMinMaxHeight ( 0 . 2F , 0 . 5F ) ) ;
Biomes . grove = Optional . of ( ( new BiomeGenGrove ( BOPConfigurationIDs . groveID ) ) . setColor ( 5341009 ) . setBiomeName ( " Grove " ) . setTemperatureRainfall ( 0 . 4F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . heathland = Optional . of ( ( new BiomeGenHeathland ( BOPConfigurationIDs . heathlandID ) ) . setColor ( 13550967 ) . setBiomeName ( " Heathland " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 8F , 0 . 1F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . highland = Optional . of ( ( new BiomeGenHighland ( BOPConfigurationIDs . highlandID ) ) . setColor ( 8170854 ) . setBiomeName ( " Highland " ) . setMinMaxHeight ( 0 . 9F , 1 . 9F ) . setTemperatureRainfall ( 0 . 5F , 0 . 5F ) ) ;
2013-11-10 21:23:34 +00:00
Biomes . hotSprings = Optional . of ( ( new BiomeGenHotSprings ( BOPConfigurationIDs . hotSpringsID ) ) . setColor ( 9371647 ) . setBiomeName ( " Hot Springs " ) . setMinMaxHeight ( 0 . 2F , 0 . 5F ) . setTemperatureRainfall ( 0 . 5F , 0 . 7F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . icyHills = Optional . of ( ( new BiomeGenIcyHills ( BOPConfigurationIDs . icyHillsID ) ) . setColor ( 9355263 ) . setBiomeName ( " Icy Hills " ) . setEnableSnow ( ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) . setMinMaxHeight ( 0 . 3F , 0 . 8F ) ) ;
Biomes . jadeCliffs = Optional . of ( ( new BiomeGenJadeCliffs ( BOPConfigurationIDs . jadeCliffsID ) ) . setColor ( 9096298 ) . setBiomeName ( " Jade Cliffs " ) . setTemperatureRainfall ( 0 . 5F , 0 . 1F ) . setMinMaxHeight ( 0 . 5F , 1 . 5F ) ) ;
Biomes . lavenderFields = Optional . of ( ( new BiomeGenLavenderFields ( BOPConfigurationIDs . lavenderFieldsID ) ) . setColor ( 11035852 ) . setBiomeName ( " Lavender Fields " ) . setTemperatureRainfall ( 0 . 6F , 0 . 7F ) . setMinMaxHeight ( 0 . 3F , 0 . 3F ) ) ;
Biomes . lushDesert = Optional . of ( ( new BiomeGenLushDesert ( BOPConfigurationIDs . lushDesertID ) ) . setColor ( 9087277 ) . setBiomeName ( " Lush Desert " ) . setTemperatureRainfall ( 0 . 8F , 0 . 2F ) . setMinMaxHeight ( 0 . 2F , 0 . 9F ) ) ;
Biomes . lushSwamp = Optional . of ( ( new BiomeGenLushSwamp ( BOPConfigurationIDs . lushSwampID ) ) . setColor ( 5746228 ) . setBiomeName ( " Lush Swamp " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 2F , 0 . 3F ) . setTemperatureRainfall ( 0 . 7F , 1 . 0F ) ) ;
Biomes . mangrove = Optional . of ( ( new BiomeGenMangrove ( BOPConfigurationIDs . mangroveID ) ) . setColor ( 7251289 ) . setBiomeName ( " Mangrove " ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
Biomes . mapleWoods = Optional . of ( ( new BiomeGenMapleWoods ( BOPConfigurationIDs . mapleWoodsID ) ) . setColor ( 6988649 ) . setBiomeName ( " Maple Woods " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 2F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 6F ) ) ;
2013-11-10 21:23:34 +00:00
Biomes . marsh = Optional . of ( ( new BiomeGenMarsh ( BOPConfigurationIDs . marshID ) ) . setColor ( 6725742 ) . setBiomeName ( " Marsh " ) . setMinMaxHeight ( 0 . 2F , 0 . 2F ) . setTemperatureRainfall ( 0 . 5F , 0 . 9F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . meadow = Optional . of ( ( new BiomeGenMeadow ( BOPConfigurationIDs . meadowID ) ) . setColor ( 6533741 ) . setBiomeName ( " Meadow " ) . setTemperatureRainfall ( 0 . 7F , 0 . 7F ) ) ;
Biomes . meadowForest = Optional . of ( ( new BiomeGenMeadowForest ( BOPConfigurationIDs . meadowForestID ) ) . setColor ( 5543515 ) . setBiomeName ( " Meadow Forest " ) . setTemperatureRainfall ( 0 . 7F , 0 . 7F ) ) ;
Biomes . mesa = Optional . of ( ( new BiomeGenMesa ( BOPConfigurationIDs . mesaID ) ) . setColor ( 13067319 ) . setBiomeName ( " Mesa " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 4F , 2 . 0F ) ) ;
Biomes . moor = Optional . of ( ( new BiomeGenMoor ( BOPConfigurationIDs . moorID ) ) . setColor ( 6394725 ) . setBiomeName ( " Moor " ) . setTemperatureRainfall ( 0 . 5F , 1 . 0F ) . setMinMaxHeight ( 0 . 7F , 0 . 8F ) ) ;
Biomes . mountain = Optional . of ( ( new BiomeGenMountain ( BOPConfigurationIDs . mountainID ) ) . setColor ( 8430421 ) . setBiomeName ( " Mountain " ) . setTemperatureRainfall ( 0 . 5F , 0 . 1F ) . setMinMaxHeight ( 1 . 0F , 1 . 5F ) ) ;
Biomes . mysticGrove = Optional . of ( ( new BiomeGenMysticGrove ( BOPConfigurationIDs . mysticGroveID ) ) . setColor ( 6934491 ) . setBiomeName ( " Mystic Grove " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 9F , 1 . 0F ) . setMinMaxHeight ( 0 . 3F , 0 . 8F ) ) ;
Biomes . mysticGroveThin = Optional . of ( ( new BiomeGenMysticGroveThin ( BOPConfigurationIDs . mysticGroveThinID ) ) . setColor ( 5481645 ) . setBiomeName ( " Thinned Mystic Grove " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 9F , 1 . 0F ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) ) ;
2013-11-05 01:25:39 +00:00
2013-09-14 10:16:39 +00:00
Biomes . netherBase = Optional . of ( ( new BiomeGenNetherBase ( BOPConfigurationIDs . netherBaseID ) ) . setColor ( 16711680 ) . setBiomeName ( " Nether " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 0F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . netherGarden = Optional . of ( ( new BiomeGenNetherGarden ( BOPConfigurationIDs . netherGardenID ) ) . setColor ( 10331695 ) . setBiomeName ( " Undergarden " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 0F ) ) ;
Biomes . netherDesert = Optional . of ( ( new BiomeGenNetherDesert ( BOPConfigurationIDs . netherDesertID ) ) . setColor ( 7691854 ) . setBiomeName ( " Corrupted Sands " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 0F ) ) ;
Biomes . netherLava = Optional . of ( ( new BiomeGenNetherLava ( BOPConfigurationIDs . netherLavaID ) ) . setColor ( 14247446 ) . setBiomeName ( " Phantasmagoric Inferno " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 0F ) ) ;
Biomes . netherBone = Optional . of ( ( new BiomeGenNetherBone ( BOPConfigurationIDs . netherBoneID ) ) . setColor ( 15657658 ) . setBiomeName ( " Boneyard " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 0F ) ) ;
Biomes . netherBlood = Optional . of ( ( new BiomeGenNetherBlood ( BOPConfigurationIDs . netherBloodID ) ) . setColor ( 11091006 ) . setBiomeName ( " Bloody Heap " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 0F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . oasis = Optional . of ( ( new BiomeGenOasis ( BOPConfigurationIDs . oasisID ) ) . setColor ( 7712283 ) . setBiomeName ( " Oasis " ) . setTemperatureRainfall ( 0 . 9F , 0 . 7F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . oceanAbyss = Optional . of ( ( new BiomeGenOceanAbyss ( BOPConfigurationIDs . oceanAbyssID ) ) . setColor ( 53 ) . setBiomeName ( " Oceanic Abyss " ) . setMinMaxHeight ( - 1 . 65F , 0 . 0F ) . setTemperatureRainfall ( 0 . 5F , 0 . 9F ) ) ;
2013-11-10 21:32:54 +00:00
Biomes . oceanCoral = Optional . of ( ( new BiomeGenOceanCoral ( BOPConfigurationIDs . oceanCoralID ) ) . setColor ( 18285 ) . setBiomeName ( " Coral Reef " ) . setMinMaxHeight ( - 0 . 1F , 0 . 0F ) . setTemperatureRainfall ( 0 . 5F , 0 . 9F ) ) ;
Biomes . oceanKelp = Optional . of ( ( new BiomeGenOceanKelp ( BOPConfigurationIDs . oceanKelpID ) ) . setColor ( 27468 ) . setBiomeName ( " Kelp Forest " ) . setMinMaxHeight ( - 0 . 4F , - 0 . 1F ) . setTemperatureRainfall ( 0 . 5F , 0 . 9F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . ominousWoods = Optional . of ( ( new BiomeGenOminousWoods ( BOPConfigurationIDs . ominousWoodsID ) ) . setColor ( 4145489 ) . setBiomeName ( " Ominous Woods " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) ) ;
Biomes . ominousWoodsThick = Optional . of ( ( new BiomeGenOminousWoodsThick ( BOPConfigurationIDs . ominousWoodsThickID ) ) . setColor ( 2698037 ) . setBiomeName ( " Thick Ominous Woods " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) . setMinMaxHeight ( 0 . 4F , 0 . 8F ) ) ;
Biomes . orchard = Optional . of ( ( new BiomeGenOrchard ( BOPConfigurationIDs . orchardID ) ) . setColor ( 14024557 ) . setBiomeName ( " Orchard " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) ) ;
Biomes . originValley = Optional . of ( ( new BiomeGenOriginValley ( BOPConfigurationIDs . originValleyID ) ) . setColor ( 10341485 ) . setBiomeName ( " Origin Valley " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 2F , 0 . 6F ) ) ;
Biomes . outback = Optional . of ( ( new BiomeGenOutback ( BOPConfigurationIDs . outbackID ) ) . setColor ( 10843716 ) . setBiomeName ( " Outback " ) . setTemperatureRainfall ( 0 . 8F , 0 . 05F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . overgrownGreens = Optional . of ( ( new BiomeGenOvergrownGreens ( BOPConfigurationIDs . overgrownGreensID ) ) . setColor ( 11992926 ) . setBiomeName ( " Overgrown Greens " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 8F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . pasture = Optional . of ( ( new BiomeGenPasture ( BOPConfigurationIDs . pastureID ) ) . setColor ( 16176475 ) . setBiomeName ( " Pasture " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . pastureMeadow = Optional . of ( ( new BiomeGenPastureMeadow ( BOPConfigurationIDs . pastureMeadowID ) ) . setColor ( 13166666 ) . setBiomeName ( " Pasture Meadow " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . pastureThin = Optional . of ( ( new BiomeGenPastureThin ( BOPConfigurationIDs . pastureThinID ) ) . setColor ( 16249445 ) . setBiomeName ( " Thinned Pasture " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . polar = Optional . of ( ( new BiomeGenPolar ( BOPConfigurationIDs . polarID ) ) . setColor ( 7842303 ) . setBiomeName ( " Polar " ) . setMinMaxHeight ( - 0 . 5F , 0 . 0F ) . setTemperatureRainfall ( 0 . 0F , 0 . 5F ) ) ;
Biomes . prairie = Optional . of ( ( new BiomeGenPrairie ( BOPConfigurationIDs . prairieID ) ) . setColor ( 13165952 ) . setBiomeName ( " Prairie " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 9F , 0 . 6F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . promisedLandForest = Optional . of ( ( new BiomeGenPromisedLandForest ( BOPConfigurationIDs . promisedLandForestID ) ) . setColor ( 7925125 ) . setBiomeName ( " Wonderous Woods " ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 1F , 2 . 0F ) ) ;
Biomes . promisedLandPlains = Optional . of ( ( new BiomeGenPromisedLandPlains ( BOPConfigurationIDs . promisedLandPlainsID ) ) . setColor ( 13433204 ) . setBiomeName ( " Majestic Meadow " ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 1F , 2 . 0F ) ) ;
2013-11-14 07:50:25 +00:00
Biomes . promisedLandShrub = Optional . of ( ( new BiomeGenPromisedLandShrub ( BOPConfigurationIDs . promisedLandShrubID ) ) . setColor ( 13433204 ) . setBiomeName ( " Sublime Shrubland " ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 1F , 2 . 0F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . promisedLandSwamp = Optional . of ( ( new BiomeGenPromisedLandSwamp ( BOPConfigurationIDs . promisedLandSwampID ) ) . setColor ( 3447145 ) . setBiomeName ( " Blessed Bog " ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 1F , 2 . 0F ) ) ;
2013-09-14 10:16:39 +00:00
2013-11-10 21:05:51 +00:00
Biomes . quagmire = Optional . of ( ( new BiomeGenQuagmire ( BOPConfigurationIDs . quagmireID ) ) . setColor ( 5257771 ) . setBiomeName ( " Quagmire " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 2F , 0 . 3F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
2013-11-16 06:20:57 +00:00
Biomes . rainforest = Optional . of ( ( new BiomeGenRainforest ( BOPConfigurationIDs . rainforestID ) ) . setColor ( 1368687 ) . setBiomeName ( " Rainforest " ) . func_76733_a ( 5470985 ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 2F , 1 . 8F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . redwoodForest = Optional . of ( ( new BiomeGenRedwoodForest ( BOPConfigurationIDs . redwoodForestID ) ) . setColor ( 7187004 ) . setBiomeName ( " Redwood Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . sacredSprings = Optional . of ( ( new BiomeGenSacredSprings ( BOPConfigurationIDs . sacredSpringsID ) ) . setColor ( 39259 ) . setBiomeName ( " Sacred Springs " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 4F , 1 . 2F ) . setTemperatureRainfall ( 1 . 2F , 0 . 9F ) ) ;
Biomes . savanna = Optional . of ( ( new BiomeGenSavanna ( BOPConfigurationIDs . savannaID ) ) . setColor ( 10528298 ) . setBiomeName ( " Savanna " ) . setTemperatureRainfall ( 1 . 5F , 0 . 1F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . savannaPlateau = Optional . of ( ( new BiomeGenSavannaPlateau ( BOPConfigurationIDs . savannaPlateauID ) ) . setColor ( 12106801 ) . setBiomeName ( " Savanna Plateau " ) . setTemperatureRainfall ( 1 . 5F , 0 . 1F ) . setMinMaxHeight ( 0 . 9F , 0 . 9F ) ) ;
Biomes . scrubland = Optional . of ( ( new BiomeGenScrubland ( BOPConfigurationIDs . scrublandID ) ) . setColor ( 11445290 ) . setBiomeName ( " Scrubland " ) . setTemperatureRainfall ( 1 . 2F , 0 . 05F ) . setMinMaxHeight ( 0 . 3F , 0 . 5F ) ) ;
Biomes . seasonalForest = Optional . of ( ( new BiomeGenSeasonalForest ( BOPConfigurationIDs . seasonalForestID ) ) . setColor ( 12502092 ) . setBiomeName ( " Seasonal Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 7F ) ) ;
2013-11-10 21:23:34 +00:00
Biomes . seasonalSpruceForest = Optional . of ( ( new BiomeGenSeasonalSpruceForest ( BOPConfigurationIDs . seasonalSpruceForestID ) ) . setColor ( 10067517 ) . setBiomeName ( " Seasonal Spruce Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 6F , 0 . 9F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . shield = Optional . of ( ( new BiomeGenShield ( BOPConfigurationIDs . shieldID ) ) . setColor ( 6586168 ) . setBiomeName ( " Shield " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) . setTemperatureRainfall ( 0 . 5F , 0 . 8F ) ) ;
2013-09-14 10:16:39 +00:00
Biomes . shore = Optional . of ( ( new BiomeGenShore ( BOPConfigurationIDs . shoreID ) ) . setColor ( 9286496 ) . setBiomeName ( " Shore " ) . setMinMaxHeight ( - 1 . 0F , 0 . 4F ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . shrubland = Optional . of ( ( new BiomeGenShrubland ( BOPConfigurationIDs . shrublandID ) ) . setColor ( 8168286 ) . setBiomeName ( " Shrubland " ) . setMinMaxHeight ( 0 . 2F , 0 . 2F ) . setTemperatureRainfall ( 0 . 6F , 0 . 05F ) ) ;
Biomes . shrublandForest = Optional . of ( ( new BiomeGenShrublandForest ( BOPConfigurationIDs . shrublandForestID ) ) . setColor ( 6916431 ) . setBiomeName ( " Thick Shrubland " ) . setMinMaxHeight ( 0 . 2F , 0 . 2F ) . setTemperatureRainfall ( 0 . 6F , 0 . 05F ) ) ;
Biomes . silkglades = Optional . of ( ( new BiomeGenSilkglades ( BOPConfigurationIDs . silkgladesID ) ) . setColor ( 13420973 ) . setBiomeName ( " Silkglades " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 3F , 0 . 3F ) . setTemperatureRainfall ( 0 . 5F , 0 . 9F ) ) ;
Biomes . sludgepit = Optional . of ( ( new BiomeGenSludgepit ( BOPConfigurationIDs . sludgepitID ) ) . setColor ( 7627817 ) . setBiomeName ( " Sludgepit " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
Biomes . spruceWoods = Optional . of ( ( new BiomeGenSpruceWoods ( BOPConfigurationIDs . spruceWoodsID ) ) . setColor ( 6396257 ) . setBiomeName ( " Spruce Woods " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 6F , 0 . 7F ) ) ;
Biomes . steppe = Optional . of ( ( new BiomeGenSteppe ( BOPConfigurationIDs . steppeID ) ) . setColor ( 13413215 ) . setBiomeName ( " Steppe " ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
2013-11-16 06:20:57 +00:00
Biomes . temperateRainforest = Optional . of ( ( new BiomeGenTemperateRainforest ( BOPConfigurationIDs . temperateRainforestID ) ) . setColor ( 12311907 ) . setBiomeName ( " Temperate Rainforest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 2F , 0 . 6F ) ) ;
2013-11-10 21:05:51 +00:00
Biomes . thicket = Optional . of ( ( new BiomeGenThicket ( BOPConfigurationIDs . thicketID ) ) . setColor ( 7248193 ) . setBiomeName ( " Thicket " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 6F , 0 . 2F ) . setMinMaxHeight ( 0 . 2F , 0 . 2F ) ) ;
Biomes . timber = Optional . of ( ( new BiomeGenTimber ( BOPConfigurationIDs . timberID ) ) . setColor ( 10923366 ) . setBiomeName ( " Timber " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . timberThin = Optional . of ( ( new BiomeGenTimberThin ( BOPConfigurationIDs . timberThinID ) ) . setColor ( 12304754 ) . setBiomeName ( " Thinned Timber " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . tropicalRainforest = Optional . of ( ( new BiomeGenTropicalRainforest ( BOPConfigurationIDs . tropicalRainforestID ) ) . setColor ( 8970560 ) . setBiomeName ( " Tropical Rainforest " ) . setTemperatureRainfall ( 1 . 2F , 0 . 9F ) . setMinMaxHeight ( 0 . 3F , 0 . 7F ) ) ;
2013-09-19 22:18:50 +00:00
2013-11-10 21:05:51 +00:00
Biomes . tropics = Optional . of ( ( new BiomeGenTropics ( BOPConfigurationIDs . tropicsID ) ) . setColor ( 2211330 ) . setBiomeName ( " Tropics " ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 0F , 0 . 4F ) ) ;
Biomes . tropicsMountain = Optional . of ( ( new BiomeGenTropics ( BOPConfigurationIDs . tropicsMountainID ) ) . setColor ( 2544388 ) . setBiomeName ( " Tropics Mountain " ) . setTemperatureRainfall ( 2 . 0F , 2 . 0F ) . setMinMaxHeight ( 0 . 7F , 1 . 2F ) ) ;
2013-09-19 22:18:50 +00:00
2013-11-10 21:05:51 +00:00
Biomes . tundra = Optional . of ( ( new BiomeGenTundra ( BOPConfigurationIDs . tundraID ) ) . setColor ( 11371606 ) . setBiomeName ( " Tundra " ) . setTemperatureRainfall ( 0 . 2F , 0 . 8F ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) ) ;
Biomes . volcano = Optional . of ( ( new BiomeGenVolcano ( BOPConfigurationIDs . volcanoID ) ) . setColor ( 6645093 ) . setBiomeName ( " Volcano " ) . setDisableRain ( ) . setMinMaxHeight ( 0 . 6F , 1 . 2F ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) ) ;
Biomes . wasteland = Optional . of ( ( new BiomeGenWasteland ( BOPConfigurationIDs . wastelandID ) ) . setColor ( 5919808 ) . setBiomeName ( " Wasteland " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 3F , 0 . 4F ) ) ;
Biomes . wetland = Optional . of ( ( new BiomeGenWetland ( BOPConfigurationIDs . wetlandID ) ) . setColor ( 5215831 ) . setBiomeName ( " Wetland " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 3F , 0 . 5F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
Biomes . woodland = Optional . of ( ( new BiomeGenWoodland ( BOPConfigurationIDs . woodlandID ) ) . setColor ( 8694061 ) . setBiomeName ( " Woodland " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 1 . 7F , 0 . 2F ) . setMinMaxHeight ( 0 . 3F , 0 . 7F ) ) ;
2013-09-14 10:16:39 +00:00
Biomes . plainsNew = Optional . of ( ( new BiomeGenPlainsNew ( BOPConfigurationIDs . plainsNewID ) ) . setColor ( 9286496 ) . setBiomeName ( " Plains " ) . setTemperatureRainfall ( 0 . 8F , 0 . 4F ) ) ;
2013-08-09 21:57:27 +00:00
2013-09-14 10:16:39 +00:00
Biomes . desertNew = Optional . of ( ( new BiomeGenDesertNew ( BOPConfigurationIDs . desertNewID ) ) . setColor ( 16421912 ) . setBiomeName ( " Desert " ) . setDisableRain ( ) . setTemperatureRainfall ( 2 . 0F , 0 . 05F ) . setMinMaxHeight ( 0 . 2F , 0 . 3F ) ) ;
2013-08-09 21:57:27 +00:00
2013-09-14 10:16:39 +00:00
Biomes . extremeHillsNew = Optional . of ( ( new BiomeGenHillsNew ( BOPConfigurationIDs . extremeHillsNewID ) ) . setColor ( 6316128 ) . setBiomeName ( " Extreme Hills " ) . setMinMaxHeight ( 1 . 0F , 2 . 0F ) . setTemperatureRainfall ( 0 . 2F , 0 . 3F ) ) ;
2013-08-09 21:57:27 +00:00
2013-09-14 10:16:39 +00:00
Biomes . forestNew = Optional . of ( ( new BiomeGenForestNew ( BOPConfigurationIDs . forestNewID ) ) . setColor ( 353825 ) . setBiomeName ( " Forest " ) . func_76733_a ( 5159473 ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) ) ;
Biomes . forestHillsNew = Optional . of ( ( new BiomeGenForestNew ( BOPConfigurationIDs . forestHillsNewID ) ) . setColor ( 353825 ) . setBiomeName ( " ForestHills " ) . func_76733_a ( 5159473 ) . setMinMaxHeight ( 0 . 8F , 1 . 0F ) . setTemperatureRainfall ( 0 . 7F , 0 . 8F ) ) ;
2013-08-09 21:57:27 +00:00
2013-09-14 10:16:39 +00:00
Biomes . taigaNew = Optional . of ( ( new BiomeGenTaigaNew ( BOPConfigurationIDs . taigaNewID ) ) . setColor ( 747097 ) . setBiomeName ( " Taiga " ) . func_76733_a ( 5159473 ) . setEnableSnow ( ) . setTemperatureRainfall ( 0 . 05F , 0 . 8F ) . setMinMaxHeight ( 0 . 3F , 0 . 5F ) ) ;
Biomes . taigaHillsNew = Optional . of ( ( new BiomeGenTaigaNew ( BOPConfigurationIDs . taigaHillsNewID ) ) . setColor ( 747097 ) . setBiomeName ( " TaigaHills " ) . func_76733_a ( 5159473 ) . setEnableSnow ( ) . setTemperatureRainfall ( 0 . 05F , 0 . 8F ) . setMinMaxHeight ( 0 . 8F , 1 . 0F ) ) ;
2013-08-09 21:57:27 +00:00
2013-09-14 10:16:39 +00:00
Biomes . swamplandNew = Optional . of ( ( new BiomeGenSwampNew ( BOPConfigurationIDs . swamplandNewID ) ) . setColor ( 522674 ) . setBiomeName ( " Swampland " ) . func_76733_a ( 9154376 ) . setMinMaxHeight ( 0 . 1F , 0 . 3F ) . setTemperatureRainfall ( 0 . 8F , 0 . 9F ) ) ;
2013-08-09 21:57:27 +00:00
2013-09-14 10:16:39 +00:00
Biomes . jungleNew = Optional . of ( ( new BiomeGenJungleNew ( BOPConfigurationIDs . jungleNewID ) ) . setColor ( 5470985 ) . setBiomeName ( " Jungle " ) . func_76733_a ( 5470985 ) . setTemperatureRainfall ( 1 . 2F , 0 . 9F ) . setMinMaxHeight ( 0 . 4F , 0 . 5F ) ) ;
Biomes . jungleHillsNew = Optional . of ( ( new BiomeGenJungleNew ( BOPConfigurationIDs . jungleHillsNewID ) ) . setColor ( 5470985 ) . setBiomeName ( " JungleHills " ) . func_76733_a ( 5470985 ) . setTemperatureRainfall ( 1 . 2F , 0 . 9F ) . setMinMaxHeight ( 0 . 9F , 1 . 2F ) ) ;
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void addToBiomeDictionary ( )
{
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . alps . get ( ) , Type . FROZEN , Type . MOUNTAIN ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . alpsBase . get ( ) , Type . FROZEN , Type . MOUNTAIN , Type . FOREST ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . alpsForest . get ( ) , Type . FROZEN , Type . MOUNTAIN ) ;
2013-05-23 20:22:58 +00:00
BiomeDictionary . registerBiomeType ( Biomes . arctic . get ( ) , Type . FROZEN , Type . WASTELAND ) ;
2013-09-10 12:58:26 +00:00
BiomeDictionary . registerBiomeType ( Biomes . autumnHills . get ( ) , Type . FOREST , Type . HILLS ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . badlands . get ( ) , Type . DESERT , Type . WASTELAND ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . bambooForest . get ( ) , Type . JUNGLE , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . bayou . get ( ) , Type . SWAMP , Type . WATER ) ;
2013-05-31 10:34:02 +00:00
2013-05-24 15:45:47 +00:00
BiomeDictionary . registerBiomeType ( Biomes . beachGravel . get ( ) , Type . BEACH ) ;
BiomeDictionary . registerBiomeType ( Biomes . beachOvergrown . get ( ) , Type . BEACH , Type . FOREST ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . birchForest . get ( ) , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . bog . get ( ) , Type . SWAMP , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . borealForest . get ( ) , Type . FOREST ) ;
2013-05-24 14:36:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . brushland . get ( ) , Type . DESERT , Type . FOREST , Type . PLAINS ) ;
2013-07-30 09:11:32 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . canyon . get ( ) , Type . DESERT , Type . MOUNTAIN , Type . HILLS ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . canyonRavine . get ( ) , Type . DESERT , Type . HILLS ) ;
2013-07-30 09:11:32 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . chaparral . get ( ) , Type . PLAINS ) ;
BiomeDictionary . registerBiomeType ( Biomes . cherryBlossomGrove . get ( ) , Type . MAGICAL , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . coniferousForest . get ( ) , Type . FOREST , Type . HILLS ) ;
2013-05-23 20:22:58 +00:00
BiomeDictionary . registerBiomeType ( Biomes . coniferousForestSnow . get ( ) , Type . FROZEN , Type . FOREST , Type . HILLS ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . crag . get ( ) , Type . WASTELAND , Type . MOUNTAIN ) ;
BiomeDictionary . registerBiomeType ( Biomes . deadForest . get ( ) , Type . FOREST ) ;
2013-05-23 20:22:58 +00:00
BiomeDictionary . registerBiomeType ( Biomes . deadForestSnow . get ( ) , Type . FOREST , Type . FROZEN ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . deadlands . get ( ) , Type . WASTELAND ) ;
BiomeDictionary . registerBiomeType ( Biomes . deadSwamp . get ( ) , Type . SWAMP ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . deciduousForest . get ( ) , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . dunes . get ( ) , Type . BEACH , Type . DESERT , Type . HILLS ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . fen . get ( ) , Type . FOREST , Type . SWAMP ) ;
BiomeDictionary . registerBiomeType ( Biomes . field . get ( ) , Type . PLAINS ) ;
2013-07-30 21:39:46 +00:00
BiomeDictionary . registerBiomeType ( Biomes . fieldForest . get ( ) , Type . PLAINS , Type . FOREST ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . frostForest . get ( ) , Type . FROZEN , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . fungiForest . get ( ) , Type . MAGICAL , Type . MUSHROOM , Type . FOREST , Type . SWAMP ) ;
BiomeDictionary . registerBiomeType ( Biomes . garden . get ( ) , Type . MAGICAL , Type . PLAINS ) ;
BiomeDictionary . registerBiomeType ( Biomes . glacier . get ( ) , Type . FROZEN , Type . HILLS ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . grassland . get ( ) , Type . PLAINS , Type . SWAMP , Type . HILLS ) ;
BiomeDictionary . registerBiomeType ( Biomes . grove . get ( ) , Type . FOREST , Type . PLAINS ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . heathland . get ( ) , Type . PLAINS ) ;
BiomeDictionary . registerBiomeType ( Biomes . highland . get ( ) , Type . HILLS , Type . MOUNTAIN ) ;
2013-05-26 19:36:28 +00:00
BiomeDictionary . registerBiomeType ( Biomes . hotSprings . get ( ) , Type . HILLS , Type . FOREST , Type . WATER ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . icyHills . get ( ) , Type . FROZEN , Type . HILLS ) ;
BiomeDictionary . registerBiomeType ( Biomes . jadeCliffs . get ( ) , Type . FOREST , Type . MOUNTAIN ) ;
2013-09-20 02:07:20 +00:00
BiomeDictionary . registerBiomeType ( Biomes . lavenderFields . get ( ) , Type . PLAINS ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . lushDesert . get ( ) , Type . DESERT , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . lushSwamp . get ( ) , Type . SWAMP , Type . WATER ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . mangrove . get ( ) , Type . WATER , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . mapleWoods . get ( ) , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . marsh . get ( ) , Type . SWAMP , Type . WATER ) ;
2013-07-30 09:11:32 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . meadow . get ( ) , Type . FOREST , Type . PLAINS ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . meadowForest . get ( ) , Type . FOREST , Type . PLAINS ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . mesa . get ( ) , Type . DESERT , Type . WASTELAND , Type . MOUNTAIN ) ;
BiomeDictionary . registerBiomeType ( Biomes . moor . get ( ) , Type . HILLS , Type . SWAMP ) ;
2013-09-07 13:09:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . mountain . get ( ) , Type . MOUNTAIN ) ;
2013-11-05 01:25:39 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . mysticGrove . get ( ) , Type . MAGICAL , Type . FOREST ) ;
2013-11-05 01:25:39 +00:00
BiomeDictionary . registerBiomeType ( Biomes . mysticGroveThin . get ( ) , Type . MAGICAL , Type . FOREST ) ;
2013-05-31 10:34:02 +00:00
2013-05-24 14:36:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . netherBase . get ( ) , Type . NETHER ) ;
2013-10-27 18:21:13 +00:00
BiomeDictionary . registerBiomeType ( Biomes . netherGarden . get ( ) , Type . NETHER , Type . JUNGLE ) ;
2013-05-18 14:37:05 +00:00
BiomeDictionary . registerBiomeType ( Biomes . netherDesert . get ( ) , Type . NETHER , Type . DESERT ) ;
BiomeDictionary . registerBiomeType ( Biomes . netherLava . get ( ) , Type . NETHER ) ;
2013-05-23 20:22:58 +00:00
BiomeDictionary . registerBiomeType ( Biomes . netherBone . get ( ) , Type . NETHER , Type . WASTELAND ) ;
2013-10-27 18:21:13 +00:00
BiomeDictionary . registerBiomeType ( Biomes . netherBlood . get ( ) , Type . NETHER ) ;
2013-05-31 10:34:02 +00:00
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . oasis . get ( ) , Type . DESERT , Type . JUNGLE ) ;
2013-05-31 10:34:02 +00:00
2013-09-13 02:27:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . oceanAbyss . get ( ) , Type . WATER ) ;
2013-05-24 17:54:27 +00:00
BiomeDictionary . registerBiomeType ( Biomes . oceanCoral . get ( ) , Type . WATER ) ;
BiomeDictionary . registerBiomeType ( Biomes . oceanKelp . get ( ) , Type . WATER , Type . FOREST ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . ominousWoods . get ( ) , Type . MAGICAL ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . ominousWoodsThick . get ( ) , Type . MAGICAL ) ;
2013-09-07 13:09:02 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . orchard . get ( ) , Type . FOREST , Type . PLAINS ) ;
BiomeDictionary . registerBiomeType ( Biomes . outback . get ( ) , Type . DESERT , Type . PLAINS ) ;
2013-08-10 07:03:21 +00:00
BiomeDictionary . registerBiomeType ( Biomes . overgrownGreens . get ( ) , Type . JUNGLE , Type . PLAINS ) ;
2013-07-30 09:11:32 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . pasture . get ( ) , Type . PLAINS ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . pastureThin . get ( ) , Type . PLAINS ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . pastureMeadow . get ( ) , Type . PLAINS , Type . FOREST ) ;
2013-07-30 09:11:32 +00:00
2013-05-07 14:19:54 +00:00
BiomeDictionary . registerBiomeType ( Biomes . polar . get ( ) , Type . FROZEN , Type . WATER ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . prairie . get ( ) , Type . PLAINS ) ;
BiomeDictionary . registerBiomeType ( Biomes . promisedLandForest . get ( ) , Type . FOREST , Type . MAGICAL ) ;
2013-05-09 07:00:09 +00:00
BiomeDictionary . registerBiomeType ( Biomes . promisedLandPlains . get ( ) , Type . PLAINS , Type . MAGICAL ) ;
2013-11-14 07:50:25 +00:00
BiomeDictionary . registerBiomeType ( Biomes . promisedLandShrub . get ( ) , Type . PLAINS , Type . FOREST , Type . MAGICAL ) ;
2013-05-09 07:00:09 +00:00
BiomeDictionary . registerBiomeType ( Biomes . promisedLandSwamp . get ( ) , Type . SWAMP , Type . MAGICAL ) ;
2013-05-31 10:34:02 +00:00
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . quagmire . get ( ) , Type . WASTELAND , Type . SWAMP ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . rainforest . get ( ) , Type . JUNGLE , Type . HILLS , Type . FOREST ) ;
BiomeDictionary . registerBiomeType ( Biomes . redwoodForest . get ( ) , Type . FOREST ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . sacredSprings . get ( ) , Type . MOUNTAIN , Type . FOREST , Type . MAGICAL ) ;
2013-07-31 20:05:09 +00:00
BiomeDictionary . registerBiomeType ( Biomes . savanna . get ( ) , Type . DESERT , Type . PLAINS ) ;
BiomeDictionary . registerBiomeType ( Biomes . savannaPlateau . get ( ) , Type . DESERT , Type . PLAINS , Type . HILLS ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . scrubland . get ( ) , Type . DESERT , Type . PLAINS ) ;
2013-07-30 09:11:32 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . seasonalForest . get ( ) , Type . FOREST ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . seasonalSpruceForest . get ( ) , Type . FOREST ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . shield . get ( ) , Type . FOREST , Type . WATER ) ;
2013-07-30 09:11:32 +00:00
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . shrubland . get ( ) , Type . PLAINS ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . shrublandForest . get ( ) , Type . PLAINS ) ;
2013-08-08 22:54:45 +00:00
BiomeDictionary . registerBiomeType ( Biomes . silkglades . get ( ) , Type . SWAMP , Type . WASTELAND ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . sludgepit . get ( ) , Type . SWAMP , Type . FOREST , Type . WASTELAND ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . spruceWoods . get ( ) , Type . FOREST ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . steppe . get ( ) , Type . PLAINS , Type . DESERT ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . temperateRainforest . get ( ) , Type . FOREST , Type . HILLS ) ;
BiomeDictionary . registerBiomeType ( Biomes . thicket . get ( ) , Type . PLAINS , Type . FOREST ) ;
2013-07-30 09:11:32 +00:00
2013-05-24 21:41:13 +00:00
BiomeDictionary . registerBiomeType ( Biomes . timber . get ( ) , Type . FOREST ) ;
2013-07-30 09:11:32 +00:00
BiomeDictionary . registerBiomeType ( Biomes . timberThin . get ( ) , Type . FOREST ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . tropicalRainforest . get ( ) , Type . JUNGLE ) ;
2013-09-19 22:18:50 +00:00
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . tropics . get ( ) , Type . JUNGLE , Type . WATER ) ;
2013-09-19 22:18:50 +00:00
BiomeDictionary . registerBiomeType ( Biomes . tropicsMountain . get ( ) , Type . JUNGLE , Type . WATER ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . tundra . get ( ) , Type . FROZEN , Type . WASTELAND ) ;
BiomeDictionary . registerBiomeType ( Biomes . volcano . get ( ) , Type . WASTELAND , Type . MOUNTAIN ) ;
BiomeDictionary . registerBiomeType ( Biomes . wasteland . get ( ) , Type . WASTELAND ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . wetland . get ( ) , Type . SWAMP , Type . FOREST ) ;
2013-05-31 10:34:02 +00:00
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 ) ;
2013-08-09 21:57:27 +00:00
BiomeDictionary . registerBiomeType ( Biomes . forestHillsNew . get ( ) , Type . FOREST , Type . HILLS ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . extremeHillsNew . get ( ) , Type . HILLS , Type . MOUNTAIN ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . taigaNew . get ( ) , Type . FROZEN , Type . FOREST ) ;
2013-08-09 21:57:27 +00:00
BiomeDictionary . registerBiomeType ( Biomes . taigaHillsNew . get ( ) , Type . FROZEN , Type . FOREST , Type . HILLS ) ;
2013-08-09 19:34:00 +00:00
BiomeDictionary . registerBiomeType ( Biomes . swamplandNew . get ( ) , Type . SWAMP , Type . WATER ) ;
2013-05-31 10:34:02 +00:00
BiomeDictionary . registerBiomeType ( Biomes . jungleNew . get ( ) , Type . JUNGLE ) ;
2013-08-09 21:57:27 +00:00
BiomeDictionary . registerBiomeType ( Biomes . jungleHillsNew . get ( ) , Type . JUNGLE , Type . HILLS ) ;
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void addSpawnBiomes ( )
{
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . alps ) ;
addSpawnBiome ( Biomes . arctic ) ;
2013-09-10 12:58:26 +00:00
addSpawnBiome ( Biomes . autumnHills ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . badlands ) ;
addSpawnBiome ( Biomes . bambooForest ) ;
addSpawnBiome ( Biomes . bayou ) ;
addSpawnBiome ( Biomes . birchForest ) ;
addSpawnBiome ( Biomes . bog ) ;
addSpawnBiome ( Biomes . borealForest ) ;
2013-05-24 14:36:00 +00:00
addSpawnBiome ( Biomes . brushland ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . canyon ) ;
addSpawnBiome ( Biomes . chaparral ) ;
addSpawnBiome ( Biomes . cherryBlossomGrove ) ;
addSpawnBiome ( Biomes . coniferousForest ) ;
2013-05-23 20:22:58 +00:00
addSpawnBiome ( Biomes . coniferousForestSnow ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . deadForest ) ;
2013-05-23 20:22:58 +00:00
addSpawnBiome ( Biomes . deadForestSnow ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . deadSwamp ) ;
addSpawnBiome ( Biomes . deciduousForest ) ;
addSpawnBiome ( Biomes . dunes ) ;
addSpawnBiome ( Biomes . fen ) ;
addSpawnBiome ( Biomes . field ) ;
addSpawnBiome ( Biomes . frostForest ) ;
addSpawnBiome ( Biomes . glacier ) ;
addSpawnBiome ( Biomes . grassland ) ;
addSpawnBiome ( Biomes . grove ) ;
addSpawnBiome ( Biomes . heathland ) ;
addSpawnBiome ( Biomes . highland ) ;
addSpawnBiome ( Biomes . jadeCliffs ) ;
2013-09-20 02:07:20 +00:00
addSpawnBiome ( Biomes . lavenderFields ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . lushDesert ) ;
addSpawnBiome ( Biomes . lushSwamp ) ;
addSpawnBiome ( Biomes . mangrove ) ;
addSpawnBiome ( Biomes . mapleWoods ) ;
addSpawnBiome ( Biomes . marsh ) ;
addSpawnBiome ( Biomes . meadow ) ;
addSpawnBiome ( Biomes . mesa ) ;
addSpawnBiome ( Biomes . moor ) ;
addSpawnBiome ( Biomes . mountain ) ;
addSpawnBiome ( Biomes . oasis ) ;
addSpawnBiome ( Biomes . outback ) ;
addSpawnBiome ( Biomes . pasture ) ;
2013-05-07 14:19:54 +00:00
addSpawnBiome ( Biomes . polar ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . prairie ) ;
addSpawnBiome ( Biomes . quagmire ) ;
addSpawnBiome ( Biomes . rainforest ) ;
addSpawnBiome ( Biomes . redwoodForest ) ;
addSpawnBiome ( Biomes . savanna ) ;
addSpawnBiome ( Biomes . scrubland ) ;
addSpawnBiome ( Biomes . seasonalForest ) ;
addSpawnBiome ( Biomes . shield ) ;
addSpawnBiome ( Biomes . shrubland ) ;
2013-05-24 17:54:27 +00:00
addSpawnBiome ( Biomes . sludgepit ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . spruceWoods ) ;
addSpawnBiome ( Biomes . temperateRainforest ) ;
addSpawnBiome ( Biomes . thicket ) ;
2013-05-24 21:41:13 +00:00
addSpawnBiome ( Biomes . timber ) ;
2013-05-31 10:34:02 +00:00
addSpawnBiome ( Biomes . tropicalRainforest ) ;
addSpawnBiome ( Biomes . tropics ) ;
addSpawnBiome ( Biomes . tundra ) ;
addSpawnBiome ( Biomes . volcano ) ;
addSpawnBiome ( Biomes . wetland ) ;
addSpawnBiome ( Biomes . woodland ) ;
addSpawnBiome ( Biomes . plainsNew ) ;
addSpawnBiome ( Biomes . desertNew ) ;
addSpawnBiome ( Biomes . forestNew ) ;
addSpawnBiome ( Biomes . extremeHillsNew ) ;
addSpawnBiome ( Biomes . taigaNew ) ;
addSpawnBiome ( Biomes . swamplandNew ) ;
addSpawnBiome ( Biomes . jungleNew ) ;
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void addVillageBiomes ( )
{
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . alps , BOPConfigurationTerrainGen . alpsVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . arctic , BOPConfigurationTerrainGen . arcticVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . autumnHills , BOPConfigurationTerrainGen . autumnHillsVillage ) ;
addVillageBiome ( Biomes . badlands , BOPConfigurationTerrainGen . badlandsVillage ) ;
addVillageBiome ( Biomes . bambooForest , BOPConfigurationTerrainGen . bambooForestVillage ) ;
addVillageBiome ( Biomes . bayou , BOPConfigurationTerrainGen . bayouVillage ) ;
2013-09-15 21:03:29 +00:00
addVillageBiome ( Biomes . birchForest , BOPConfigurationTerrainGen . birchForestVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . bog , BOPConfigurationTerrainGen . bogVillage ) ;
addVillageBiome ( Biomes . borealForest , BOPConfigurationTerrainGen . borealForestVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . brushland , BOPConfigurationTerrainGen . brushlandVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . canyon , BOPConfigurationTerrainGen . canyonVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . chaparral , BOPConfigurationTerrainGen . chaparralVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . cherryBlossomGrove , BOPConfigurationTerrainGen . cherryBlossomGroveVillage ) ;
2013-09-15 18:58:32 +00:00
addVillageBiome ( Biomes . coniferousForest , BOPConfigurationTerrainGen . coniferousForestVillage ) ;
addVillageBiome ( Biomes . coniferousForestSnow , BOPConfigurationTerrainGen . coniferousForestSnowVillage ) ;
2013-09-21 13:57:55 +00:00
//addVillageBiome(Biomes.crag, BOPConfigurationTerrainGen.cragVillage);
addVillageBiome ( Biomes . deadForest , BOPConfigurationTerrainGen . deadForestVillage ) ;
addVillageBiome ( Biomes . deadForestSnow , BOPConfigurationTerrainGen . deadForestSnowVillage ) ;
addVillageBiome ( Biomes . deadSwamp , BOPConfigurationTerrainGen . deadSwampVillage ) ;
//addVillageBiome(Biomes.deadlands, BOPConfigurationTerrainGen.deadlandsVillage);
2013-09-15 18:58:32 +00:00
addVillageBiome ( Biomes . deciduousForest , BOPConfigurationTerrainGen . deciduousForestVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . dunes , BOPConfigurationTerrainGen . dunesVillage ) ;
addVillageBiome ( Biomes . fen , BOPConfigurationTerrainGen . fenVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . field , BOPConfigurationTerrainGen . fieldVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . frostForest , BOPConfigurationTerrainGen . frostForestVillage ) ;
//addVillageBiome(Biomes.fungiForest, BOPConfigurationTerrainGen.fungiForestVillage);
//addVillageBiome(Biomes.garden, BOPConfigurationTerrainGen.gardenVillage);
addVillageBiome ( Biomes . glacier , BOPConfigurationTerrainGen . glacierVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . grassland , BOPConfigurationTerrainGen . grasslandVillage ) ;
addVillageBiome ( Biomes . grove , BOPConfigurationTerrainGen . groveVillage ) ;
addVillageBiome ( Biomes . heathland , BOPConfigurationTerrainGen . heathlandVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . highland , BOPConfigurationTerrainGen . highlandVillage ) ;
addVillageBiome ( Biomes . hotSprings , BOPConfigurationTerrainGen . hotSpringsVillage ) ;
//addVillageBiome(Biomes.icyHills, BOPConfigurationTerrainGen.icyHillsVillage);
addVillageBiome ( Biomes . jadeCliffs , BOPConfigurationTerrainGen . jadeCliffsVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . lushDesert , BOPConfigurationTerrainGen . lushDesertVillage ) ;
addVillageBiome ( Biomes . lushSwamp , BOPConfigurationTerrainGen . lushSwampVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . mangrove , BOPConfigurationTerrainGen . mangroveVillage ) ;
2013-09-15 18:58:32 +00:00
addVillageBiome ( Biomes . mapleWoods , BOPConfigurationTerrainGen . mapleWoodsVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . marsh , BOPConfigurationTerrainGen . marshVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . meadow , BOPConfigurationTerrainGen . meadowVillage ) ;
2013-09-15 18:20:14 +00:00
addVillageBiome ( Biomes . meadowForest , BOPConfigurationTerrainGen . meadowVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . mesa , BOPConfigurationTerrainGen . mesaVillage ) ;
addVillageBiome ( Biomes . moor , BOPConfigurationTerrainGen . moorVillage ) ;
addVillageBiome ( Biomes . mountain , BOPConfigurationTerrainGen . mountainVillage ) ;
//addVillageBiome(Biomes.mysticGrove, BOPConfigurationTerrainGen.mysticGroveVillage);
addVillageBiome ( Biomes . oasis , BOPConfigurationTerrainGen . oasisVillage ) ;
//addVillageBiome(Biomes.ominousWoods, BOPConfigurationTerrainGen.ominousWoodsVillage);
//addVillageBiome(Biomes.ominousWoodsThick, BOPConfigurationTerrainGen.ominousWoodsVillage);
addVillageBiome ( Biomes . orchard , BOPConfigurationTerrainGen . orchardVillage ) ;
//addVillageBiome(Biomes.originValley, BOPConfigurationTerrainGen.originValleyVillage);
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . outback , BOPConfigurationTerrainGen . outbackVillage ) ;
addVillageBiome ( Biomes . overgrownGreens , BOPConfigurationTerrainGen . overgrownGreensVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . pasture , BOPConfigurationTerrainGen . pastureVillage ) ;
addVillageBiome ( Biomes . polar , BOPConfigurationTerrainGen . polarVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . prairie , BOPConfigurationTerrainGen . prairieVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . quagmire , BOPConfigurationTerrainGen . quagmireVillage ) ;
addVillageBiome ( Biomes . rainforest , BOPConfigurationTerrainGen . rainforestVillage ) ;
addVillageBiome ( Biomes . redwoodForest , BOPConfigurationTerrainGen . redwoodForestVillage ) ;
//addVillageBiome(Biomes.sacredSprings, BOPConfigurationTerrainGen.sacredSpringsVillage);
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . savanna , BOPConfigurationTerrainGen . savannaVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . seasonalForest , BOPConfigurationTerrainGen . seasonalForestVillage ) ;
addVillageBiome ( Biomes . shield , BOPConfigurationTerrainGen . shieldVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . scrubland , BOPConfigurationTerrainGen . scrublandVillage ) ;
addVillageBiome ( Biomes . shrubland , BOPConfigurationTerrainGen . shrublandVillage ) ;
2013-09-21 13:57:55 +00:00
//addVillageBiome(Biomes.silkglades, BOPConfigurationTerrainGen.silkgladesVillage);
addVillageBiome ( Biomes . sludgepit , BOPConfigurationTerrainGen . sludgepitVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . spruceWoods , BOPConfigurationTerrainGen . spruceWoodsVillage ) ;
2013-09-15 18:20:14 +00:00
addVillageBiome ( Biomes . steppe , BOPConfigurationTerrainGen . steppeVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . temperateRainforest , BOPConfigurationTerrainGen . temperateRainforestVillage ) ;
addVillageBiome ( Biomes . thicket , BOPConfigurationTerrainGen . thicketVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . timber , BOPConfigurationTerrainGen . timberVillage ) ;
addVillageBiome ( Biomes . tropicalRainforest , BOPConfigurationTerrainGen . tropicalRainforestVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . tropics , BOPConfigurationTerrainGen . tropicsVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . tundra , BOPConfigurationTerrainGen . tundraVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . volcano , BOPConfigurationTerrainGen . volcanoVillage ) ;
//addVillageBiome(Biomes.wasteland, BOPConfigurationTerrainGen.wastelandVillage);
2013-09-15 18:58:32 +00:00
addVillageBiome ( Biomes . wetland , BOPConfigurationTerrainGen . wetlandVillage ) ;
addVillageBiome ( Biomes . woodland , BOPConfigurationTerrainGen . woodlandVillage ) ;
2013-09-14 10:16:39 +00:00
addVillageBiome ( Biomes . plainsNew , BOPConfigurationTerrainGen . plainsVillage ) ;
addVillageBiome ( Biomes . desertNew , BOPConfigurationTerrainGen . desertVillage ) ;
2013-09-15 18:58:32 +00:00
addVillageBiome ( Biomes . forestNew , BOPConfigurationTerrainGen . forestVillage ) ;
2013-09-21 13:57:55 +00:00
addVillageBiome ( Biomes . extremeHillsNew , BOPConfigurationTerrainGen . extremeHillsVillage ) ;
addVillageBiome ( Biomes . taigaNew , BOPConfigurationTerrainGen . taigaVillage ) ;
addVillageBiome ( Biomes . swamplandNew , BOPConfigurationTerrainGen . swamplandVillage ) ;
addVillageBiome ( Biomes . jungleNew , BOPConfigurationTerrainGen . jungleVillage ) ;
2013-05-31 10:34:02 +00:00
}
2013-05-03 13:00:44 +00:00
private static void addStrongholdBiomes ( )
{
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . alps ) ;
addStrongholdBiome ( Biomes . arctic ) ;
2013-09-10 12:58:26 +00:00
addStrongholdBiome ( Biomes . autumnHills ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . badlands ) ;
addStrongholdBiome ( Biomes . bambooForest ) ;
addStrongholdBiome ( Biomes . bayou ) ;
addStrongholdBiome ( Biomes . birchForest ) ;
addStrongholdBiome ( Biomes . bog ) ;
addStrongholdBiome ( Biomes . borealForest ) ;
2013-05-24 14:36:00 +00:00
addStrongholdBiome ( Biomes . brushland ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . canyon ) ;
addStrongholdBiome ( Biomes . chaparral ) ;
addStrongholdBiome ( Biomes . cherryBlossomGrove ) ;
addStrongholdBiome ( Biomes . coniferousForest ) ;
2013-05-23 20:22:58 +00:00
addStrongholdBiome ( Biomes . coniferousForestSnow ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . crag ) ;
addStrongholdBiome ( Biomes . deadForest ) ;
2013-05-23 20:22:58 +00:00
addStrongholdBiome ( Biomes . deadForestSnow ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . deadSwamp ) ;
addStrongholdBiome ( Biomes . deadlands ) ;
addStrongholdBiome ( Biomes . deciduousForest ) ;
addStrongholdBiome ( Biomes . dunes ) ;
addStrongholdBiome ( Biomes . fen ) ;
addStrongholdBiome ( Biomes . field ) ;
addStrongholdBiome ( Biomes . frostForest ) ;
addStrongholdBiome ( Biomes . fungiForest ) ;
addStrongholdBiome ( Biomes . garden ) ;
addStrongholdBiome ( Biomes . glacier ) ;
addStrongholdBiome ( Biomes . grassland ) ;
addStrongholdBiome ( Biomes . grove ) ;
addStrongholdBiome ( Biomes . heathland ) ;
addStrongholdBiome ( Biomes . highland ) ;
2013-05-26 19:36:28 +00:00
addStrongholdBiome ( Biomes . hotSprings ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . icyHills ) ;
addStrongholdBiome ( Biomes . jadeCliffs ) ;
2013-09-20 02:07:20 +00:00
addStrongholdBiome ( Biomes . lavenderFields ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . lushDesert ) ;
addStrongholdBiome ( Biomes . lushSwamp ) ;
addStrongholdBiome ( Biomes . mangrove ) ;
addStrongholdBiome ( Biomes . mapleWoods ) ;
addStrongholdBiome ( Biomes . marsh ) ;
addStrongholdBiome ( Biomes . meadow ) ;
addStrongholdBiome ( Biomes . mesa ) ;
addStrongholdBiome ( Biomes . moor ) ;
addStrongholdBiome ( Biomes . mountain ) ;
addStrongholdBiome ( Biomes . mysticGrove ) ;
addStrongholdBiome ( Biomes . oasis ) ;
addStrongholdBiome ( Biomes . ominousWoods ) ;
addStrongholdBiome ( Biomes . orchard ) ;
addStrongholdBiome ( Biomes . outback ) ;
2013-08-10 07:03:21 +00:00
addStrongholdBiome ( Biomes . overgrownGreens ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . pasture ) ;
2013-05-07 14:19:54 +00:00
addStrongholdBiome ( Biomes . polar ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . prairie ) ;
addStrongholdBiome ( Biomes . quagmire ) ;
addStrongholdBiome ( Biomes . rainforest ) ;
addStrongholdBiome ( Biomes . redwoodForest ) ;
addStrongholdBiome ( Biomes . sacredSprings ) ;
addStrongholdBiome ( Biomes . savanna ) ;
addStrongholdBiome ( Biomes . scrubland ) ;
addStrongholdBiome ( Biomes . seasonalForest ) ;
addStrongholdBiome ( Biomes . shield ) ;
addStrongholdBiome ( Biomes . shrubland ) ;
2013-08-08 22:54:45 +00:00
addStrongholdBiome ( Biomes . silkglades ) ;
2013-05-24 17:54:27 +00:00
addStrongholdBiome ( Biomes . sludgepit ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . spruceWoods ) ;
addStrongholdBiome ( Biomes . steppe ) ;
addStrongholdBiome ( Biomes . temperateRainforest ) ;
addStrongholdBiome ( Biomes . thicket ) ;
2013-05-24 21:41:13 +00:00
addStrongholdBiome ( Biomes . timber ) ;
2013-05-31 10:34:02 +00:00
addStrongholdBiome ( Biomes . tropicalRainforest ) ;
addStrongholdBiome ( Biomes . tropics ) ;
addStrongholdBiome ( Biomes . tundra ) ;
addStrongholdBiome ( Biomes . volcano ) ;
addStrongholdBiome ( Biomes . wasteland ) ;
addStrongholdBiome ( Biomes . wetland ) ;
addStrongholdBiome ( Biomes . woodland ) ;
addStrongholdBiome ( Biomes . plainsNew ) ;
addStrongholdBiome ( Biomes . desertNew ) ;
addStrongholdBiome ( Biomes . forestNew ) ;
addStrongholdBiome ( Biomes . extremeHillsNew ) ;
addStrongholdBiome ( Biomes . taigaNew ) ;
addStrongholdBiome ( Biomes . swamplandNew ) ;
addStrongholdBiome ( Biomes . jungleNew ) ;
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void registerBiomes ( )
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . addToDefault )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . alpsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . alps ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . arcticGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . arctic ) ;
}
2013-09-10 12:58:26 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . autumnHillsGen ) {
2013-09-10 12:58:26 +00:00
registerBiome ( Biomes . autumnHills ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . badlandsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . badlands ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . bambooForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . bambooForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . bayouGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . bayou ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . birchForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . birchForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . bogGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . bog ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . borealForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . borealForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . brushlandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . brushland ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . canyonGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . canyon ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . chaparralGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . chaparral ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . cherryBlossomGroveGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . cherryBlossomGrove ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . coniferousForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . coniferousForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . coniferousForestSnowGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . coniferousForestSnow ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . cragGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . crag ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . deadForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadForestSnowGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . deadForestSnow ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadSwampGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . deadSwamp ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadlandsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . deadlands ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deciduousForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . deciduousForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . dunesGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . dunes ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . fenGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . fen ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . fieldGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . field ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . frostForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . frostForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . fungiForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . fungiForest ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . gardenGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . garden ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . glacierGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . glacier ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . grasslandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . grassland ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . groveGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . grove ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . heathlandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . heathland ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . highlandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . highland ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . hotSpringsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . hotSprings ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . icyHillsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . icyHills ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . jadeCliffsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . jadeCliffs ) ;
}
2013-09-20 02:07:20 +00:00
if ( BOPConfigurationBiomeGen . lavenderFieldsGen ) {
registerBiome ( Biomes . lavenderFields ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . lushDesertGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . lushDesert ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . lushSwampGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . lushSwamp ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mangroveGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . mangrove ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mapleWoodsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . mapleWoods ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . marshGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . marsh ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . meadowGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . meadow ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mesaGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . mesa ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . moorGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . moor ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mountainGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . mountain ) ;
}
2013-05-03 13:00:44 +00:00
2013-08-03 00:07:43 +00:00
// if (BOPConfiguration.BiomeGen.mushroomIslandGen)
2013-05-31 10:34:02 +00:00
// GameRegistry.addBiome(BiomeGenBase.mushroomIsland);
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mysticGroveGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . mysticGrove ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . oasisGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . oasis ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . ominousWoodsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . ominousWoods ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . orchardGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . orchard ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . originValleyGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . originValley ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . outbackGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . outback ) ;
}
2013-08-10 07:03:21 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . overgrownGreensGen ) {
2013-08-10 07:03:21 +00:00
registerBiome ( Biomes . overgrownGreens ) ;
}
2013-05-31 10:34:02 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . pastureGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . pasture ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . polarGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . polar ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . prairieGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . prairie ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . quagmireGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . quagmire ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . rainforestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . rainforest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . redwoodForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . redwoodForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . sacredSpringsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . sacredSprings ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . savannaGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . savanna ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . scrublandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . scrubland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . seasonalForestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . seasonalForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . shieldGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . shield ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . shrublandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . shrubland ) ;
}
2013-08-08 22:54:45 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . silkgladesGen ) {
2013-08-08 22:54:45 +00:00
registerBiome ( Biomes . silkglades ) ;
}
2013-05-31 10:34:02 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . sludgepitGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . sludgepit ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . spruceWoodsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . spruceWoods ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . steppeGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . steppe ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . temperateRainforestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . temperateRainforest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . thicketGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . thicket ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . timberGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . timber ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . tropicalRainforestGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . tropicalRainforest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . tropicsGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . tropics ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . tundraGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . tundra ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . volcanoGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . volcano ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . wastelandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . wasteland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . wetlandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . wetland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . woodlandGen ) {
2013-05-31 10:34:02 +00:00
registerBiome ( Biomes . woodland ) ;
}
// Vanilla biomes generation
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . plainsGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . plainsNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . plains ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . plains ) ;
}
2013-05-03 13:00:44 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . desertGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . desertNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . desert ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . desert ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . extremeHillsGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . extremeHillsNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . extremeHills ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . extremeHills ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . forestGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . forestNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . forest ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . forest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . taigaGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . taigaNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . taiga ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . taiga ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . swamplandGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . swamplandNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . swampland ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . swampland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . jungleGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
registerBiome ( Biomes . jungleNew ) ;
GameRegistry . removeBiome ( BiomeGenBase . jungle ) ;
}
} else {
GameRegistry . removeBiome ( BiomeGenBase . jungle ) ;
}
}
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void addBiomes ( )
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . alpsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . alps ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . arcticGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . arctic ) ;
}
2013-09-10 12:58:26 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . autumnHillsGen ) {
2013-09-10 12:58:26 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . autumnHills ) ;
}
2013-08-28 08:32:30 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . badlandsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . badlands ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . bambooForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . bambooForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . bayouGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . bayou ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . birchForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . birchForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . bogGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . bog ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . borealForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . borealForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . brushlandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . brushland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . canyonGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . canyon ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . chaparralGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . chaparral ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . cherryBlossomGroveGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . cherryBlossomGrove ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . coniferousForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . coniferousForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . coniferousForestSnowGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . coniferousForestSnow ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . cragGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . crag ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . deadForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadForestSnowGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . deadForestSnow ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadSwampGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . deadSwamp ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deadlandsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . deadlands ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . deciduousForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . deciduousForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . dunesGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . dunes ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . fenGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . fen ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . fieldGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . field ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . frostForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . frostForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . fungiForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . fungiForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . gardenGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . garden ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . glacierGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . glacier ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . grasslandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . grassland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . groveGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . grove ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . heathlandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . heathland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . highlandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . highland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . hotSpringsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . hotSprings ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . icyHillsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . icyHills ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . jadeCliffsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . jadeCliffs ) ;
}
2013-09-20 02:07:20 +00:00
if ( BOPConfigurationBiomeGen . lavenderFieldsGen ) {
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . lavenderFields ) ;
}
2013-08-28 08:32:30 +00:00
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . lushDesertGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . lushDesert ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . lushSwampGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . lushSwamp ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mangroveGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . mangrove ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mapleWoodsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . mapleWoods ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . marshGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . marsh ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . meadowGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . meadow ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mesaGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . mesa ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . moorGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . moor ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mountainGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . mountain ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . mysticGroveGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . mysticGrove ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . oasisGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . oasis ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . ominousWoodsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . ominousWoods ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . orchardGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . orchard ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . originValleyGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . originValley ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . outbackGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . outback ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . overgrownGreensGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . overgrownGreens ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . pastureGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . pasture ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . polarGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . polar ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . prairieGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . prairie ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . quagmireGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . quagmire ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . rainforestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . rainforest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . redwoodForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . redwoodForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . sacredSpringsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . sacredSprings ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . savannaGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . savanna ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . scrublandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . scrubland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . seasonalForestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . seasonalForest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . shieldGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . shield ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . shrublandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . shrubland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . silkgladesGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . silkglades ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . sludgepitGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . sludgepit ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . spruceWoodsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . spruceWoods ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . steppeGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . steppe ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . temperateRainforestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . temperateRainforest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . thicketGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . thicket ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . timberGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . timber ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . tropicalRainforestGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . tropicalRainforest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . tropicsGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . tropics ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . tundraGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . tundra ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . volcanoGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . volcano ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . wastelandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . wasteland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . wetlandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . wetland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . woodlandGen ) {
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . woodland ) ;
}
// Vanilla biomes generation
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . plainsGen )
2013-05-31 10:34:02 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . plainsNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . plains ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . plains ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . desertGen )
2013-08-28 08:32:30 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . desertNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . desert ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . desert ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . extremeHillsGen )
2013-08-28 08:32:30 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . extremeHillsNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . extremeHills ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . extremeHills ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . forestGen )
2013-08-28 08:32:30 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . forestNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . forest ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . forest ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . taigaGen )
2013-08-28 08:32:30 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . taigaNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . taiga ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . taiga ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . swamplandGen )
2013-08-28 08:32:30 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . swamplandNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . swampland ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . swampland ) ;
}
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationBiomeGen . jungleGen )
2013-08-28 08:32:30 +00:00
{
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . vanillaEnhanced )
2013-05-31 10:34:02 +00:00
{
2013-08-28 08:32:30 +00:00
addBiomeToWorldTypes ( getWorldTypes ( ) , Biomes . jungleNew ) ;
2013-05-31 10:34:02 +00:00
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . jungle ) ;
}
2013-08-28 08:32:30 +00:00
} else {
removeBiomeFromWorldTypes ( getWorldTypes ( ) , BiomeGenBase . jungle ) ;
2013-05-31 10:34:02 +00:00
}
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
public static Set < WorldType > getWorldTypes ( ) {
2013-05-31 10:34:02 +00:00
if ( worldTypes . isEmpty ( ) ) {
2013-09-14 10:16:39 +00:00
if ( BOPConfigurationTerrainGen . addToDefault )
2013-05-31 10:34:02 +00:00
{
worldTypes . add ( WorldType . DEFAULT ) ;
worldTypes . add ( WorldType . LARGE_BIOMES ) ;
}
2013-11-05 00:26:15 +00:00
//worldTypes.add(WTBiomesOP);
2013-05-31 10:34:02 +00:00
}
return ImmutableSet . copyOf ( worldTypes ) ;
}
2013-05-03 13:00:44 +00:00
private static void addBiomeToWorldTypes ( Collection < WorldType > worldTypes , Optional < ? extends BiomeGenBase > biome )
{
2013-05-31 10:34:02 +00:00
for ( final WorldType worldType : worldTypes )
if ( biome . isPresent ( ) ) {
worldType . addNewBiome ( biome . get ( ) ) ;
}
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void removeBiomeFromWorldTypes ( Collection < WorldType > worldTypes , BiomeGenBase biome )
2013-05-31 10:34:02 +00:00
{
for ( final WorldType worldType : worldTypes ) {
worldType . removeBiome ( biome ) ;
}
}
2013-05-03 13:00:44 +00:00
private static void addSpawnBiome ( Optional < ? extends BiomeGenBase > biome )
{
2013-05-31 10:34:02 +00:00
if ( biome . isPresent ( ) ) {
2013-05-03 13:00:44 +00:00
BiomeManager . addSpawnBiome ( biome . get ( ) ) ;
2013-05-31 10:34:02 +00:00
}
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void addVillageBiome ( Optional < ? extends BiomeGenBase > biome , boolean flag )
{
2013-05-31 10:34:02 +00:00
if ( biome . isPresent ( ) & & flag ) {
2013-05-13 18:06:49 +00:00
BiomeManager . addVillageBiome ( biome . get ( ) , true ) ;
2013-05-31 10:34:02 +00:00
}
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void addStrongholdBiome ( Optional < ? extends BiomeGenBase > biome )
{
2013-05-31 10:34:02 +00:00
if ( biome . isPresent ( ) ) {
2013-05-03 13:00:44 +00:00
BiomeManager . addStrongholdBiome ( biome . get ( ) ) ;
2013-05-31 10:34:02 +00:00
}
2013-05-03 13:00:44 +00:00
}
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
private static void registerBiome ( Optional < ? extends BiomeGenBase > biome )
{
2013-05-31 10:34:02 +00:00
if ( biome . isPresent ( ) ) {
2013-05-03 13:00:44 +00:00
GameRegistry . addBiome ( biome . get ( ) ) ;
2013-05-31 10:34:02 +00:00
}
2013-05-03 13:00:44 +00:00
}
}