Fixed Cold Beaches generating around Mystic Groves, and made the Coniferous Forest look nicer

This commit is contained in:
Matt Caughey 2014-04-01 20:25:40 -04:00
parent e5c3636f0b
commit 72c53ce6f4
5 changed files with 13 additions and 11 deletions

View file

@ -18,6 +18,7 @@ public class BiomeGenAlps extends BOPBiome
this.setHeight(biomeHeight);
this.setColor(13421772);
this.setEnableSnow();
this.setTemperatureRainfall(0.0F, 0.5F);
this.topBlock = Blocks.stone;

View file

@ -16,7 +16,7 @@ import java.util.Random;
public class BiomeGenConiferousForest extends BOPBiome
{
private static final Height biomeHeight = new Height(0.2F, 0.4F);
private static final Height biomeHeight = new Height(0.1F, 0.3F);
public BiomeGenConiferousForest(int id)
{
@ -62,9 +62,9 @@ public class BiomeGenConiferousForest extends BOPBiome
//TODO: getRandomWorldGenForTrees()
public WorldGenAbstractTree func_150567_a(Random random)
{
return random.nextInt(3) == 0 ? new WorldGenBOPTaiga3(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 35, 10, 0):
(random.nextInt(5) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 20, 15, 4) :
new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 10, 10, 5));
return random.nextInt(6) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 10, 10, 5) :
(random.nextInt(3) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 20, 15, 4) :
new WorldGenBOPTaiga3(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 35, 10, 0));
}
@Override

View file

@ -16,7 +16,7 @@ import java.util.Random;
public class BiomeGenConiferousForestSnow extends BOPBiome
{
private static final Height biomeHeight = new Height(0.2F, 0.4F);
private static final Height biomeHeight = new Height(0.1F, 0.3F);
public BiomeGenConiferousForestSnow(int id)
{
@ -24,6 +24,7 @@ public class BiomeGenConiferousForestSnow extends BOPBiome
//TODO: setHeight()
this.setHeight(biomeHeight);
this.setEnableSnow();
//TODO: setColor()
this.setColor(16777215);
this.setTemperatureRainfall(0.0F, 0.5F);
@ -53,14 +54,14 @@ public class BiomeGenConiferousForestSnow extends BOPBiome
this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPDoubleFlora(3, 64), 0.25D);
}
@Override
@Override
//TODO: getRandomWorldGenForTrees()
public WorldGenAbstractTree func_150567_a(Random random)
{
return random.nextInt(5) == 0 ? new WorldGenBOPTaiga3(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 35, 10, 0) :
(random.nextInt(3) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 20, 15, 4) :
new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 10, 10, 5));
}
return random.nextInt(6) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 10, 10, 5) :
(random.nextInt(3) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 20, 15, 4) :
new WorldGenBOPTaiga3(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 35, 10, 0));
}
@Override
public void decorate(World world, Random random, int chunkX, int chunkZ)

View file

@ -22,6 +22,7 @@ public class BiomeGenDeadForest extends BOPBiome
this.setHeight(biomeHeight);
this.setColor(12362085);
this.setEnableSnow();
this.setTemperatureRainfall(0.2F, 0.8F);
this.theBiomeDecorator.treesPerChunk = 3;

View file

@ -23,7 +23,6 @@ public class BiomeGenMysticGrove extends BOPBiome
//TODO: setHeight()
this.setHeight(biomeHeight);
this.setEnableSnow();
//TODO: setColor()
this.setColor(6934491);
this.setTemperatureRainfall(0.9F, 1.0F);