Class StraightTrunkPlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.StraightTrunkPlacer
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
baseHeight, heightRandA, heightRandB, MAX_HEIGHT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionplaceTrunk(LevelSimulatedReader p_161859_, BiConsumer<BlockPos,BlockState> p_161860_, Random p_161861_, int p_161862_, BlockPos p_161863_, TreeConfiguration p_161864_)
protected TrunkPlacerType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
getTreeHeight, placeLog, placeLog, placeLogIfFree, setDirtAt, trunkPlacerParts
-
Field Details
-
CODEC
-
-
Constructor Details
-
StraightTrunkPlacer
public StraightTrunkPlacer(int p_70248_, int p_70249_, int p_70250_)
-
-
Method Details
-
type
- Specified by:
type
in classTrunkPlacer
-
placeTrunk
public List<FoliagePlacer.FoliageAttachment> placeTrunk(LevelSimulatedReader p_161859_, BiConsumer<BlockPos,BlockState> p_161860_, Random p_161861_, int p_161862_, BlockPos p_161863_, TreeConfiguration p_161864_)- Specified by:
placeTrunk
in classTrunkPlacer
-