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 Holder<? extends ConfiguredFeature<?,
?>> getConfiguredFeature
(Random p_204307_, boolean p_204308_) 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 Holder<? extends ConfiguredFeature<?,?>> getConfiguredFeature(Random p_204307_, boolean p_204308_) -
growTree
public boolean growTree(ServerLevel p_60006_, ChunkGenerator p_60007_, BlockPos p_60008_, BlockState p_60009_, Random p_60010_) -
hasFlowers
-