Class AbstractMegaTreeGrower
java.lang.Object
net.minecraft.world.level.block.grower.AbstractTreeGrower
net.minecraft.world.level.block.grower.AbstractMegaTreeGrower
- Direct Known Subclasses:
DarkOakTreeGrower
,JungleTreeGrower
,SpruceTreeGrower
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ResourceKey<ConfiguredFeature<?,
?>> getConfiguredMegaFeature
(RandomSource p_222904_) boolean
growTree
(ServerLevel p_222891_, ChunkGenerator p_222892_, BlockPos p_222893_, BlockState p_222894_, RandomSource p_222895_) static boolean
isTwoByTwoSapling
(BlockState p_59999_, BlockGetter p_60000_, BlockPos p_60001_, int p_60002_, int p_60003_) boolean
placeMega
(ServerLevel p_222897_, ChunkGenerator p_222898_, BlockPos p_222899_, BlockState p_222900_, RandomSource p_222901_, int p_222902_, int p_222903_) Methods inherited from class net.minecraft.world.level.block.grower.AbstractTreeGrower
getConfiguredFeature
-
Constructor Details
-
AbstractMegaTreeGrower
public AbstractMegaTreeGrower()
-
-
Method Details
-
growTree
public boolean growTree(ServerLevel p_222891_, ChunkGenerator p_222892_, BlockPos p_222893_, BlockState p_222894_, RandomSource p_222895_) - Overrides:
growTree
in classAbstractTreeGrower
-
getConfiguredMegaFeature
@Nullable protected abstract ResourceKey<ConfiguredFeature<?,?>> getConfiguredMegaFeature(RandomSource p_222904_) -
placeMega
public boolean placeMega(ServerLevel p_222897_, ChunkGenerator p_222898_, BlockPos p_222899_, BlockState p_222900_, RandomSource p_222901_, int p_222902_, int p_222903_) -
isTwoByTwoSapling
public static boolean isTwoByTwoSapling(BlockState p_59999_, BlockGetter p_60000_, BlockPos p_60001_, int p_60002_, int p_60003_)
-