Package net.minecraft.block.trees
Class Tree
- java.lang.Object
-
- net.minecraft.block.trees.Tree
-
- Direct Known Subclasses:
AcaciaTree
,BigTree
,BirchTree
,OakTree
public abstract class Tree extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Tree()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ConfiguredFeature<BaseTreeFeatureConfig,?>
getConfiguredFeature(java.util.Random p_225546_1_, boolean p_225546_2_)
boolean
growTree(ServerWorld p_230339_1_, ChunkGenerator p_230339_2_, BlockPos p_230339_3_, BlockState p_230339_4_, java.util.Random p_230339_5_)
private boolean
hasFlowers(IWorld p_230140_1_, BlockPos p_230140_2_)
-
-
-
Method Detail
-
getConfiguredFeature
@Nullable protected abstract ConfiguredFeature<BaseTreeFeatureConfig,?> getConfiguredFeature(java.util.Random p_225546_1_, boolean p_225546_2_)
-
growTree
public boolean growTree(ServerWorld p_230339_1_, ChunkGenerator p_230339_2_, BlockPos p_230339_3_, BlockState p_230339_4_, java.util.Random p_230339_5_)
-
-