public class WorldGenMegaPineTree extends WorldGenHugeTrees
Modifier and Type | Field and Description |
---|---|
private static IBlockState |
LEAF |
private static IBlockState |
PODZOL |
private static IBlockState |
TRUNK |
private boolean |
useBaseHeight |
baseHeight, extraRandomHeight, leavesMetadata, woodMetadata
Constructor and Description |
---|
WorldGenMegaPineTree(boolean notify,
boolean p_i45457_2_) |
Modifier and Type | Method and Description |
---|---|
private void |
createCrown(World worldIn,
int x,
int z,
int y,
int p_150541_5_,
java.util.Random rand) |
boolean |
generate(World worldIn,
java.util.Random rand,
BlockPos position) |
void |
generateSaplings(World worldIn,
java.util.Random random,
BlockPos pos) |
private boolean |
isAirLeaves(World world,
BlockPos pos) |
private void |
placePodzolAt(World worldIn,
BlockPos pos) |
private void |
placePodzolCircle(World worldIn,
BlockPos center) |
ensureGrowable, getHeight, growLeavesLayer, growLeavesLayerStrict
canGrowInto, isReplaceable, setDirtAt
setBlockAndNotifyAdequately, setDecorationDefaults
private static final IBlockState TRUNK
private static final IBlockState LEAF
private static final IBlockState PODZOL
private final boolean useBaseHeight
public WorldGenMegaPineTree(boolean notify, boolean p_i45457_2_)
public boolean generate(World worldIn, java.util.Random rand, BlockPos position)
generate
in class WorldGenerator
private void createCrown(World worldIn, int x, int z, int y, int p_150541_5_, java.util.Random rand)
public void generateSaplings(World worldIn, java.util.Random random, BlockPos pos)
generateSaplings
in class WorldGenAbstractTree