Class AbstractTreeGrower
java.lang.Object
net.minecraft.world.level.block.grower.AbstractTreeGrower
- Direct Known Subclasses:
AbstractMegaTreeGrower
,AcaciaTreeGrower
,AzaleaTreeGrower
,BirchTreeGrower
,OakTreeGrower
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ConfiguredFeature<TreeConfiguration,?>
getConfiguredFeature(Random p_60014_, boolean p_60015_)
boolean
growTree(ServerLevel p_60006_, ChunkGenerator p_60007_, BlockPos p_60008_, BlockState p_60009_, Random p_60010_)
private boolean
hasFlowers(LevelAccessor p_60012_, BlockPos p_60013_)
-
Constructor Details
-
AbstractTreeGrower
public AbstractTreeGrower()
-
-
Method Details
-
getConfiguredFeature
@Nullable protected abstract ConfiguredFeature<TreeConfiguration,?> getConfiguredFeature(Random p_60014_, boolean p_60015_) -
growTree
public boolean growTree(ServerLevel p_60006_, ChunkGenerator p_60007_, BlockPos p_60008_, BlockState p_60009_, Random p_60010_) -
hasFlowers
-