public class MapGenRavine extends MapGenBase
rand, range, worldObj
Constructor and Description |
---|
MapGenRavine() |
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_151540_a(long p_151540_1_,
int p_151540_3_,
int p_151540_4_,
Block[] p_151540_5_,
double p_151540_6_,
double p_151540_8_,
double p_151540_10_,
float p_151540_12_,
float p_151540_13_,
float p_151540_14_,
int p_151540_15_,
int p_151540_16_,
double p_151540_17_) |
protected boolean |
isOceanBlock(Block[] data,
int index,
int x,
int y,
int z,
int chunkX,
int chunkZ) |
func_151539_a
protected void func_151540_a(long p_151540_1_, int p_151540_3_, int p_151540_4_, Block[] p_151540_5_, double p_151540_6_, double p_151540_8_, double p_151540_10_, float p_151540_12_, float p_151540_13_, float p_151540_14_, int p_151540_15_, int p_151540_16_, double p_151540_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.