Tweaked the algae generation and texture

This commit is contained in:
Matt Caughey 2013-05-20 12:17:33 -04:00
parent 5c53c46290
commit ea79e20990
3 changed files with 3 additions and 3 deletions

View file

@ -15,9 +15,9 @@ public class WorldGenAlgae extends WorldGenerator
{ {
for (int var6 = 0; var6 < 80; ++var6) for (int var6 = 0; var6 < 80; ++var6)
{ {
int var7 = par3 + par2Random.nextInt(8) - par2Random.nextInt(8); int var7 = par3 + par2Random.nextInt(4) - par2Random.nextInt(4);
int var8 = par4 + par2Random.nextInt(4) - par2Random.nextInt(4); int var8 = par4 + par2Random.nextInt(4) - par2Random.nextInt(4);
int var9 = par5 + par2Random.nextInt(8) - par2Random.nextInt(8); int var9 = par5 + par2Random.nextInt(4) - par2Random.nextInt(4);
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)
{ {

View file

@ -29,7 +29,7 @@ public class WorldGenDesertCactus extends WorldGenerator
{ {
if (!par1World.isAirBlock(var7, var8 - 1, var9 + 1)) if (!par1World.isAirBlock(var7, var8 - 1, var9 + 1))
{ {
int var10 = 1 + par2Random.nextInt(par2Random.nextInt(2) + 2); int var10 = 2 + par2Random.nextInt(par2Random.nextInt(2) + 2);
for (int var11 = 0; var11 < var10; ++var11) for (int var11 = 0; var11 < var10; ++var11)
{ {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 382 B

After

Width:  |  Height:  |  Size: 310 B