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 ConfiguredFeature<TreeConfiguration,?>
getConfiguredMegaFeature(Random p_60004_)
boolean
growTree(ServerLevel p_59985_, ChunkGenerator p_59986_, BlockPos p_59987_, BlockState p_59988_, Random p_59989_)
static boolean
isTwoByTwoSapling(BlockState p_59999_, BlockGetter p_60000_, BlockPos p_60001_, int p_60002_, int p_60003_)
boolean
placeMega(ServerLevel p_59991_, ChunkGenerator p_59992_, BlockPos p_59993_, BlockState p_59994_, Random p_59995_, int p_59996_, int p_59997_)
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_59985_, ChunkGenerator p_59986_, BlockPos p_59987_, BlockState p_59988_, Random p_59989_)- Overrides:
growTree
in classAbstractTreeGrower
-
getConfiguredMegaFeature
@Nullable protected abstract ConfiguredFeature<TreeConfiguration,?> getConfiguredMegaFeature(Random p_60004_) -
placeMega
public boolean placeMega(ServerLevel p_59991_, ChunkGenerator p_59992_, BlockPos p_59993_, BlockState p_59994_, Random p_59995_, int p_59996_, int p_59997_) -
isTwoByTwoSapling
public static boolean isTwoByTwoSapling(BlockState p_59999_, BlockGetter p_60000_, BlockPos p_60001_, int p_60002_, int p_60003_)
-