Tweaked reed gen

This commit is contained in:
Matt Caughey 2013-09-23 20:20:50 -04:00
parent afacb43d3f
commit 1147f017a3
20 changed files with 19 additions and 16 deletions

View file

@ -42,7 +42,7 @@ public class BiomeGenBayou extends BiomeGenBase
customBiomeDecorator.algaePerChunk = 1; customBiomeDecorator.algaePerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 2; customBiomeDecorator.shrubsPerChunk = 2;
customBiomeDecorator.wheatGrassPerChunk = 7; customBiomeDecorator.wheatGrassPerChunk = 7;
customBiomeDecorator.waterReedsPerChunk = 3; customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.generatePumpkins = false; customBiomeDecorator.generatePumpkins = false;
waterColorMultiplier = 16767282; waterColorMultiplier = 16767282;
spawnableWaterCreatureList.clear(); spawnableWaterCreatureList.clear();

View file

@ -40,7 +40,7 @@ public class BiomeGenBog extends BiomeGenBase
customBiomeDecorator.waterLakesPerChunk = 6; customBiomeDecorator.waterLakesPerChunk = 6;
customBiomeDecorator.wheatGrassPerChunk = 3; customBiomeDecorator.wheatGrassPerChunk = 3;
customBiomeDecorator.poisonWaterPerChunk = 2; customBiomeDecorator.poisonWaterPerChunk = 2;
customBiomeDecorator.waterReedsPerChunk = 5; customBiomeDecorator.waterReedsPerChunk = 8;
customBiomeDecorator.shrubsPerChunk = 10; customBiomeDecorator.shrubsPerChunk = 10;
customBiomeDecorator.generatePumpkins = false; customBiomeDecorator.generatePumpkins = false;
} }

View file

@ -32,7 +32,7 @@ public class BiomeGenDeadSwamp extends BiomeGenBase
customBiomeDecorator.sandPerChunk2 = -999; customBiomeDecorator.sandPerChunk2 = -999;
customBiomeDecorator.reedsBOPPerChunk = 2; customBiomeDecorator.reedsBOPPerChunk = 2;
customBiomeDecorator.wheatGrassPerChunk = 10; customBiomeDecorator.wheatGrassPerChunk = 10;
customBiomeDecorator.waterReedsPerChunk = 3; customBiomeDecorator.waterReedsPerChunk = 4;
spawnableCreatureList.clear(); spawnableCreatureList.clear();
spawnableWaterCreatureList.clear(); spawnableWaterCreatureList.clear();
waterColorMultiplier = 10661201; waterColorMultiplier = 10661201;

View file

