net.minecraft.world.gen.trunk

public class BendingTrunkPlacer

extends TrunkPlacer

net.minecraft.world.level.levelgen.feature.trunkplacers.BendingTrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.BendingTrunkPlacer
net.minecraft.class_5930
net.minecraft.world.gen.trunk.BendingTrunkPlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<BendingTrunkPlacer>
CODEC
CODEC
field_29306
CODEC
private final int
minHeightForLeaves
minHeightForLeaves
field_29307
minHeightForLeaves
private final IntProvider
bendLength
bendLength
field_29308
bendLength

Constructor summary

ModifierConstructor
public (int baseHeight, int firstRandomHeight, int secondRandomHeight, int minHeightForLeaves, IntProvider bendLength)

Method summary

Modifier and TypeMethod
protected TrunkPlacerType<?>
type()
type()
method_28903()
getType()
public List<FoliagePlacer$TreeNode>
placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config)
placeTrunk(WorldGenLevel level, BiConsumer<BlockPos, BlockState> trunkSetter, RandomSource random, int treeHeight, BlockPos origin, TreeConfiguration config)
method_26991(class_5281 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, int arg3, class_2338 arg4, class_4643 arg5)
generate(StructureWorldAccess arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, int arg3, BlockPos arg4, TreeFeatureConfig arg5)