Tweaked the Deciduous Forest and Shrubland
This commit is contained in:
parent
7a4759b251
commit
da7f311e7f
2 changed files with 8 additions and 6 deletions
|
@ -25,7 +25,7 @@ public class BiomeGenDeciduousForest extends BOPBiome
|
||||||
this.setColor(12695369);
|
this.setColor(12695369);
|
||||||
this.setTemperatureRainfall(0.7F, 0.8F);
|
this.setTemperatureRainfall(0.7F, 0.8F);
|
||||||
|
|
||||||
this.theBiomeDecorator.treesPerChunk = 15;
|
this.theBiomeDecorator.treesPerChunk = 18;
|
||||||
this.theBiomeDecorator.grassPerChunk = 10;
|
this.theBiomeDecorator.grassPerChunk = 10;
|
||||||
this.theBiomeDecorator.flowersPerChunk = -999;
|
this.theBiomeDecorator.flowersPerChunk = -999;
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ public class BiomeGenDeciduousForest extends BOPBiome
|
||||||
//TODO: getRandomWorldGenForTrees()
|
//TODO: getRandomWorldGenForTrees()
|
||||||
public WorldGenAbstractTree func_150567_a(Random random)
|
public WorldGenAbstractTree func_150567_a(Random random)
|
||||||
{
|
{
|
||||||
return random.nextInt(4) == 0 ? new WorldGenShrub(2,2) : new WorldGenBulbTree(Blocks.log, Blocks.leaves, 0, 0, false, 10, 15, false);
|
return random.nextInt(6) == 0 ? new WorldGenShrub(2,2) : (random.nextInt(3) == 0 ? new WorldGenShrub(0,0) : new WorldGenBulbTree(Blocks.log, Blocks.leaves, 0, 0, false, 10, 15, false));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,14 +78,16 @@ public class BiomeGenDeciduousForest extends BOPBiome
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getBiomeGrassColor(int p_150558_1_, int p_150558_2_, int p_150558_3_)
|
public int getBiomeGrassColor(int x, int y, int z)
|
||||||
{
|
{
|
||||||
return 12695369;
|
double d0 = plantNoise.func_151601_a((double)x * 0.0225D, (double)z * 0.0225D);
|
||||||
|
return d0 < -0.1D ? 12695369 : 11374145;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int getBiomeFoliageColor(int x, int y, int z)
|
public int getBiomeFoliageColor(int x, int y, int z)
|
||||||
{
|
{
|
||||||
return 12896570;
|
double d0 = plantNoise.func_151601_a((double)x * 0.0225D, (double)z * 0.0225D);
|
||||||
|
return d0 < -0.1D ? 12896570 : 11510344;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,7 @@ public class BiomeGenShrubland extends BOPBiome
|
||||||
|
|
||||||
this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6));
|
this.spawnableCreatureList.add(new SpawnListEntry(EntityHorse.class, 5, 2, 6));
|
||||||
|
|
||||||
this.theBiomeDecorator.treesPerChunk = 0;
|
this.theBiomeDecorator.treesPerChunk = 1;
|
||||||
this.theBiomeDecorator.flowersPerChunk = 0;
|
this.theBiomeDecorator.flowersPerChunk = 0;
|
||||||
this.theBiomeDecorator.grassPerChunk = 5;
|
this.theBiomeDecorator.grassPerChunk = 5;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue