Added support for the stone beach and cold beach
This commit is contained in:
parent
512a03e027
commit
77b8dd391a
3 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue