Package net.minecraft.block.trees
Class BigTree
java.lang.Object
net.minecraft.block.trees.Tree
net.minecraft.block.trees.BigTree
- Direct Known Subclasses:
DarkOakTree
,JungleTree
,SpruceTree
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract ConfiguredFeature<BaseTreeFeatureConfig,
?> getConfiguredMegaFeature
(Random p_225547_1_) boolean
growTree
(ServerWorld p_230339_1_, ChunkGenerator p_230339_2_, BlockPos p_230339_3_, BlockState p_230339_4_, Random p_230339_5_) static boolean
isTwoByTwoSapling
(BlockState p_196937_0_, IBlockReader p_196937_1_, BlockPos p_196937_2_, int p_196937_3_, int p_196937_4_) boolean
placeMega
(ServerWorld p_235678_1_, ChunkGenerator p_235678_2_, BlockPos p_235678_3_, BlockState p_235678_4_, Random p_235678_5_, int p_235678_6_, int p_235678_7_) Methods inherited from class net.minecraft.block.trees.Tree
getConfiguredFeature
-
Constructor Details
-
BigTree
public BigTree()
-
-
Method Details
-
growTree
public boolean growTree(ServerWorld p_230339_1_, ChunkGenerator p_230339_2_, BlockPos p_230339_3_, BlockState p_230339_4_, Random p_230339_5_) -
getConfiguredMegaFeature
@Nullable protected abstract ConfiguredFeature<BaseTreeFeatureConfig,?> getConfiguredMegaFeature(Random p_225547_1_) -
placeMega
public boolean placeMega(ServerWorld p_235678_1_, ChunkGenerator p_235678_2_, BlockPos p_235678_3_, BlockState p_235678_4_, Random p_235678_5_, int p_235678_6_, int p_235678_7_) -
isTwoByTwoSapling
public static boolean isTwoByTwoSapling(BlockState p_196937_0_, IBlockReader p_196937_1_, BlockPos p_196937_2_, int p_196937_3_, int p_196937_4_)
-