Reworked a few biomes, including names and IDs.

This commit is contained in:
Matt Caughey 2013-05-23 16:22:58 -04:00
parent 63f3aa1208
commit 485176c63e
15 changed files with 311 additions and 142 deletions

View file

@ -18,8 +18,10 @@ public class Biomes
public static Optional<? extends BiomeGenBase> chaparral = Optional.absent();
public static Optional<? extends BiomeGenBase> cherryBlossomGrove = Optional.absent();
public static Optional<? extends BiomeGenBase> coniferousForest = Optional.absent();
public static Optional<? extends BiomeGenBase> coniferousForestSnow = Optional.absent();
public static Optional<? extends BiomeGenBase> crag = Optional.absent();
public static Optional<? extends BiomeGenBase> deadForest = Optional.absent();
public static Optional<? extends BiomeGenBase> deadForestSnow = Optional.absent();
public static Optional<? extends BiomeGenBase> deadSwamp = Optional.absent();
public static Optional<? extends BiomeGenBase> deadlands = Optional.absent();
public static Optional<? extends BiomeGenBase> deciduousForest = Optional.absent();
@ -51,7 +53,7 @@ public class Biomes
public static Optional<? extends BiomeGenBase> netherGarden = Optional.absent();
public static Optional<? extends BiomeGenBase> netherDesert = Optional.absent();
public static Optional<? extends BiomeGenBase> netherLava = Optional.absent();
public static Optional<? extends BiomeGenBase> netherAbyss = Optional.absent();
public static Optional<? extends BiomeGenBase> netherBone = Optional.absent();
public static Optional<? extends BiomeGenBase> oasis = Optional.absent();
public static Optional<? extends BiomeGenBase> ominousWoods = Optional.absent();
@ -61,9 +63,11 @@ public class Biomes
public static Optional<? extends BiomeGenBase> pasture = Optional.absent();
public static Optional<? extends BiomeGenBase> polar = Optional.absent();
public static Optional<? extends BiomeGenBase> prairie = Optional.absent();
public static Optional<? extends BiomeGenBase> promisedLandForest = Optional.absent();
public static Optional<? extends BiomeGenBase> promisedLandPlains = Optional.absent();
public static Optional<? extends BiomeGenBase> promisedLandSwamp = Optional.absent();
public static Optional<? extends BiomeGenBase> quagmire = Optional.absent();
public static Optional<? extends BiomeGenBase> rainforest = Optional.absent();
public static Optional<? extends BiomeGenBase> redwoodForest = Optional.absent();
@ -74,7 +78,6 @@ public class Biomes
public static Optional<? extends BiomeGenBase> shield = Optional.absent();
public static Optional<? extends BiomeGenBase> shore = Optional.absent();
public static Optional<? extends BiomeGenBase> shrubland = Optional.absent();
public static Optional<? extends BiomeGenBase> snowyWoods = Optional.absent();
public static Optional<? extends BiomeGenBase> spruceWoods = Optional.absent();
public static Optional<? extends BiomeGenBase> steppe = Optional.absent();
public static Optional<? extends BiomeGenBase> swampwoods = Optional.absent();
@ -87,6 +90,7 @@ public class Biomes
public static Optional<? extends BiomeGenBase> wasteland = Optional.absent();
public static Optional<? extends BiomeGenBase> wetland = Optional.absent();
public static Optional<? extends BiomeGenBase> woodland = Optional.absent();
public static Optional<? extends BiomeGenBase> plainsNew = Optional.absent();
public static Optional<? extends BiomeGenBase> desertNew = Optional.absent();
public static Optional<? extends BiomeGenBase> extremeHillsNew = Optional.absent();

View file

@ -1,17 +1,6 @@
package biomesoplenty.biomes;
import java.util.Random;
import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPBlocks;
import biomesoplenty.worldgen.WorldGenTaiga3;
import biomesoplenty.worldgen.WorldGenTaiga4;
import biomesoplenty.worldgen.WorldGenTaiga9;
import net.minecraft.item.ItemStack;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenArctic extends BiomeGenBase
{
@ -23,25 +12,26 @@ public class BiomeGenArctic extends BiomeGenBase
this.spawnableCreatureList.clear();
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
this.customBiomeDecorator.treesPerChunk = 3;
this.customBiomeDecorator.treesPerChunk = -999;
this.customBiomeDecorator.flowersPerChunk = -999;
this.customBiomeDecorator.grassPerChunk = -999;
this.customBiomeDecorator.sandPerChunk = -999;
this.customBiomeDecorator.sandPerChunk2 = -999;
}
/**
* Gets a WorldGen appropriate for this biome.
* Provides the basic grass color based on the biome temperature and rainfall
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(5) == 0 ? new WorldGenTaiga3(false) : (par1Random.nextInt(3) == 0 ? new WorldGenTaiga4(false) : new WorldGenTaiga9(false)));
public int getBiomeGrassColor()
{
return 11176526;
}
/**
* Gets a WorldGen appropriate for this biome.
* Provides the basic foliage color based on the biome temperature and rainfall
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
public int getBiomeFoliageColor()
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
return 11903827;
}
}

View file

@ -0,0 +1,47 @@
package biomesoplenty.biomes;
import java.util.Random;
import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPBlocks;
import biomesoplenty.worldgen.WorldGenTaiga3;
import biomesoplenty.worldgen.WorldGenTaiga4;
import biomesoplenty.worldgen.WorldGenTaiga9;
import net.minecraft.item.ItemStack;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenConiferousForestSnow extends BiomeGenBase
{
private BiomeDecoratorBOP customBiomeDecorator;
public BiomeGenConiferousForestSnow(int par1)
{
super(par1);
this.spawnableCreatureList.clear();
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
this.customBiomeDecorator.treesPerChunk = 3;
this.customBiomeDecorator.flowersPerChunk = -999;
this.customBiomeDecorator.sandPerChunk = -999;
this.customBiomeDecorator.sandPerChunk2 = -999;
}
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(5) == 0 ? new WorldGenTaiga3(false) : (par1Random.nextInt(3) == 0 ? new WorldGenTaiga4(false) : new WorldGenTaiga9(false)));
}
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(2) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
}
}

View file

@ -15,11 +15,11 @@ import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenSnowyWoods extends BiomeGenBase
public class BiomeGenDeadForestSnow extends BiomeGenBase
{
private BiomeDecoratorBOP customBiomeDecorator;
public BiomeGenSnowyWoods(int par1)
public BiomeGenDeadForestSnow(int par1)
{
super(par1);
this.theBiomeDecorator = new BiomeDecoratorBOP(this);

View file

@ -9,11 +9,11 @@ import net.minecraft.entity.monster.EntityGhast;
import net.minecraft.entity.monster.EntityMagmaCube;
import net.minecraft.entity.monster.EntityPigZombie;
public class BiomeGenNetherAbyss extends BiomeGenBase
public class BiomeGenNetherBone extends BiomeGenBase
{
private BiomeDecoratorBOP customBiomeDecorator;
public BiomeGenNetherAbyss(int par1)
public BiomeGenNetherBone(int par1)
{
super(par1);
this.theBiomeDecorator = new BiomeDecoratorBOP(this);

View file

@ -1,6 +1,16 @@
package biomesoplenty.biomes;
import java.util.Random;
import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPBlocks;
import biomesoplenty.worldgen.WorldGenTundra1;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraft.world.gen.feature.WorldGenShrub;
import net.minecraft.world.gen.feature.WorldGenTallGrass;
import net.minecraft.world.gen.feature.WorldGenerator;
public class BiomeGenTundra extends BiomeGenBase
{
@ -12,11 +22,28 @@ public class BiomeGenTundra extends BiomeGenBase
this.spawnableCreatureList.clear();
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
this.customBiomeDecorator.treesPerChunk = -999;
this.customBiomeDecorator.flowersPerChunk = -999;
this.customBiomeDecorator.grassPerChunk = -999;
this.customBiomeDecorator.sandPerChunk = -999;
this.customBiomeDecorator.sandPerChunk2 = -999;
this.customBiomeDecorator.treesPerChunk = 5;
this.customBiomeDecorator.grassPerChunk = 8;
this.customBiomeDecorator.flowersPerChunk = -999;
this.customBiomeDecorator.reedsPerChunk = -999;
this.customBiomeDecorator.gravelPerChunk = 8;
this.customBiomeDecorator.gravelPerChunk2 = 8;
}
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(4) == 0 ? new WorldGenShrub(0,0) : new WorldGenTundra1());
}
/**
* Gets a WorldGen appropriate for this biome.
*/
public WorldGenerator getRandomWorldGenForGrass(Random par1Random)
{
return par1Random.nextInt(4) == 0 ? new WorldGenTallGrass(Blocks.foliage.get().blockID, 2) : new WorldGenTallGrass(Blocks.foliage.get().blockID, 1);
}
/**
@ -24,7 +51,7 @@ public class BiomeGenTundra extends BiomeGenBase
*/
public int getBiomeGrassColor()
{
return 11176526;
return 11371606;
}
/**
@ -32,6 +59,6 @@ public class BiomeGenTundra extends BiomeGenBase
*/
public int getBiomeFoliageColor()
{
return 11903827;
return 12543566;
}
}

