public class MapGenCaves extends MapGenBase
rand, range, worldObj
Constructor and Description |
---|
MapGenCaves() |
Modifier and Type | Method and Description |
---|---|
protected void |
digBlock(Block[] data,
int index,
int x,
int y,
int z,
int chunkX,
int chunkZ,
boolean foundTop)
Digs out the current block, default implementation removes stone, filler, and top block
Sets the block to lava if y is less then 10, and air other wise.
|
protected void |
func_151538_a(World p_151538_1_,
int p_151538_2_,
int p_151538_3_,
int p_151538_4_,
int p_151538_5_,
Block[] p_151538_6_) |
protected void |
func_151541_a(long p_151541_1_,
int p_151541_3_,
int p_151541_4_,
Block[] p_151541_5_,
double p_151541_6_,
double p_151541_8_,
double p_151541_10_,
float p_151541_12_,
float p_151541_13_,
float p_151541_14_,
int p_151541_15_,
int p_151541_16_,
double p_151541_17_) |
protected void |
func_151542_a(long p_151542_1_,
int p_151542_3_,
int p_151542_4_,
Block[] p_151542_5_,
double p_151542_6_,
double p_151542_8_,
double p_151542_10_) |
protected boolean |
isOceanBlock(Block[] data,
int index,
int x,
int y,
int z,
int chunkX,
int chunkZ) |
func_151539_a
protected void func_151542_a(long p_151542_1_, int p_151542_3_, int p_151542_4_, Block[] p_151542_5_, double p_151542_6_, double p_151542_8_, double p_151542_10_)
protected void func_151541_a(long p_151541_1_, int p_151541_3_, int p_151541_4_, Block[] p_151541_5_, double p_151541_6_, double p_151541_8_, double p_151541_10_, float p_151541_12_, float p_151541_13_, float p_151541_14_, int p_151541_15_, int p_151541_16_, double p_151541_17_)
protected void func_151538_a(World p_151538_1_, int p_151538_2_, int p_151538_3_, int p_151538_4_, int p_151538_5_, Block[] p_151538_6_)
func_151538_a
in class MapGenBase
protected boolean isOceanBlock(Block[] data, int index, int x, int y, int z, int chunkX, int chunkZ)
protected void digBlock(Block[] data, int index, int x, int y, int z, int chunkX, int chunkZ, boolean foundTop)
data
- Block data arrayindex
- Pre-calculated index into block datax
- local X positiony
- local Y positionz
- local Z positionchunkX
- Chunk X positionchunkZ
- Chunk Y positionfoundTop
- True if we've encountered the biome's top block. Ideally if we've broken the surface.