Added support for the stone beach and cold beach

This commit is contained in:
Adubbz 2014-01-15 11:59:39 +11:00
parent 512a03e027
commit 77b8dd391a
3 changed files with 5 additions and 3 deletions

View file

@ -181,6 +181,10 @@ public class BOPBiomes
clearAllSpawnBiomes();
addSpawnBiome(BiomeGenBase.beach);
//TODO: stoneBeach
addSpawnBiome(BiomeGenBase.field_150576_N);
//TODO: coldBeach
addSpawnBiome(BiomeGenBase.field_150577_O);
}
else
{

View file

@ -12,6 +12,6 @@ public class WorldProviderSurfaceBOP extends WorldProviderSurface
//TODO: getTopBlock()
Block topBlock = this.worldObj.func_147474_b(x, z);
return topBlock == Blocks.sand && this.worldChunkMgr.getBiomesToSpawnIn().contains(this.worldObj.getBiomeGenForCoordsBody(x, z));
return topBlock == Blocks.sand || topBlock == Blocks.stone || topBlock == Blocks.snow_layer && this.worldChunkMgr.getBiomesToSpawnIn().contains(this.worldObj.getBiomeGenForCoordsBody(x, z));
}
}

View file

@ -26,8 +26,6 @@ public class WorldGenLog extends WorldGeneratorBOP
int direction = random.nextInt(2);
boolean isAllowed = true;
System.out.println(direction);
for (int i = 0; i < length; i++)
{
int ix = 0;