Class FancyTrunkPlacer
java.lang.Object
net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
net.minecraft.world.gen.trunkplacer.FancyTrunkPlacer
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
baseHeight, heightRandA, heightRandB
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Direction.Axis
getLogAxis
(BlockPos p_236889_1_, BlockPos p_236889_2_) private int
private void
makeBranches
(IWorldGenerationReader p_236886_1_, Random p_236886_2_, int p_236886_3_, BlockPos p_236886_4_, List<FancyTrunkPlacer.Foliage> p_236886_5_, Set<BlockPos> p_236886_6_, MutableBoundingBox p_236886_7_, BaseTreeFeatureConfig p_236886_8_) private boolean
makeLimb
(IWorldGenerationReader p_236887_1_, Random p_236887_2_, BlockPos p_236887_3_, BlockPos p_236887_4_, boolean p_236887_5_, Set<BlockPos> p_236887_6_, MutableBoundingBox p_236887_7_, BaseTreeFeatureConfig p_236887_8_) placeTrunk
(IWorldGenerationReader p_230382_1_, Random p_230382_2_, int p_230382_3_, BlockPos p_230382_4_, Set<BlockPos> p_230382_5_, MutableBoundingBox p_230382_6_, BaseTreeFeatureConfig p_230382_7_) private float
treeShape
(int p_236890_1_, int p_236890_2_) private boolean
trimBranches
(int p_236885_1_, int p_236885_2_) protected TrunkPlacerType<?>
type()
Methods inherited from class net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
getTreeHeight, placeLog, placeLogIfFree, setBlock, setDirtAt, trunkPlacerParts
-
Field Details
-
CODEC
-
-
Constructor Details
-
FancyTrunkPlacer
public FancyTrunkPlacer(int p_i232054_1_, int p_i232054_2_, int p_i232054_3_)
-
-
Method Details
-
type
- Specified by:
type
in classAbstractTrunkPlacer
-
placeTrunk
public List<FoliagePlacer.Foliage> placeTrunk(IWorldGenerationReader p_230382_1_, Random p_230382_2_, int p_230382_3_, BlockPos p_230382_4_, Set<BlockPos> p_230382_5_, MutableBoundingBox p_230382_6_, BaseTreeFeatureConfig p_230382_7_) - Specified by:
placeTrunk
in classAbstractTrunkPlacer
-
makeLimb
private boolean makeLimb(IWorldGenerationReader p_236887_1_, Random p_236887_2_, BlockPos p_236887_3_, BlockPos p_236887_4_, boolean p_236887_5_, Set<BlockPos> p_236887_6_, MutableBoundingBox p_236887_7_, BaseTreeFeatureConfig p_236887_8_) -
getSteps
-
getLogAxis
-
trimBranches
private boolean trimBranches(int p_236885_1_, int p_236885_2_) -
makeBranches
private void makeBranches(IWorldGenerationReader p_236886_1_, Random p_236886_2_, int p_236886_3_, BlockPos p_236886_4_, List<FancyTrunkPlacer.Foliage> p_236886_5_, Set<BlockPos> p_236886_6_, MutableBoundingBox p_236886_7_, BaseTreeFeatureConfig p_236886_8_) -
treeShape
private float treeShape(int p_236890_1_, int p_236890_2_)
-