public class MapGenCaves extends MapGenBase
rand, range, worldObj
Constructor and Description |
---|
MapGenCaves() |
Modifier and Type | Method and Description |
---|---|
protected void |
digBlock(ChunkPrimer data,
int x,
int y,
int z,
int chunkX,
int chunkZ,
boolean foundTop,
IBlockState state,
IBlockState up)
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 boolean |
func_175793_a(IBlockState p_175793_1_,
IBlockState p_175793_2_) |
protected void |
func_180702_a(long p_180702_1_,
int p_180702_3_,
int p_180702_4_,
ChunkPrimer p_180702_5_,
double p_180702_6_,
double p_180702_8_,
double p_180702_10_,
float p_180702_12_,
float p_180702_13_,
float p_180702_14_,
int p_180702_15_,
int p_180702_16_,
double p_180702_17_) |
protected void |
func_180703_a(long p_180703_1_,
int p_180703_3_,
int p_180703_4_,
ChunkPrimer p_180703_5_,
double p_180703_6_,
double p_180703_8_,
double p_180703_10_) |
protected boolean |
isOceanBlock(ChunkPrimer data,
int x,
int y,
int z,
int chunkX,
int chunkZ) |
protected void |
recursiveGenerate(World worldIn,
int chunkX,
int chunkZ,
int p_180701_4_,
int p_180701_5_,
ChunkPrimer chunkPrimerIn)
Recursively called by generate()
|
generate
protected void func_180703_a(long p_180703_1_, int p_180703_3_, int p_180703_4_, ChunkPrimer p_180703_5_, double p_180703_6_, double p_180703_8_, double p_180703_10_)
protected void func_180702_a(long p_180702_1_, int p_180702_3_, int p_180702_4_, ChunkPrimer p_180702_5_, double p_180702_6_, double p_180702_8_, double p_180702_10_, float p_180702_12_, float p_180702_13_, float p_180702_14_, int p_180702_15_, int p_180702_16_, double p_180702_17_)
protected boolean func_175793_a(IBlockState p_175793_1_, IBlockState p_175793_2_)
protected void recursiveGenerate(World worldIn, int chunkX, int chunkZ, int p_180701_4_, int p_180701_5_, ChunkPrimer chunkPrimerIn)
recursiveGenerate
in class MapGenBase
protected boolean isOceanBlock(ChunkPrimer data, int x, int y, int z, int chunkX, int chunkZ)
protected void digBlock(ChunkPrimer data, int x, int y, int z, int chunkX, int chunkZ, boolean foundTop, IBlockState state, IBlockState up)
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.