Class AbstractTreeGrower
java.lang.Object
net.minecraft.world.level.block.grower.AbstractTreeGrower
- Direct Known Subclasses:
AbstractMegaTreeGrower
,AcaciaTreeGrower
,AzaleaTreeGrower
,BirchTreeGrower
,MangroveTreeGrower
,OakTreeGrower
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ResourceKey<ConfiguredFeature<?,
?>> getConfiguredFeature
(RandomSource p_222910_, boolean p_222911_) boolean
growTree
(ServerLevel p_222905_, ChunkGenerator p_222906_, BlockPos p_222907_, BlockState p_222908_, RandomSource p_222909_) private boolean
hasFlowers
(LevelAccessor p_60012_, BlockPos p_60013_)
-
Constructor Details
-
AbstractTreeGrower
public AbstractTreeGrower()
-
-
Method Details
-
getConfiguredFeature
@Nullable protected abstract ResourceKey<ConfiguredFeature<?,?>> getConfiguredFeature(RandomSource p_222910_, boolean p_222911_) -
growTree
public boolean growTree(ServerLevel p_222905_, ChunkGenerator p_222906_, BlockPos p_222907_, BlockState p_222908_, RandomSource p_222909_) -
hasFlowers
-