View file

@ -64,7 +64,7 @@ public class BOPBiomes {
private static void initializeBiomes()
{
Biomes.alps = Optional.of((new BiomeGenAlps(BOPConfiguration.alpsID)).setColor(353825).setBiomeName("Alps").func_76733_a(5159473).setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(5.0F, 5.0F));
Biomes.arctic = Optional.of((new BiomeGenArctic(BOPConfiguration.arcticID)).setColor(14090235).setBiomeName("Arctic").setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.7F));
Biomes.arctic = Optional.of((new BiomeGenArctic(BOPConfiguration.arcticID)).setColor(14090235).setBiomeName("Arctic").setEnableSnow().setTemperatureRainfall(0.05F, 0.0F).setMinMaxHeight(-0.2F, 0.0F));
Biomes.badlands = Optional.of((new BiomeGenBadlands(BOPConfiguration.badlandsID)).setColor(16421912).setBiomeName("Badlands").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.3F, 0.9F));
Biomes.bambooForest = Optional.of((new BiomeGenBambooForest(BOPConfiguration.bambooForestID)).setColor(112).setBiomeName("Bamboo Forest").setMinMaxHeight(0.0F, 0.3F).setTemperatureRainfall(1.2F, 0.9F));
Biomes.bayou = Optional.of((new BiomeGenBayou(BOPConfiguration.bayouID)).setColor(522674).setBiomeName("Bayou").func_76733_a(9154376).setMinMaxHeight(-0.3F, 0.2F).setTemperatureRainfall(0.5F, 0.9F));
@ -75,8 +75,10 @@ public class BOPBiomes {
Biomes.chaparral = Optional.of((new BiomeGenChaparral(BOPConfiguration.chaparralID)).setColor(9286496).setBiomeName("Chaparral").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.3F, 0.6F));
Biomes.cherryBlossomGrove = Optional.of((new BiomeGenCherryBlossomGrove(BOPConfiguration.cherryBlossomGroveID)).setColor(9286496).setBiomeName("Cherry Blossom Grove").setMinMaxHeight(0.1F, 0.2F).setTemperatureRainfall(0.7F, 0.8F));
Biomes.coniferousForest = Optional.of((new BiomeGenConiferousForest(BOPConfiguration.coniferousForestID)).setColor(747097).setBiomeName("Coniferous Forest").func_76733_a(5159473).setTemperatureRainfall(0.3F, 0.4F).setMinMaxHeight(0.1F, 0.8F));
Biomes.crag = Optional.of((new BiomeGenCrag(BOPConfiguration.cragID)).setColor(9286496).setBiomeName("Crag").setMinMaxHeight(0.0F, 9.9F).setTemperatureRainfall(0.4F, 0.2F));
Biomes.coniferousForestSnow = Optional.of((new BiomeGenConiferousForestSnow(BOPConfiguration.coniferousForestSnowID)).setColor(14090235).setBiomeName("Coniferous Forest (Snow)").setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.7F));
Biomes.crag = Optional.of((new BiomeGenCrag(BOPConfiguration.cragID)).setColor(9286496).setBiomeName("Crag").setMinMaxHeight(0.0F, 9.9F).setTemperatureRainfall(0.4F, 0.2F));
Biomes.deadForest = Optional.of((new BiomeGenDeadForest(BOPConfiguration.deadForestID)).setColor(522674).setBiomeName("Dead Forest").func_76733_a(9154376).setMinMaxHeight(0.2F, 0.7F).setTemperatureRainfall(1.2F, 0.1F));
Biomes.deadForestSnow = Optional.of((new BiomeGenDeadForestSnow(BOPConfiguration.deadForestSnowID)).setColor(522674).setBiomeName("Dead Forest (Snow)").func_76733_a(9154376).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.2F, 0.7F));
Biomes.deadSwamp = Optional.of((new BiomeGenDeadSwamp(BOPConfiguration.deadSwampID)).setColor(522674).setBiomeName("Dead Swamp").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.8F, 0.9F));
Biomes.deadlands = Optional.of((new BiomeGenDeadlands(BOPConfiguration.deadlandsID)).setColor(522674).setBiomeName("Deadlands").setDisableRain().func_76733_a(9154376).setMinMaxHeight(0.1F, 0.5F).setTemperatureRainfall(2.0F, 0.0F));
Biomes.deciduousForest = Optional.of((new BiomeGenDeciduousForest(BOPConfiguration.deciduousForestID)).setColor(353825).setBiomeName("Deciduous Forest").func_76733_a(5159473).setTemperatureRainfall(0.7F, 0.8F));
@ -108,7 +110,7 @@ public class BOPBiomes {
Biomes.netherGarden = Optional.of((new BiomeGenNetherGarden(BOPConfiguration.netherGardenID)).setColor(16711680).setBiomeName("Undergarden").setDisableRain().setTemperatureRainfall(2.0F, 0.0F));
Biomes.netherDesert = Optional.of((new BiomeGenNetherDesert(BOPConfiguration.netherDesertID)).setColor(16711680).setBiomeName("Corrupted Sands").setDisableRain().setTemperatureRainfall(2.0F, 0.0F));
Biomes.netherLava = Optional.of((new BiomeGenNetherLava(BOPConfiguration.netherLavaID)).setColor(16711680).setBiomeName("Phantasmagoric Inferno").setDisableRain().setTemperatureRainfall(2.0F, 0.0F));
Biomes.netherAbyss = Optional.of((new BiomeGenNetherAbyss(BOPConfiguration.netherAbyssID)).setColor(16711680).setBiomeName("Aphotic Abyss").setDisableRain().setTemperatureRainfall(2.0F, 0.0F));
Biomes.netherBone = Optional.of((new BiomeGenNetherBone(BOPConfiguration.netherBoneID)).setColor(16711680).setBiomeName("Boneyard").setDisableRain().setTemperatureRainfall(2.0F, 0.0F));
Biomes.oasis = Optional.of((new BiomeGenOasis(BOPConfiguration.oasisID)).setColor(16421912).setBiomeName("Oasis").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 0.2F));
Biomes.ominousWoods = Optional.of((new BiomeGenOminousWoods(BOPConfiguration.ominousWoodsID)).setColor(353825).setBiomeName("Ominous Woods").setDisableRain().func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.9F));
@ -118,9 +120,11 @@ public class BOPBiomes {
Biomes.pasture = Optional.of((new BiomeGenPasture(BOPConfiguration.pastureID)).setColor(9286496).setBiomeName("Pasture").setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.1F, 0.1F));
Biomes.polar = Optional.of((new BiomeGenPolar(BOPConfiguration.polarID)).setColor(6316128).setBiomeName("Polar").setMinMaxHeight(-0.5F, 0.0F).setTemperatureRainfall(0.2F, 0.8F));
Biomes.prairie = Optional.of((new BiomeGenPrairie(BOPConfiguration.prairieID)).setColor(353825).setBiomeName("Prairie").func_76733_a(5159473).setTemperatureRainfall(0.9F, 0.6F).setMinMaxHeight(0.1F, 0.1F));
Biomes.promisedLandForest = Optional.of((new BiomeGenPromisedLandForest(BOPConfiguration.promisedLandForestID)).setColor(112).setBiomeName("Wonderous Woods").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 2.0F));
Biomes.promisedLandPlains = Optional.of((new BiomeGenPromisedLandPlains(BOPConfiguration.promisedLandPlainsID)).setColor(112).setBiomeName("Majestic Meadow").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 2.0F));
Biomes.promisedLandSwamp = Optional.of((new BiomeGenPromisedLandSwamp(BOPConfiguration.promisedLandSwampID)).setColor(112).setBiomeName("Blessed Bog").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 2.0F));
Biomes.quagmire = Optional.of((new BiomeGenQuagmire(BOPConfiguration.quagmireID)).setColor(522674).setBiomeName("Quagmire").func_76733_a(9154376).setMinMaxHeight(-0.1F, 0.3F).setTemperatureRainfall(0.8F, 0.9F));
Biomes.rainforest = Optional.of((new BiomeGenRainforest(BOPConfiguration.rainforestID)).setColor(5470985).setBiomeName("Rainforest").func_76733_a(5470985).setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.7F, 1.8F));
Biomes.redwoodForest = Optional.of((new BiomeGenRedwoodForest(BOPConfiguration.redwoodForestID)).setColor(747097).setBiomeName("Redwood Forest").func_76733_a(5159473).setTemperatureRainfall(0.8F, 0.4F).setMinMaxHeight(0.0F, 0.4F));
@ -131,7 +135,6 @@ public class BOPBiomes {
Biomes.shield = Optional.of((new BiomeGenShield(BOPConfiguration.shieldID)).setColor(522674).setBiomeName("Shield").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.4F).setTemperatureRainfall(0.5F, 0.8F));
Biomes.shore = Optional.of((new BiomeGenShore(BOPConfiguration.shoreID)).setColor(9286496).setBiomeName("Shore").setMinMaxHeight(-1.0F, 0.4F).setTemperatureRainfall(0.8F, 0.4F));
Biomes.shrubland = Optional.of((new BiomeGenShrubland(BOPConfiguration.shrublandID)).setColor(9286496).setBiomeName("Shrubland").setMinMaxHeight(0.1F, 0.2F).setTemperatureRainfall(0.6F, 0.0F));
Biomes.snowyWoods = Optional.of((new BiomeGenSnowyWoods(BOPConfiguration.snowyWoodsID)).setColor(522674).setBiomeName("Snowy Woods").func_76733_a(9154376).setEnableSnow().setTemperatureRainfall(0.05F, 0.8F).setMinMaxHeight(0.2F, 0.7F));
Biomes.spruceWoods = Optional.of((new BiomeGenSpruceWoods(BOPConfiguration.spruceWoodsID)).setColor(353825).setBiomeName("Spruce Woods").func_76733_a(5159473).setTemperatureRainfall(0.6F, 0.7F));
Biomes.steppe = Optional.of((new BiomeGenSteppe(BOPConfiguration.steppeID)).setColor(9286496).setBiomeName("Steppe").setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F));
Biomes.swampwoods = Optional.of((new BiomeGenSwampwoods(BOPConfiguration.swampwoodsID)).setColor(522674).setBiomeName("Swampwoods").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.2F).setTemperatureRainfall(0.8F, 0.9F));
@ -139,11 +142,12 @@ public class BOPBiomes {
Biomes.thicket = Optional.of((new BiomeGenThicket(BOPConfiguration.thicketID)).setColor(353825).setBiomeName("Thicket").func_76733_a(5159473).setTemperatureRainfall(0.6F, 0.2F).setMinMaxHeight(0.0F, 0.2F));
Biomes.tropicalRainforest = Optional.of((new BiomeGenTropicalRainforest(BOPConfiguration.tropicalRainforestID)).setColor(9286496).setBiomeName("Tropical Rainforest").setTemperatureRainfall(1.2F, 0.9F).setMinMaxHeight(0.3F, 0.7F));
Biomes.tropics = Optional.of((new BiomeGenTropics(BOPConfiguration.tropicsID)).setColor(9286496).setBiomeName("Tropics").setTemperatureRainfall(2.0F, 2.0F).setMinMaxHeight(0.1F, 1.5F));
Biomes.tundra = Optional.of((new BiomeGenTundra(BOPConfiguration.tundraID)).setColor(14090235).setBiomeName("Tundra").setEnableSnow().setTemperatureRainfall(0.05F, 0.0F).setMinMaxHeight(-0.2F, 0.0F));
Biomes.tundra = Optional.of((new BiomeGenTundra(BOPConfiguration.tundraID)).setColor(14090235).setBiomeName("Tundra").setTemperatureRainfall(0.2F, 0.8F).setMinMaxHeight(-0.2F, 0.4F));
Biomes.volcano = Optional.of((new BiomeGenVolcano(BOPConfiguration.volcanoID)).setColor(9286496).setBiomeName("Volcano").setDisableRain().setMinMaxHeight(0.6F, 0.9F).setTemperatureRainfall(2.0F, 0.0F));
Biomes.wasteland = Optional.of((new BiomeGenWasteland(BOPConfiguration.wastelandID)).setColor(16421912).setBiomeName("Wasteland").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.0F, 0.0F));
Biomes.wetland = Optional.of((new BiomeGenWetland(BOPConfiguration.wetlandID)).setColor(522674).setBiomeName("Wetland").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.4F).setTemperatureRainfall(0.8F, 0.9F));
Biomes.woodland = Optional.of((new BiomeGenWoodland(BOPConfiguration.woodlandID)).setColor(353825).setBiomeName("Woodland").func_76733_a(5159473).setTemperatureRainfall(1.7F, 0.2F).setMinMaxHeight(0.1F, 0.2F));
Biomes.plainsNew = Optional.of((new BiomeGenPlainsNew(BOPConfiguration.plainsNewID)).setColor(9286496).setBiomeName("Plains").setTemperatureRainfall(0.8F, 0.4F));
Biomes.desertNew = Optional.of((new BiomeGenDesertNew(BOPConfiguration.desertNewID)).setColor(16421912).setBiomeName("Desert").setDisableRain().setTemperatureRainfall(2.0F, 0.0F).setMinMaxHeight(0.1F, 0.2F));
Biomes.extremeHillsNew = Optional.of((new BiomeGenHillsNew(BOPConfiguration.extremeHillsNewID)).setColor(6316128).setBiomeName("Extreme Hills").setMinMaxHeight(0.3F, 1.5F).setTemperatureRainfall(0.2F, 0.3F));
@ -156,7 +160,7 @@ public class BOPBiomes {
private static void addToBiomeDictionary()
{
BiomeDictionary.registerBiomeType(Biomes.alps.get(), Type.FROZEN, Type.MOUNTAIN);
BiomeDictionary.registerBiomeType(Biomes.arctic.get(), Type.FROZEN, Type.FOREST, Type.HILLS);
BiomeDictionary.registerBiomeType(Biomes.arctic.get(), Type.FROZEN, Type.WASTELAND);
BiomeDictionary.registerBiomeType(Biomes.badlands.get(), Type.DESERT, Type.WASTELAND);
BiomeDictionary.registerBiomeType(Biomes.bambooForest.get(), Type.JUNGLE);
BiomeDictionary.registerBiomeType(Biomes.bayou.get(), Type.SWAMP);
@ -167,8 +171,10 @@ public class BOPBiomes {
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);
BiomeDictionary.registerBiomeType(Biomes.coniferousForestSnow.get(), Type.FROZEN, Type.FOREST, Type.HILLS);
BiomeDictionary.registerBiomeType(Biomes.crag.get(), Type.WASTELAND, Type.MOUNTAIN);
BiomeDictionary.registerBiomeType(Biomes.deadForest.get(), Type.WASTELAND, Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.deadForest.get(), Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.deadForestSnow.get(), Type.FOREST, Type.FROZEN);
BiomeDictionary.registerBiomeType(Biomes.deadlands.get(), Type.WASTELAND);
BiomeDictionary.registerBiomeType(Biomes.deadSwamp.get(), Type.SWAMP);
BiomeDictionary.registerBiomeType(Biomes.deciduousForest.get(), Type.FOREST, Type.HILLS);
@ -200,7 +206,7 @@ public class BOPBiomes {
BiomeDictionary.registerBiomeType(Biomes.netherGarden.get(), Type.NETHER, Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.netherDesert.get(), Type.NETHER, Type.DESERT);
BiomeDictionary.registerBiomeType(Biomes.netherLava.get(), Type.NETHER);
BiomeDictionary.registerBiomeType(Biomes.netherAbyss.get(), Type.NETHER);
BiomeDictionary.registerBiomeType(Biomes.netherBone.get(), Type.NETHER, Type.WASTELAND);
BiomeDictionary.registerBiomeType(Biomes.oasis.get(), Type.DESERT, Type.PLAINS);
BiomeDictionary.registerBiomeType(Biomes.ominousWoods.get(), Type.MAGICAL);
@ -209,9 +215,11 @@ public class BOPBiomes {
BiomeDictionary.registerBiomeType(Biomes.pasture.get(), Type.PLAINS);
BiomeDictionary.registerBiomeType(Biomes.polar.get(), Type.FROZEN, Type.WATER);
BiomeDictionary.registerBiomeType(Biomes.prairie.get(), Type.PLAINS);
BiomeDictionary.registerBiomeType(Biomes.promisedLandForest.get(), Type.FOREST, Type.MAGICAL);
BiomeDictionary.registerBiomeType(Biomes.promisedLandPlains.get(), Type.PLAINS, Type.MAGICAL);
BiomeDictionary.registerBiomeType(Biomes.promisedLandSwamp.get(), Type.SWAMP, Type.MAGICAL);
BiomeDictionary.registerBiomeType(Biomes.quagmire.get(), Type.WASTELAND);
BiomeDictionary.registerBiomeType(Biomes.rainforest.get(), Type.JUNGLE, Type.HILLS, Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.redwoodForest.get(), Type.FOREST);
@ -221,7 +229,6 @@ public class BOPBiomes {
BiomeDictionary.registerBiomeType(Biomes.seasonalForest.get(), Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.shield.get(), Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.shrubland.get(), Type.PLAINS);
BiomeDictionary.registerBiomeType(Biomes.snowyWoods.get(), Type.FROZEN);
BiomeDictionary.registerBiomeType(Biomes.spruceWoods.get(), Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.steppe.get(), Type.PLAINS, Type.WASTELAND);
BiomeDictionary.registerBiomeType(Biomes.swampwoods.get(), Type.SWAMP, Type.FOREST);
@ -229,11 +236,12 @@ public class BOPBiomes {
BiomeDictionary.registerBiomeType(Biomes.thicket.get(), Type.PLAINS, Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.tropicalRainforest.get(), Type.JUNGLE);
BiomeDictionary.registerBiomeType(Biomes.tropics.get(), Type.JUNGLE);
BiomeDictionary.registerBiomeType(Biomes.tundra.get(), Type.FROZEN);
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);
BiomeDictionary.registerBiomeType(Biomes.wetland.get(), Type.SWAMP);
BiomeDictionary.registerBiomeType(Biomes.woodland.get(), Type.FOREST);
BiomeDictionary.registerBiomeType(Biomes.plainsNew.get(), Type.PLAINS);
BiomeDictionary.registerBiomeType(Biomes.desertNew.get(), Type.DESERT);
BiomeDictionary.registerBiomeType(Biomes.forestNew.get(), Type.FOREST);
@ -257,7 +265,9 @@ public class BOPBiomes {
addSpawnBiome(Biomes.chaparral);
addSpawnBiome(Biomes.cherryBlossomGrove);
addSpawnBiome(Biomes.coniferousForest);
addSpawnBiome(Biomes.coniferousForestSnow);
addSpawnBiome(Biomes.deadForest);
addSpawnBiome(Biomes.deadForestSnow);
addSpawnBiome(Biomes.deadSwamp);
addSpawnBiome(Biomes.deciduousForest);
addSpawnBiome(Biomes.drylands);
@ -294,7 +304,6 @@ public class BOPBiomes {
addSpawnBiome(Biomes.seasonalForest);
addSpawnBiome(Biomes.shield);
addSpawnBiome(Biomes.shrubland);
addSpawnBiome(Biomes.snowyWoods);
addSpawnBiome(Biomes.spruceWoods);
addSpawnBiome(Biomes.swampwoods);
addSpawnBiome(Biomes.temperateRainforest);
@ -305,6 +314,7 @@ public class BOPBiomes {
addSpawnBiome(Biomes.volcano);
addSpawnBiome(Biomes.wetland);
addSpawnBiome(Biomes.woodland);
addSpawnBiome(Biomes.plainsNew);
addSpawnBiome(Biomes.desertNew);
addSpawnBiome(Biomes.forestNew);
@ -328,7 +338,9 @@ public class BOPBiomes {
addVillageBiome(Biomes.chaparral, BOPConfiguration.chaparralVillage);
addVillageBiome(Biomes.cherryBlossomGrove, BOPConfiguration.cherryBlossomGroveVillage);
addVillageBiome(Biomes.coniferousForest, BOPConfiguration.coniferousForestVillage);
addVillageBiome(Biomes.coniferousForestSnow, BOPConfiguration.coniferousForestSnowVillage);
addVillageBiome(Biomes.deadForest, BOPConfiguration.deadForestVillage);
addVillageBiome(Biomes.deadForestSnow, BOPConfiguration.deadForestSnowVillage);
addVillageBiome(Biomes.deadSwamp, BOPConfiguration.deadSwampVillage);
addVillageBiome(Biomes.deciduousForest, BOPConfiguration.deciduousForestVillage);
addVillageBiome(Biomes.drylands, BOPConfiguration.drylandsVillage);
@ -365,7 +377,6 @@ public class BOPBiomes {
addVillageBiome(Biomes.seasonalForest, BOPConfiguration.seasonalForestVillage);
addVillageBiome(Biomes.shield, BOPConfiguration.shieldVillage);
addVillageBiome(Biomes.shrubland, BOPConfiguration.shrublandVillage);
addVillageBiome(Biomes.snowyWoods, BOPConfiguration.snowyWoodsVillage);
addVillageBiome(Biomes.spruceWoods, BOPConfiguration.spruceWoodsVillage);
addVillageBiome(Biomes.swampwoods, BOPConfiguration.swampwoodsVillage);
addVillageBiome(Biomes.temperateRainforest, BOPConfiguration.temperateRainforestVillage);
@ -376,6 +387,7 @@ public class BOPBiomes {
addVillageBiome(Biomes.volcano, BOPConfiguration.volcanoVillage);
addVillageBiome(Biomes.wetland, BOPConfiguration.wetlandVillage);
addVillageBiome(Biomes.woodland, BOPConfiguration.woodlandVillage);
addVillageBiome(Biomes.plainsNew, BOPConfiguration.plainsVillage);
addVillageBiome(Biomes.desertNew, BOPConfiguration.desertVillage);
addVillageBiome(Biomes.forestNew, BOPConfiguration.forestVillage);
@ -399,8 +411,10 @@ public class BOPBiomes {
addStrongholdBiome(Biomes.chaparral);
addStrongholdBiome(Biomes.cherryBlossomGrove);
addStrongholdBiome(Biomes.coniferousForest);
addStrongholdBiome(Biomes.coniferousForestSnow);
addStrongholdBiome(Biomes.crag);
addStrongholdBiome(Biomes.deadForest);
addStrongholdBiome(Biomes.deadForestSnow);
addStrongholdBiome(Biomes.deadSwamp);
addStrongholdBiome(Biomes.deadlands);
addStrongholdBiome(Biomes.deciduousForest);
@ -444,7 +458,6 @@ public class BOPBiomes {
addStrongholdBiome(Biomes.seasonalForest);
addStrongholdBiome(Biomes.shield);
addStrongholdBiome(Biomes.shrubland);
addStrongholdBiome(Biomes.snowyWoods);
addStrongholdBiome(Biomes.spruceWoods);
addStrongholdBiome(Biomes.steppe);
addStrongholdBiome(Biomes.swampwoods);
@ -457,6 +470,7 @@ public class BOPBiomes {
addStrongholdBiome(Biomes.wasteland);
addStrongholdBiome(Biomes.wetland);
addStrongholdBiome(Biomes.woodland);
addStrongholdBiome(Biomes.plainsNew);
addStrongholdBiome(Biomes.desertNew);
addStrongholdBiome(Biomes.forestNew);
@ -505,12 +519,18 @@ public class BOPBiomes {
if (BOPConfiguration.coniferousForestGen)
registerBiome(Biomes.coniferousForest);
if (BOPConfiguration.coniferousForestSnowGen)
registerBiome(Biomes.coniferousForestSnow);
if (BOPConfiguration.cragGen)
registerBiome(Biomes.crag);
if (BOPConfiguration.deadForestGen)
registerBiome(Biomes.deadForest);
if (BOPConfiguration.deadForestSnowGen)
registerBiome(Biomes.deadForestSnow);
if (BOPConfiguration.deadSwampGen)
registerBiome(Biomes.deadSwamp);
@ -647,9 +667,6 @@ public class BOPBiomes {
if (BOPConfiguration.shrublandGen)
registerBiome(Biomes.shrubland);
if (BOPConfiguration.snowyWoodsGen)
registerBiome(Biomes.snowyWoods);
if (BOPConfiguration.spruceWoodsGen)
registerBiome(Biomes.spruceWoods);
@ -803,12 +820,18 @@ public class BOPBiomes {
if (BOPConfiguration.coniferousForestGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.coniferousForest);
if (BOPConfiguration.coniferousForestSnowGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.coniferousForestSnow);
if (BOPConfiguration.cragGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.crag);
if (BOPConfiguration.deadForestGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.deadForest);
if (BOPConfiguration.deadForestSnowGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.deadForestSnow);
if (BOPConfiguration.deadSwampGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.deadSwamp);
@ -942,9 +965,6 @@ public class BOPBiomes {
if (BOPConfiguration.shrublandGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.shrubland);
if (BOPConfiguration.snowyWoodsGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.snowyWoods);
if (BOPConfiguration.spruceWoodsGen)
addBiomeToWorldTypes(getWorldTypes(), Biomes.spruceWoods);

View file

@ -35,8 +35,10 @@ public class BOPConfiguration {
public static boolean chaparralGen;
public static boolean cherryBlossomGroveGen;
public static boolean coniferousForestGen;
public static boolean coniferousForestSnowGen;
public static boolean cragGen;
public static boolean deadForestGen;
public static boolean deadForestSnowGen;
public static boolean deadSwampGen;
public static boolean deadlandsGen;
public static boolean deciduousForestGen;
@ -82,7 +84,6 @@ public class BOPConfiguration {
public static boolean seasonalForestGen;
public static boolean shieldGen;
public static boolean shrublandGen;
public static boolean snowyWoodsGen;
public static boolean spruceWoodsGen;
public static boolean steppeGen;
public static boolean swampwoodsGen;
@ -228,7 +229,6 @@ public class BOPConfiguration {
//Biome IDS
public static int alpsID;
public static int arcticID;
public static int arcticForestID;
public static int badlandsID;
public static int bambooForestID;
public static int bayouID;
@ -239,9 +239,10 @@ public class BOPConfiguration {
public static int chaparralID;
public static int cherryBlossomGroveID;
public static int coniferousForestID;
public static int coniferousForestThinID;
public static int coniferousForestSnowID;
public static int cragID;
public static int deadForestID;
public static int deadForestSnowID;
public static int deadSwampID;
public static int deadlandsID;
public static int deciduousForestID;
@ -255,7 +256,6 @@ public class BOPConfiguration {
public static int glacierID;
public static int grasslandID;
public static int groveID;
public static int groveThinID;
public static int heathlandID;
public static int highlandID;
public static int icyHillsID;
@ -266,7 +266,6 @@ public class BOPConfiguration {
public static int mapleWoodsID;
public static int marshID;
public static int meadowID;
public static int meadowForestID;
public static int mesaID;
public static int moorID;
public static int mountainID;
@ -275,7 +274,7 @@ public class BOPConfiguration {
public static int netherGardenID;
public static int netherDesertID;
public static int netherLavaID;
public static int netherAbyssID;
public static int netherBoneID;
public static int oasisID;
public static int ominousWoodsID;
@ -285,22 +284,22 @@ public class BOPConfiguration {
public static int pastureID;
public static int polarID;
public static int prairieID;
public static int promisedLandForestID;
public static int promisedLandPlainsID;
public static int promisedLandSwampID;
public static int quagmireID;
public static int rainforestID;
public static int redwoodForestID;
public static int reefID;
public static int sacredSpringsID;
public static int savannaID;
public static int savannaThickID;
public static int scrublandID;
public static int seasonalForestID;
public static int shieldID;
public static int shoreID;
public static int shrublandID;
public static int snowyWoodsID;
public static int spruceWoodsID;
public static int steppeID;
public static int swampwoodsID;
@ -309,12 +308,11 @@ public class BOPConfiguration {
public static int tropicalRainforestID;
public static int tropicsID;
public static int tundraID;
public static int tundraDryID;
public static int volcanoID;
public static int wastelandID;
public static int wastelandTreesID;
public static int wetlandID;
public static int woodlandID;
public static int plainsNewID;
public static int desertNewID;
public static int desertHillsNewID;
@ -349,8 +347,10 @@ public class BOPConfiguration {
public static boolean chaparralVillage;
public static boolean cherryBlossomGroveVillage;
public static boolean coniferousForestVillage;
public static boolean coniferousForestSnowVillage;
public static boolean cragVillage;
public static boolean deadForestVillage;
public static boolean deadForestSnowVillage;
public static boolean deadSwampVillage;
public static boolean deadlandsVillage;
public static boolean deciduousForestVillage;
@ -396,7 +396,6 @@ public class BOPConfiguration {
public static boolean seasonalForestVillage;
public static boolean shieldVillage;
public static boolean shrublandVillage;
public static boolean snowyWoodsVillage;
public static boolean spruceWoodsVillage;
public static boolean steppeVillage;
public static boolean swampwoodsVillage;
@ -454,8 +453,10 @@ public class BOPConfiguration {
chaparralGen = config.get("Biomes To Generate", "Chaparral", true).getBoolean(false);
cherryBlossomGroveGen = config.get("Biomes To Generate", "CherryBlossomGrove", true).getBoolean(false);
coniferousForestGen = config.get("Biomes To Generate", "ConiferousForest", true).getBoolean(false);
coniferousForestSnowGen = config.get("Biomes To Generate", "ConiferousForestSnow", true).getBoolean(false);
cragGen = config.get("Biomes To Generate", "Crag", true).getBoolean(false);
deadForestGen = config.get("Biomes To Generate", "DeadForest", true).getBoolean(false);
deadForestSnowGen = config.get("Biomes To Generate", "DeadForestSnow", true).getBoolean(false);
deadSwampGen = config.get("Biomes To Generate", "DeadSwamp", true).getBoolean(false);
deadlandsGen = config.get("Biomes To Generate", "Deadlands", true).getBoolean(false);
deciduousForestGen = config.get("Biomes To Generate", "DeciduousForest", true).getBoolean(false);
@ -501,7 +502,6 @@ public class BOPConfiguration {
seasonalForestGen = config.get("Biomes To Generate", "SeasonalForest", true).getBoolean(false);
shieldGen = config.get("Biomes To Generate", "Shield", true).getBoolean(false);
shrublandGen = config.get("Biomes To Generate", "Shrubland", true).getBoolean(false);
snowyWoodsGen = config.get("Biomes To Generate", "SnowyWoods", true).getBoolean(false);
spruceWoodsGen = config.get("Biomes To Generate", "SpruceWoods", true).getBoolean(false);
steppeGen = config.get("Biomes To Generate", "Steppe", true).getBoolean(false);
swampwoodsGen = config.get("Biomes To Generate", "Swampwoods", true).getBoolean(false);
@ -537,8 +537,10 @@ public class BOPConfiguration {
chaparralVillage = config.get("Allow Villages", "Chaparral", true).getBoolean(false);
cherryBlossomGroveVillage = config.get("Allow Villages", "CherryBlossomGrove", true).getBoolean(false);
coniferousForestVillage = config.get("Allow Villages", "ConiferousForest", true).getBoolean(false);
coniferousForestSnowVillage = config.get("Allow Villages", "ConiferousForestSnow", true).getBoolean(false);
cragVillage = config.get("Allow Villages", "Crag", false).getBoolean(false);
deadForestVillage = config.get("Allow Villages", "DeadForest", true).getBoolean(false);
deadForestSnowVillage = config.get("Allow Villages", "DeadForestSnow", true).getBoolean(false);
deadSwampVillage = config.get("Allow Villages", "DeadSwamp", false).getBoolean(false);
deadlandsVillage = config.get("Allow Villages", "Deadlands", false).getBoolean(false);
deciduousForestVillage = config.get("Allow Villages", "DeciduousForest", true).getBoolean(false);
@ -584,7 +586,6 @@ public class BOPConfiguration {
seasonalForestVillage = config.get("Allow Villages", "SeasonalForest", true).getBoolean(false);
shieldVillage = config.get("Allow Villages", "Shield", true).getBoolean(false);
shrublandVillage = config.get("Allow Villages", "Shrubland", true).getBoolean(false);
snowyWoodsVillage = config.get("Allow Villages", "SnowyWoods", true).getBoolean(false);
spruceWoodsVillage = config.get("Allow Villages", "SpruceWoods", true).getBoolean(false);
steppeVillage = config.get("Allow Villages", "Steppe", true).getBoolean(false);
swampwoodsVillage = config.get("Allow Villages", "Swampwoods", false).getBoolean(false);
@ -739,80 +740,81 @@ public class BOPConfiguration {
//23-79 ExtraBiomesXL
promisedLandForestID = config.get("Biome IDs", "Wonderous Woods (Promised Land) ID", 73).getInt();
promisedLandPlainsID = config.get("Biome IDs", "Majestic Meadow (Promised Land) ID", 74).getInt();
promisedLandSwampID = config.get("Biome IDs", "Blessed Bog (Promised Land) ID", 75).getInt();
netherGardenID = config.get("Biome IDs", "Undergarden (Nether) ID", 76).getInt();
netherDesertID = config.get("Biome IDs", "Corrupted Sands (Nether) ID", 77).getInt();
netherLavaID = config.get("Biome IDs", "Phantasmagoric Inferno (Nether) ID", 78).getInt();
netherAbyssID = config.get("Biome IDs", "Aphotic Abyss (Nether) ID", 79).getInt();
netherBoneID = config.get("Biome IDs", "Boneyard (Nether) ID", 79).getInt();
//80-169 Better World Generation 4
promisedLandForestID = config.get("Biome IDs", "Wonderous Woods (Promised Land) ID", 170).getInt();
promisedLandPlainsID = config.get("Biome IDs", "Majestic Meadow (Promised Land) ID", 171).getInt();
promisedLandSwampID = config.get("Biome IDs", "Blessed Bog (Promised Land) ID", 172).getInt();
alpsID = config.get("Biome IDs", "Alps ID", 173).getInt();
arcticID = config.get("Biome IDs", "Arctic ID", 174).getInt();
badlandsID = config.get("Biome IDs", "Badlands ID", 175).getInt();
bambooForestID = config.get("Biome IDs", "Bamboo Forest ID", 176).getInt();
bayouID = config.get("Biome IDs", "Bayou ID", 177).getInt();
birchForestID = config.get("Biome IDs", "Birch Forest ID", 178).getInt();
bogID = config.get("Biome IDs", "Bog ID", 179).getInt();
borealForestID = config.get("Biome IDs", "Boreal Forest ID", 180).getInt();
canyonID = config.get("Biome IDs", "Canyon ID", 181).getInt();
chaparralID = config.get("Biome IDs", "Chaparral ID", 182).getInt();
cherryBlossomGroveID = config.get("Biome IDs", "Cherry Blossom Grove ID", 183).getInt();
coniferousForestID = config.get("Biome IDs", "Coniferous Forest ID", 184).getInt();
alpsID = config.get("Biome IDs", "Alps ID", 172).getInt();
arcticID = config.get("Biome IDs", "Arctic ID", 173).getInt();
badlandsID = config.get("Biome IDs", "Badlands ID", 174).getInt();
bambooForestID = config.get("Biome IDs", "Bamboo Forest ID", 175).getInt();
bayouID = config.get("Biome IDs", "Bayou ID", 176).getInt();
birchForestID = config.get("Biome IDs", "Birch Forest ID", 177).getInt();
bogID = config.get("Biome IDs", "Bog ID", 178).getInt();
borealForestID = config.get("Biome IDs", "Boreal Forest ID", 179).getInt();
canyonID = config.get("Biome IDs", "Canyon ID", 180).getInt();
chaparralID = config.get("Biome IDs", "Chaparral ID", 181).getInt();
cherryBlossomGroveID = config.get("Biome IDs", "Cherry Blossom Grove ID", 182).getInt();
coniferousForestID = config.get("Biome IDs", "Coniferous Forest ID", 183).getInt();
coniferousForestSnowID = config.get("Biome IDs", "Coniferous Forest (Snow) ID", 184).getInt();
cragID = config.get("Biome IDs", "Crag ID", 185).getInt();
deadForestID = config.get("Biome IDs", "Dead Forest ID", 186).getInt();
deadSwampID = config.get("Biome IDs", "Dead Swamp ID", 187).getInt();
deadlandsID = config.get("Biome IDs", "Deadlands ID", 188).getInt();
deciduousForestID = config.get("Biome IDs", "Deciduous Forest ID", 189).getInt();
drylandsID = config.get("Biome IDs", "Drylands ID", 190).getInt();
dunesID = config.get("Biome IDs", "Dunes ID", 191).getInt();
fenID = config.get("Biome IDs", "Fen ID", 192).getInt();
fieldID = config.get("Biome IDs", "Field ID", 193).getInt();
frostForestID = config.get("Biome IDs", "Frost Forest ID", 194).getInt();
fungiForestID = config.get("Biome IDs", "Fungi Forest ID", 195).getInt();
gardenID = config.get("Biome IDs", "Garden ID", 196).getInt();
glacierID = config.get("Biome IDs", "Glacier ID", 197).getInt();
grasslandID = config.get("Biome IDs", "Grassland ID", 198).getInt();
groveID = config.get("Biome IDs", "Grove ID", 199).getInt();
heathlandID = config.get("Biome IDs", "Heathland ID", 200).getInt();
highlandID = config.get("Biome IDs", "Highland ID", 201).getInt();
icyHillsID = config.get("Biome IDs", "Icy Hills ID", 202).getInt();
jadeCliffsID = config.get("Biome IDs", "Jade Cliffs ID", 203).getInt();
lushDesertID = config.get("Biome IDs", "Lush Desert ID", 204).getInt();
lushSwampID = config.get("Biome IDs", "Lush Swamp ID", 205).getInt();
mangroveID = config.get("Biome IDs", "Mangrove ID", 206).getInt();
deadForestSnowID = config.get("Biome IDs", "Dead Forest (Snow) ID", 187).getInt();
deadSwampID = config.get("Biome IDs", "Dead Swamp ID", 188).getInt();
deadlandsID = config.get("Biome IDs", "Deadlands ID", 189).getInt();
deciduousForestID = config.get("Biome IDs", "Deciduous Forest ID", 190).getInt();
drylandsID = config.get("Biome IDs", "Drylands ID", 191).getInt();
dunesID = config.get("Biome IDs", "Dunes ID", 192).getInt();
fenID = config.get("Biome IDs", "Fen ID", 193).getInt();
fieldID = config.get("Biome IDs", "Field ID", 194).getInt();
frostForestID = config.get("Biome IDs", "Frost Forest ID", 195).getInt();
fungiForestID = config.get("Biome IDs", "Fungi Forest ID", 196).getInt();
gardenID = config.get("Biome IDs", "Garden ID", 197).getInt();
glacierID = config.get("Biome IDs", "Glacier ID", 198).getInt();
grasslandID = config.get("Biome IDs", "Grassland ID", 199).getInt();
groveID = config.get("Biome IDs", "Grove ID", 200).getInt();
heathlandID = config.get("Biome IDs", "Heathland ID", 201).getInt();
highlandID = config.get("Biome IDs", "Highland ID", 202).getInt();
icyHillsID = config.get("Biome IDs", "Icy Hills ID", 203).getInt();
jadeCliffsID = config.get("Biome IDs", "Jade Cliffs ID", 204).getInt();
lushDesertID = config.get("Biome IDs", "Lush Desert ID", 205).getInt();
lushSwampID = config.get("Biome IDs", "Lush Swamp ID", 206).getInt();
//207-209 left for Mo Creatures
mapleWoodsID = config.get("Biome IDs", "Maple Woods ID", 210).getInt();
marshID = config.get("Biome IDs", "Marsh ID", 211).getInt();
meadowID = config.get("Biome IDs", "Meadow ID", 212).getInt();
mesaID = config.get("Biome IDs", "Mesa ID", 213).getInt();
moorID = config.get("Biome IDs", "Moor ID", 214).getInt();
mountainID = config.get("Biome IDs", "Mountain ID", 215).getInt();
mysticGroveID = config.get("Biome IDs", "Mystic Grove ID", 216).getInt();
oasisID = config.get("Biome IDs", "Oasis ID", 217).getInt();
ominousWoodsID = config.get("Biome IDs", "Ominous Woods ID", 218).getInt();
orchardID = config.get("Biome IDs", "Orchard ID", 219).getInt();
originValleyID = config.get("Biome IDs", "Origin Valley ID", 220).getInt();
outbackID = config.get("Biome IDs", "Outback ID", 221).getInt();
pastureID = config.get("Biome IDs", "Pasture ID", 222).getInt();
polarID = config.get("Biome IDs", "Polar ID", 223).getInt();
prairieID = config.get("Biome IDs", "Prairie ID", 224).getInt();
quagmireID = config.get("Biome IDs", "Quagmire ID", 225).getInt();
rainforestID = config.get("Biome IDs", "Rainforest ID", 226).getInt();
redwoodForestID = config.get("Biome IDs", "Redwood Forest ID", 227).getInt();
sacredSpringsID = config.get("Biome IDs", "Sacred Springs ID", 228).getInt();
savannaID = config.get("Biome IDs", "Savanna ID", 229).getInt();
scrublandID = config.get("Biome IDs", "Scrubland ID", 230).getInt();
seasonalForestID = config.get("Biome IDs", "Seasonal Forest ID", 231).getInt();
shieldID = config.get("Biome IDs", "Shield ID", 232).getInt();
shoreID = config.get("Biome IDs", "Shore ID", 233).getInt();
shrublandID = config.get("Biome IDs", "Shrubland ID", 234).getInt();
snowyWoodsID = config.get("Biome IDs", "Snowy Woods ID", 235).getInt();
mangroveID = config.get("Biome IDs", "Mangrove ID", 210).getInt();
mapleWoodsID = config.get("Biome IDs", "Maple Woods ID", 211).getInt();
marshID = config.get("Biome IDs", "Marsh ID", 212).getInt();
meadowID = config.get("Biome IDs", "Meadow ID", 213).getInt();
mesaID = config.get("Biome IDs", "Mesa ID", 214).getInt();
moorID = config.get("Biome IDs", "Moor ID", 215).getInt();
mountainID = config.get("Biome IDs", "Mountain ID", 216).getInt();
mysticGroveID = config.get("Biome IDs", "Mystic Grove ID", 217).getInt();
oasisID = config.get("Biome IDs", "Oasis ID", 218).getInt();
ominousWoodsID = config.get("Biome IDs", "Ominous Woods ID", 219).getInt();
orchardID = config.get("Biome IDs", "Orchard ID", 220).getInt();
originValleyID = config.get("Biome IDs", "Origin Valley ID", 221).getInt();
outbackID = config.get("Biome IDs", "Outback ID", 222).getInt();
pastureID = config.get("Biome IDs", "Pasture ID", 223).getInt();
polarID = config.get("Biome IDs", "Polar ID", 224).getInt();
prairieID = config.get("Biome IDs", "Prairie ID", 225).getInt();
quagmireID = config.get("Biome IDs", "Quagmire ID", 226).getInt();
rainforestID = config.get("Biome IDs", "Rainforest ID", 227).getInt();
redwoodForestID = config.get("Biome IDs", "Redwood Forest ID", 228).getInt();
sacredSpringsID = config.get("Biome IDs", "Sacred Springs ID", 229).getInt();
savannaID = config.get("Biome IDs", "Savanna ID", 230).getInt();
scrublandID = config.get("Biome IDs", "Scrubland ID", 231).getInt();
seasonalForestID = config.get("Biome IDs", "Seasonal Forest ID", 232).getInt();
shieldID = config.get("Biome IDs", "Shield ID", 233).getInt();
shoreID = config.get("Biome IDs", "Shore ID", 234).getInt();
shrublandID = config.get("Biome IDs", "Shrubland ID", 235).getInt();
spruceWoodsID = config.get("Biome IDs", "Spruce Woods ID", 236).getInt();
steppeID = config.get("Biome IDs", "Steppe ID", 237).getInt();
swampwoodsID = config.get("Biome IDs", "Swampwoods ID", 238).getInt();

View file

@ -24,7 +24,6 @@ public class BWG4Integration
if(Biomes.swampwoods.isPresent()) { DefaultBiomeList.addBiome("BoP: Swampwoods", Biomes.swampwoods.get(), 3); }
if(Biomes.steppe.isPresent()) { DefaultBiomeList.addBiome("BoP: Steppe", Biomes.steppe.get(), 4); }
if(Biomes.spruceWoods.isPresent()) { DefaultBiomeList.addBiome("BoP: Spruce Woods", Biomes.spruceWoods.get(), 2); }
if(Biomes.snowyWoods.isPresent()) { DefaultBiomeList.addBiome("BoP: Snowy Woods", Biomes.snowyWoods.get(), 1); }
if(Biomes.shrubland.isPresent()) { DefaultBiomeList.addBiome("BoP: Shrubland", Biomes.shrubland.get(), 2); }
if(Biomes.shield.isPresent()) { DefaultBiomeList.addBiome("BoP: Shield", Biomes.shield.get(), 2); }
if(Biomes.seasonalForest.isPresent()) { DefaultBiomeList.addBiome("BoP: Seasonal Forest", Biomes.seasonalForest.get(), 2); }
@ -69,8 +68,10 @@ public class BWG4Integration
if(Biomes.deciduousForest.isPresent()) { DefaultBiomeList.addBiome("BoP: Deciduous Forest", Biomes.deciduousForest.get(), 2); }
if(Biomes.deadlands.isPresent()) { DefaultBiomeList.addBiome("BoP: Deadlands", Biomes.deadlands.get(), 4); }
if(Biomes.deadSwamp.isPresent()) { DefaultBiomeList.addBiome("BoP: Dead Swamp", Biomes.deadSwamp.get(), 2); }
if(Biomes.deadForestSnow.isPresent()) { DefaultBiomeList.addBiome("BoP: Dead Forest (Snow)", Biomes.deadForestSnow.get(), 1); }
if(Biomes.deadForest.isPresent()) { DefaultBiomeList.addBiome("BoP: Dead Forest", Biomes.deadForest.get(), 2); }
if(Biomes.crag.isPresent()) { DefaultBiomeList.addBiome("BoP: Crag", Biomes.crag.get(), 2); }
if(Biomes.coniferousForestSnow.isPresent()) { DefaultBiomeList.addBiome("BoP: Coniferous Forest (Snow)", Biomes.coniferousForestSnow.get(), 1); }
if(Biomes.coniferousForest.isPresent()) { DefaultBiomeList.addBiome("BoP: Coniferous Forest", Biomes.coniferousForest.get(), 2); }
if(Biomes.cherryBlossomGrove.isPresent()) { DefaultBiomeList.addBiome("BoP: Cherry Blossom Grove", Biomes.cherryBlossomGrove.get(), 2); }
if(Biomes.chaparral.isPresent()) { DefaultBiomeList.addBiome("BoP: Chaparral", Biomes.chaparral.get(), 2); }

View file

@ -202,26 +202,28 @@ public class ForestryIntegration
//Cold- Normal
//Wintry Bees
EnumTemperature.coldBiomeIds.add(BOPConfiguration.tundraID);
EnumTemperature.coldBiomeIds.add(BOPConfiguration.snowyWoodsID);
EnumTemperature.coldBiomeIds.add(BOPConfiguration.deadForestSnowID);
EnumTemperature.coldBiomeIds.add(BOPConfiguration.mountainID);
EnumTemperature.coldBiomeIds.add(BOPConfiguration.taigaNewID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.tundraID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.snowyWoodsID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.deadForestSnowID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.mountainID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.taigaNewID);
//Icy - Normal
//Wintry Bees
EnumTemperature.icyBiomeIds.add(BOPConfiguration.alpsID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.arcticID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.arcticID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.coniferousForestSnowID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.frostForestID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.glacierID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.icyHillsID);
EnumTemperature.icyBiomeIds.add(BOPConfiguration.polarID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.alpsID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.arcticID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.arcticID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.coniferousForestSnowID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.frostForestID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.glacierID);
EnumHumidity.normalBiomeIds.add(BOPConfiguration.icyHillsID);

View file

@ -53,8 +53,10 @@ public class WorldChunkManagerBOP extends WorldChunkManager
addSpawnBiomes(Biomes.chaparral);
addSpawnBiomes(Biomes.cherryBlossomGrove);
addSpawnBiomes(Biomes.coniferousForest);
addSpawnBiomes(Biomes.coniferousForestSnow);
addSpawnBiomes(Biomes.crag);
addSpawnBiomes(Biomes.deadForest);
addSpawnBiomes(Biomes.deadForestSnow);
addSpawnBiomes(Biomes.deciduousForest);
addSpawnBiomes(Biomes.drylands);
addSpawnBiomes(Biomes.dunes);

View file

@ -14,7 +14,7 @@ public class WorldProviderBOPhell extends WorldProvider
{
public void registerWorldChunkManager()
{
if (Biomes.netherGarden.isPresent() || Biomes.netherDesert.isPresent() || Biomes.netherLava.isPresent() || Biomes.netherAbyss.isPresent())
if (Biomes.netherGarden.isPresent() || Biomes.netherDesert.isPresent() || Biomes.netherLava.isPresent() || Biomes.netherBone.isPresent())
{
this.worldChunkMgr = new WorldChunkManagerBOPhell(worldObj);
}

View file

@ -66,6 +66,10 @@ public class WorldTypeBOP extends WorldType
{
addNewBiome(Biomes.coniferousForest);
}
if (BOPConfiguration.coniferousForestSnowGen == true)
{
addNewBiome(Biomes.coniferousForestSnow);
}
if (BOPConfiguration.cragGen == true)
{
addNewBiome(Biomes.crag);
@ -74,6 +78,10 @@ public class WorldTypeBOP extends WorldType
{
addNewBiome(Biomes.deadForest);
}
if (BOPConfiguration.deadForestSnowGen == true)
{
addNewBiome(Biomes.deadForestSnow);
}
if (BOPConfiguration.deadSwampGen == true)
{
addNewBiome(Biomes.deadSwamp);
@ -250,10 +258,6 @@ public class WorldTypeBOP extends WorldType
{
addNewBiome(Biomes.shrubland);
}
if (BOPConfiguration.snowyWoodsGen == true)
{
addNewBiome(Biomes.snowyWoods);
}
if (BOPConfiguration.spruceWoodsGen == true)
{
addNewBiome(Biomes.spruceWoods);

View file

@ -5,7 +5,7 @@ import java.util.ArrayList;
import com.google.common.base.Optional;
import biomesoplenty.api.Biomes;
import biomesoplenty.biomes.BiomeGenNetherAbyss;
import biomesoplenty.biomes.BiomeGenNetherBone;
import biomesoplenty.biomes.BiomeGenNetherDesert;
import biomesoplenty.biomes.BiomeGenNetherGarden;
import biomesoplenty.biomes.BiomeGenNetherLava;
@ -38,15 +38,15 @@ public class BiomeLayerBiomes extends BiomeLayer
}
if (Biomes.netherDesert.isPresent())
{
//netherBiomes.add(Biomes.netherDesert.get());
netherBiomes.add(Biomes.netherDesert.get());
}
if (Biomes.netherLava.isPresent())
{
netherBiomes.add(Biomes.netherLava.get());
}
if (Biomes.netherAbyss.isPresent())
if (Biomes.netherBone.isPresent())
{
//netherBiomes.add(Biomes.netherAbyss.get());
netherBiomes.add(Biomes.netherBone.get());
}
//PROMISED BIOMES

View file

@ -0,0 +1,70 @@
package biomesoplenty.worldgen;
import java.util.Random;
import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPBlocks;
import net.minecraft.block.Block;
import net.minecraft.world.World;
import net.minecraft.world.gen.feature.WorldGenerator;
public class WorldGenTundra1 extends WorldGenerator
{
public boolean generate(World var1, Random var2, int var3, int var4, int var5)
{
while (var1.isAirBlock(var3, var4, var5) && var4 > 2)
{
--var4;
}
int var6 = var1.getBlockId(var3, var4, var5);
int var95 = var1.getBlockId(var3 - 1, var4, var5);
int var96 = var1.getBlockId(var3 + 1, var4, var5);
int var97 = var1.getBlockId(var3, var4, var5 - 1);
int var98 = var1.getBlockId(var3, var4, var5 + 1);
if (var6 != Block.grass.blockID || var95 != Block.grass.blockID || var96 != Block.grass.blockID || var97 != Block.grass.blockID || var98 != Block.grass.blockID )
{
return false;
}
else
{
for (int var7 = -2; var7 <= 2; ++var7)
{
for (int var8 = -2; var8 <= 2; ++var8)
{
if (var1.isAirBlock(var3 + var7, var4 - 1, var5 + var8) && var1.isAirBlock(var3 + var7, var4 - 2, var5 + var8))
{
return false;
}
}
}
int var999 = var2.nextInt(2);
if (var999 == 0)
{
var1.setBlock(var3, var4, var5, Block.dirt.blockID);
var1.setBlock(var3 - 1, var4, var5, Block.dirt.blockID);
var1.setBlock(var3 + 1, var4, var5, Block.dirt.blockID);
var1.setBlock(var3, var4, var5 - 1, Block.dirt.blockID);
var1.setBlock(var3, var4, var5 + 1, Block.dirt.blockID);
this.setBlockAndMetadata(var1, var3 + 1, var4 + 1, var5, Block.stone.blockID, 0);
this.setBlockAndMetadata(var1, var3 - 1, var4 + 1, var5, Block.stone.blockID, 0);
this.setBlockAndMetadata(var1, var3, var4 + 1, var5 + 1, Block.stone.blockID, 0);
this.setBlockAndMetadata(var1, var3, var4 + 1, var5 - 1, Block.stone.blockID, 0);
this.setBlockAndMetadata(var1, var3, var4 + 2, var5, Block.stone.blockID, 0);
return true;
}
if (var999 == 1)
{
var1.setBlock(var3, var4, var5, Block.dirt.blockID);
this.setBlockAndMetadata(var1, var3, var4 + 1, var5, Block.stone.blockID, 0);
return true;
}
return true;
}
}
}