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.setHeight(biomeHeight);
this.setColor(13421772); this.setColor(13421772);
this.setEnableSnow();
this.setTemperatureRainfall(0.0F, 0.5F); this.setTemperatureRainfall(0.0F, 0.5F);
this.topBlock = Blocks.stone; this.topBlock = Blocks.stone;

View file

@ -16,7 +16,7 @@ import java.util.Random;
public class BiomeGenConiferousForest extends BOPBiome 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) public BiomeGenConiferousForest(int id)
{ {
@ -62,9 +62,9 @@ public class BiomeGenConiferousForest extends BOPBiome
//TODO: getRandomWorldGenForTrees() //TODO: getRandomWorldGenForTrees()
public WorldGenAbstractTree func_150567_a(Random random) 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): return random.nextInt(6) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 10, 10, 5) :
(random.nextInt(5) == 0 ? new WorldGenBOPTaiga2(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 20, 15, 4) : (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)); new WorldGenBOPTaiga3(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 35, 10, 0));
} }
@Override @Override

View file

@ -16,7 +16,7 @@ import java.util.Random;
public class BiomeGenConiferousForestSnow extends BOPBiome 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) public BiomeGenConiferousForestSnow(int id)
{ {
@ -24,6 +24,7 @@ public class BiomeGenConiferousForestSnow extends BOPBiome
//TODO: setHeight() //TODO: setHeight()
this.setHeight(biomeHeight); this.setHeight(biomeHeight);
this.setEnableSnow();
//TODO: setColor() //TODO: setColor()
this.setColor(16777215); this.setColor(16777215);
this.setTemperatureRainfall(0.0F, 0.5F); 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); this.bopWorldFeatures.weightedGrassGen.put(new WorldGenBOPDoubleFlora(3, 64), 0.25D);
} }
@Override @Override
//TODO: getRandomWorldGenForTrees() //TODO: getRandomWorldGenForTrees()
public WorldGenAbstractTree func_150567_a(Random random) 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) : 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) : (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)); new WorldGenBOPTaiga3(BOPBlockHelper.get("logs1"), BOPBlockHelper.get("leaves2"), 3, 1, false, 35, 10, 0));
} }
@Override @Override
public void decorate(World world, Random random, int chunkX, int chunkZ) 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.setHeight(biomeHeight);
this.setColor(12362085); this.setColor(12362085);
this.setEnableSnow();
this.setTemperatureRainfall(0.2F, 0.8F); this.setTemperatureRainfall(0.2F, 0.8F);
this.theBiomeDecorator.treesPerChunk = 3; this.theBiomeDecorator.treesPerChunk = 3;

View file

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