public abstract class BigTree extends Tree
Constructor and Description |
---|
BigTree() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canBigTreeSpawnAt(BlockState blockUnder,
IBlockReader worldIn,
BlockPos pos,
int xOffset,
int zOffset) |
protected abstract AbstractTreeFeature<NoFeatureConfig> |
getBigTreeFeature(java.util.Random random) |
boolean |
spawn(IWorld worldIn,
BlockPos pos,
BlockState blockUnder,
java.util.Random random) |
boolean |
spawnBigTree(IWorld worldIn,
BlockPos pos,
BlockState blockUnder,
java.util.Random random,
int xOffset,
int zOffset) |
getTreeFeature
public boolean spawn(IWorld worldIn, BlockPos pos, BlockState blockUnder, java.util.Random random)
@Nullable protected abstract AbstractTreeFeature<NoFeatureConfig> getBigTreeFeature(java.util.Random random)
public boolean spawnBigTree(IWorld worldIn, BlockPos pos, BlockState blockUnder, java.util.Random random, int xOffset, int zOffset)
public static boolean canBigTreeSpawnAt(BlockState blockUnder, IBlockReader worldIn, BlockPos pos, int xOffset, int zOffset)