public abstract class WorldGenHugeTrees extends WorldGenAbstractTree
Modifier and Type | Field and Description |
---|---|
protected int |
baseHeight |
protected int |
extraRandomHeight |
protected IBlockState |
leavesMetadata |
protected IBlockState |
woodMetadata |
Constructor and Description |
---|
WorldGenHugeTrees(boolean notify,
int baseHeightIn,
int extraRandomHeightIn,
IBlockState woodMetadataIn,
IBlockState leavesMetadataIn) |
Modifier and Type | Method and Description |
---|---|
private boolean |
ensureDirtsUnderneath(BlockPos pos,
World worldIn) |
protected boolean |
ensureGrowable(World worldIn,
java.util.Random rand,
BlockPos treePos,
int height) |
protected int |
getHeight(java.util.Random rand) |
protected void |
growLeavesLayer(World worldIn,
BlockPos layerCenter,
int width) |
protected void |
growLeavesLayerStrict(World worldIn,
BlockPos layerCenter,
int width) |
private boolean |
isSpaceAt(World worldIn,
BlockPos leavesPos,
int height) |
private void |
onPlantGrow(World world,
BlockPos pos,
BlockPos source) |
canGrowInto, generateSaplings, isReplaceable, setDirtAt
generate, setBlockAndNotifyAdequately, setDecorationDefaults
protected final int baseHeight
protected final IBlockState woodMetadata
protected final IBlockState leavesMetadata
protected int extraRandomHeight
public WorldGenHugeTrees(boolean notify, int baseHeightIn, int extraRandomHeightIn, IBlockState woodMetadataIn, IBlockState leavesMetadataIn)