Tweaked the Savanna. Made some changes to a few textures.

This commit is contained in:
Matt Caughey 2013-05-15 15:20:32 -04:00
parent 530ee6fbd9
commit 51eebc193c
9 changed files with 16 additions and 16 deletions

View file

@ -1,5 +1,4 @@
- Redo the Promised Land portal, allowing for multiple portals.
- Fix darts moving too fast and doing too much damage.
- Try to fix Promised Land lag.
- Add Acacia trees from BWG4.
- Reduce excessive amounts of mobs in the Promised Lands.
- Reduce excessive amounts of mobs in the Promised Lands.
- Fix sunflowers and lilyflowers dropping clovers.

View file

@ -22,11 +22,12 @@ public class BiomeGenSavanna extends BiomeGenBase
super(par1);
this.theBiomeDecorator = new BiomeDecoratorBOP(this);
this.customBiomeDecorator = (BiomeDecoratorBOP)theBiomeDecorator;
this.customBiomeDecorator.treesPerChunk = 1;
this.customBiomeDecorator.treesPerChunk = 2;
this.customBiomeDecorator.flowersPerChunk = -999;
this.customBiomeDecorator.purpleFlowersPerChunk = 10;
this.customBiomeDecorator.tinyFlowersPerChunk = 2;
this.customBiomeDecorator.grassPerChunk = 25;
this.customBiomeDecorator.bushesPerChunk = 10;
this.customBiomeDecorator.generatePumpkins = false;
}
@ -35,7 +36,7 @@ public class BiomeGenSavanna extends BiomeGenBase
*/
public WorldGenerator getRandomWorldGenForTrees(Random par1Random)
{
return (WorldGenerator)(par1Random.nextInt(3) == 0 ? new WorldGenShrub(0, 0) : new WorldGenAcacia(false));
return (WorldGenerator)(par1Random.nextInt(3) == 0 ? new WorldGenAcacia(false) : new WorldGenShrub(0,0));
}
/**

View file

@ -94,7 +94,7 @@ public class BOPBiomes {
Biomes.highland = Optional.of((new BiomeGenHighland(BOPConfiguration.highlandID)).setColor(6316128).setBiomeName("Highland").setMinMaxHeight(0.9F, 1.9F).setTemperatureRainfall(0.5F, 0.5F));
Biomes.icyHills = Optional.of((new BiomeGenIcyHills(BOPConfiguration.icyHillsID)).setColor(14090235).setBiomeName("Icy Hills").setEnableSnow().setTemperatureRainfall(0.0F, 0.0F).setMinMaxHeight(0.1F, 0.8F));
Biomes.jadeCliffs = Optional.of((new BiomeGenJadeCliffs(BOPConfiguration.jadeCliffsID)).setColor(14090235).setBiomeName("Jade Cliffs").setTemperatureRainfall(0.5F, 0.1F).setMinMaxHeight(0.1F, 2.0F));
Biomes.lushDesert = Optional.of((new BiomeGenLushDesert(BOPConfiguration.lushDesertID)).setColor(16421912).setBiomeName("Lush Desert").setTemperatureRainfall(0.8F, 0.2F).setMinMaxHeight(0.1F, 1.5F));
Biomes.lushDesert = Optional.of((new BiomeGenLushDesert(BOPConfiguration.lushDesertID)).setColor(16421912).setBiomeName("Lush Desert").setTemperatureRainfall(0.8F, 0.2F).setMinMaxHeight(0.1F, 0.9F));
Biomes.lushSwamp = Optional.of((new BiomeGenLushSwamp(BOPConfiguration.lushSwampID)).setColor(522674).setBiomeName("Lush Swamp").func_76733_a(9154376).setMinMaxHeight(-0.2F, 0.1F).setTemperatureRainfall(0.7F, 1.0F));
Biomes.mangrove = Optional.of((new BiomeGenMangrove(BOPConfiguration.mangroveID)).setColor(16440917).setBiomeName("Mangrove").setMinMaxHeight(-0.4F, -0.1F).setTemperatureRainfall(0.8F, 0.9F));
Biomes.mapleWoods = Optional.of((new BiomeGenMapleWoods(BOPConfiguration.mapleWoodsID)).setColor(747097).setBiomeName("Maple Woods").func_76733_a(5159473).setTemperatureRainfall(0.2F, 0.8F).setMinMaxHeight(0.1F, 0.6F));

View file

@ -47,28 +47,28 @@ public class WorldGenAcacia extends WorldGenerator
int var5 = par1World.getBlockId(x, y - 1, z);
if (var5 != Block.grass.blockID) { return false; }
int rand = 4 + par2Random.nextInt(3);
for(int i = 0; i < rand; i++) { par1World.setBlock(x, y + i, z, Block.wood.blockID); }
for(int i = 0; i < rand; i++) { par1World.setBlock(x, y + i, z, Blocks.logs1.get().blockID, 0, 2); }
if(par2Random.nextInt(4) == 0) { //branch1
par1World.setBlock(x + 0, y + rand + 1, z + 1, Block.wood.blockID);
par1World.setBlock(x + 1, y + rand + 2, z + 2, Block.wood.blockID);
par1World.setBlock(x + 0, y + rand + 1, z + 1, Blocks.logs1.get().blockID, 0, 2);
par1World.setBlock(x + 1, y + rand + 2, z + 2, Blocks.logs1.get().blockID, 0, 2);
createAcaciaLeaves(par1World, par2Random, x + 1, y + rand + 2, z + 2, 3);
createAcaciaLeaves(par1World, par2Random, x + 1, y + rand + 3, z + 2, 2);
}
if(par2Random.nextInt(4) == 0) { //branch2
par1World.setBlock(x + 1, y + rand + 0, z + 0, Block.wood.blockID);
par1World.setBlock(x + 2, y + rand + 1, z + 0, Block.wood.blockID);
par1World.setBlock(x + 3, y + rand + 2, z - 1, Block.wood.blockID);
par1World.setBlock(x + 1, y + rand + 0, z + 0, Blocks.logs1.get().blockID, 0, 2);
par1World.setBlock(x + 2, y + rand + 1, z + 0, Blocks.logs1.get().blockID, 0, 2);
par1World.setBlock(x + 3, y + rand + 2, z - 1, Blocks.logs1.get().blockID, 0, 2);
createAcaciaLeaves(par1World, par2Random, x + 3, y + rand + 3, z - 1, 3);
createAcaciaLeaves(par1World, par2Random, x + 3, y + rand + 4, z - 1, 2);
}
if(par2Random.nextInt(4) == 0) { //branch3
par1World.setBlock(x - 1, y + rand + 0, z + 0, Block.wood.blockID);
par1World.setBlock(x - 2, y + rand + 1, z + 0, Block.wood.blockID);
par1World.setBlock(x - 3, y + rand + 2, z - 1, Block.wood.blockID);
par1World.setBlock(x - 4, y + rand + 3, z - 2, Block.wood.blockID);
par1World.setBlock(x - 1, y + rand + 0, z + 0, Blocks.logs1.get().blockID, 0, 2);
par1World.setBlock(x - 2, y + rand + 1, z + 0, Blocks.logs1.get().blockID, 0, 2);
par1World.setBlock(x - 3, y + rand + 2, z - 1, Blocks.logs1.get().blockID, 0, 2);
par1World.setBlock(x - 4, y + rand + 3, z - 2, Blocks.logs1.get().blockID, 0, 2);
createAcaciaLeaves(par1World, par2Random, x - 4, y + rand + 4, z - 2, 3);
createAcaciaLeaves(par1World, par2Random, x - 4, y + rand + 5, z - 2, 2);
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 590 B

After

Width:  |  Height:  |  Size: 732 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 391 B

After

Width:  |  Height:  |  Size: 372 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 492 B

After

Width:  |  Height:  |  Size: 500 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 432 B

After

Width:  |  Height:  |  Size: 428 B