@ -30,7 +30,7 @@ public class BiomeGenDeciduousForest extends BiomeGenBase
customBiomeDecorator.poisonIvyPerChunk = 1; customBiomeDecorator.poisonIvyPerChunk = 1;
customBiomeDecorator.wheatGrassPerChunk = 10; customBiomeDecorator.wheatGrassPerChunk = 10;
customBiomeDecorator.shrubsPerChunk = 10; customBiomeDecorator.shrubsPerChunk = 10;
customBiomeDecorator.waterReedsPerChunk = 1; customBiomeDecorator.waterReedsPerChunk = 2;
} }
/** /**

View file

@ -25,6 +25,7 @@ public class BiomeGenDunes extends BiomeGenBase
customBiomeDecorator.desertSproutsPerChunk = 25; customBiomeDecorator.desertSproutsPerChunk = 25;
customBiomeDecorator.aloePerChunk = 5; customBiomeDecorator.aloePerChunk = 5;
customBiomeDecorator.reedsPerChunk = -999; customBiomeDecorator.reedsPerChunk = -999;
customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.generateLakes = false; customBiomeDecorator.generateLakes = false;
} }

View file

@ -41,7 +41,7 @@ public class BiomeGenFen extends BiomeGenBase
customBiomeDecorator.algaePerChunk = 1; customBiomeDecorator.algaePerChunk = 1;
customBiomeDecorator.portobellosPerChunk = 1; customBiomeDecorator.portobellosPerChunk = 1;
customBiomeDecorator.wheatGrassPerChunk = 8; customBiomeDecorator.wheatGrassPerChunk = 8;
customBiomeDecorator.waterReedsPerChunk = 6; customBiomeDecorator.waterReedsPerChunk = 10;
customBiomeDecorator.shrubsPerChunk = 7; customBiomeDecorator.shrubsPerChunk = 7;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3)); spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));
} }

View file

@ -34,7 +34,7 @@ public class BiomeGenLushSwamp extends BiomeGenBase
customBiomeDecorator.poisonWaterPerChunk = 2; customBiomeDecorator.poisonWaterPerChunk = 2;
customBiomeDecorator.carrotsPerChunk = 1; customBiomeDecorator.carrotsPerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 5; customBiomeDecorator.shrubsPerChunk = 5;
customBiomeDecorator.waterReedsPerChunk = 5; customBiomeDecorator.waterReedsPerChunk = 6;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1)); spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
} }

View file

@ -27,7 +27,7 @@ public class BiomeGenMangrove extends BiomeGenBase
customBiomeDecorator.deadGrassPerChunk = 9; customBiomeDecorator.deadGrassPerChunk = 9;
customBiomeDecorator.reedsPerChunk = -999; customBiomeDecorator.reedsPerChunk = -999;
customBiomeDecorator.cactiPerChunk = -999; customBiomeDecorator.cactiPerChunk = -999;
customBiomeDecorator.waterReedsPerChunk = 4; customBiomeDecorator.waterReedsPerChunk = 2;
customBiomeDecorator.desertSproutsPerChunk = 1; customBiomeDecorator.desertSproutsPerChunk = 1;
customBiomeDecorator.waterLakesPerChunk = 10; customBiomeDecorator.waterLakesPerChunk = 10;
} }

View file

@ -31,7 +31,7 @@ public class BiomeGenQuagmire extends BiomeGenBase
customBiomeDecorator.sandPerChunk = -999; customBiomeDecorator.sandPerChunk = -999;
customBiomeDecorator.sandPerChunk2 = -999; customBiomeDecorator.sandPerChunk2 = -999;
customBiomeDecorator.wheatGrassPerChunk = 3; customBiomeDecorator.wheatGrassPerChunk = 3;
customBiomeDecorator.waterReedsPerChunk = 1; customBiomeDecorator.waterReedsPerChunk = 2;
waterColorMultiplier = 13390080; waterColorMultiplier = 13390080;
customBiomeDecorator.generateQuagmire = true; customBiomeDecorator.generateQuagmire = true;
} }

View file

@ -29,6 +29,7 @@ public class BiomeGenShield extends BiomeGenBase
customBiomeDecorator.gravelPerChunk = 6; customBiomeDecorator.gravelPerChunk = 6;
customBiomeDecorator.gravelPerChunk2 = 6; customBiomeDecorator.gravelPerChunk2 = 6;
customBiomeDecorator.shrubsPerChunk = 4; customBiomeDecorator.shrubsPerChunk = 4;
customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.generateStoneInGrass2 = true; customBiomeDecorator.generateStoneInGrass2 = true;
} }

View file

@ -39,7 +39,7 @@ public class BiomeGenSilkglades extends BiomeGenBase
customBiomeDecorator.sproutsPerChunk = 2; customBiomeDecorator.sproutsPerChunk = 2;
customBiomeDecorator.poisonIvyPerChunk = 2; customBiomeDecorator.poisonIvyPerChunk = 2;
customBiomeDecorator.cobwebsPerChunk = 9; customBiomeDecorator.cobwebsPerChunk = 9;
customBiomeDecorator.waterReedsPerChunk = 3; customBiomeDecorator.waterReedsPerChunk = 4;
customBiomeDecorator.generatePumpkins = true; customBiomeDecorator.generatePumpkins = true;
waterColorMultiplier = 16777079; waterColorMultiplier = 16777079;
spawnableWaterCreatureList.clear(); spawnableWaterCreatureList.clear();

View file

@ -39,7 +39,7 @@ public class BiomeGenSludgepit extends BiomeGenBase
customBiomeDecorator.deadBushPerChunk = 5; customBiomeDecorator.deadBushPerChunk = 5;
customBiomeDecorator.algaePerChunk = 2; customBiomeDecorator.algaePerChunk = 2;
customBiomeDecorator.poisonWaterPerChunk = 5; customBiomeDecorator.poisonWaterPerChunk = 5;
customBiomeDecorator.waterReedsPerChunk = 4; customBiomeDecorator.waterReedsPerChunk = 6;
spawnableCreatureList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1)); spawnableCreatureList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
waterColorMultiplier = 11506176; waterColorMultiplier = 11506176;
} }

View file

@ -27,6 +27,7 @@ public class BiomeGenTimber extends BiomeGenBase
customBiomeDecorator.thornsPerChunk = 2; customBiomeDecorator.thornsPerChunk = 2;
customBiomeDecorator.flowersPerChunk = -999; customBiomeDecorator.flowersPerChunk = -999;
customBiomeDecorator.toadstoolsPerChunk = 2; customBiomeDecorator.toadstoolsPerChunk = 2;
customBiomeDecorator.waterReedsPerChunk = 2;
customBiomeDecorator.shrubsPerChunk = 10; customBiomeDecorator.shrubsPerChunk = 10;
} }

View file

@ -45,7 +45,7 @@ public class BiomeGenWetland extends BiomeGenBase
customBiomeDecorator.portobellosPerChunk = 1; customBiomeDecorator.portobellosPerChunk = 1;
customBiomeDecorator.berryBushesPerChunk = 1; customBiomeDecorator.berryBushesPerChunk = 1;
customBiomeDecorator.shrubsPerChunk = 10; customBiomeDecorator.shrubsPerChunk = 10;
customBiomeDecorator.waterReedsPerChunk = 7; customBiomeDecorator.waterReedsPerChunk = 8;
spawnableCreatureList.clear(); spawnableCreatureList.clear();
spawnableWaterCreatureList.clear(); spawnableWaterCreatureList.clear();
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3)); spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 10, 1, 3));

View file

@ -26,7 +26,7 @@ public class BiomeGenBeachOvergrown extends BiomeGenBase
customBiomeDecorator.duneGrassPerChunk = 25; customBiomeDecorator.duneGrassPerChunk = 25;
customBiomeDecorator.cactiPerChunk = 5; customBiomeDecorator.cactiPerChunk = 5;
customBiomeDecorator.outbackPerChunk = 7; customBiomeDecorator.outbackPerChunk = 7;
customBiomeDecorator.waterReedsPerChunk = 6; customBiomeDecorator.waterReedsPerChunk = 4;
} }
/** /**

View file

@ -39,7 +39,7 @@ public class BiomeGenSwampNew extends BiomeGenBase
customBiomeDecorator.mudPerChunk = 9; customBiomeDecorator.mudPerChunk = 9;
customBiomeDecorator.mudPerChunk2 = 9; customBiomeDecorator.mudPerChunk2 = 9;
customBiomeDecorator.portobellosPerChunk = 1; customBiomeDecorator.portobellosPerChunk = 1;
customBiomeDecorator.waterReedsPerChunk = 5; customBiomeDecorator.waterReedsPerChunk = 4;
waterColorMultiplier = 14745456; waterColorMultiplier = 14745456;
spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1)); spawnableMonsterList.add(new SpawnListEntry(EntitySlime.class, 1, 1, 1));
} }

View file

@ -14,11 +14,11 @@ public class WorldGenWaterReeds extends WorldGenerator
{ {
for (int var6 = 0; var6 < 64; ++var6) for (int var6 = 0; var6 < 64; ++var6)
{ {
int var7 = par3 + par2Random.nextInt(4) - par2Random.nextInt(4); int var7 = par3 + par2Random.nextInt(8) - par2Random.nextInt(8);
int var8 = par4 + par2Random.nextInt(4) - par2Random.nextInt(4); int var8 = par4 + par2Random.nextInt(4) - par2Random.nextInt(4);
int var9 = par5 + par2Random.nextInt(4) - par2Random.nextInt(4); int var9 = par5 + par2Random.nextInt(8) - par2Random.nextInt(8);
if (par1World.isAirBlock(var7, var8, var9) && par1World.getBlockId(var7, var8 - 1, var9) == Block.waterStill.blockID) if (par1World.isAirBlock(var7, var8, var9) && par1World.getBlockId(var7, var8 - 1, var9) == Block.waterStill.blockID && par1World.getBlockId(var7, var8 - 2, var9) != Block.waterStill.blockID)
{ {
par1World.setBlock(var7, var8, var9, Blocks.plants.get().blockID, 14, 2); par1World.setBlock(var7, var8, var9, Blocks.plants.get().blockID, 14, 2);
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 456 B

After

Width:  |  Height:  |  Size: 456 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 B

After

Width:  |  Height:  |  Size: 610 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 508 B

After

Width:  |  Height:  |  Size: 511 B