net.minecraft.world.level.levelgen.feature.trunkplacers

public class CherryTrunkPlacer

extends TrunkPlacer

elz
net.minecraft.world.level.levelgen.feature.trunkplacers.CherryTrunkPlacer
net.minecraft.class_8180
net.minecraft.world.gen.trunk.CherryTrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.CherryTrunkPlacer

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<UniformInt>
b
BRANCH_START_CODEC
field_42849
BRANCH_START_OFFSET_FROM_TOP_CODEC
public static final com.mojang.serialization.MapCodec<CherryTrunkPlacer>
a
CODEC
field_42848
CODEC
private final IntProvider
h
branchCount
field_42850
branchCount
private final IntProvider
i
branchHorizontalLength
field_42851
branchHorizontalLength
private final UniformInt
j
branchStartOffsetFromTop
field_42852
branchStartOffsetFromTop
private final UniformInt
k
secondBranchStartOffsetFromTop
field_42853
secondBranchStartOffsetFromTop
private final IntProvider
l
branchEndOffsetFromTop
field_42854
branchEndOffsetFromTop

Constructor summary

ModifierConstructor
public (int baseHeight, int firstRandomHeight, int secondRandomHeight, IntProvider branchCount, IntProvider branchHorizontalLength, UniformInt branchStartOffsetFromTop, IntProvider branchEndOffsetFromTop)

Method summary

Modifier and TypeMethod
protected TrunkPlacerType<?>
a()
type()
method_28903()
getType()
public List<FoliagePlacer$FoliageAttachment>
a(dho arg0, BiConsumer<jh, dxv> arg1, bam arg2, int arg3, jh arg4, ejw arg5)
placeTrunk(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, int arg3, BlockPos arg4, TreeConfiguration arg5)
method_26991(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, int arg3, class_2338 arg4, class_4643 arg5)
generate(TestableWorld arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, int arg3, BlockPos arg4, TreeFeatureConfig arg5)
private FoliagePlacer$FoliageAttachment
a(dho arg0, BiConsumer<jh, dxv> arg1, bam arg2, int arg3, jh arg4, ejw arg5, Function<dxv, dxv> arg6, jm arg7, int arg8, boolean arg9, jh$a arg10)
generateBranch(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, int arg3, BlockPos arg4, TreeConfiguration arg5, Function<BlockState, BlockState> arg6, Direction arg7, int arg8, boolean arg9, BlockPos$MutableBlockPos arg10)
method_49249(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, int arg3, class_2338 arg4, class_4643 arg5, Function<class_2680, class_2680> arg6, class_2350 arg7, int arg8, boolean arg9, class_2338$class_2339 arg10)
generateBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, BlockPos startPos, TreeFeatureConfig config, Function<BlockState, BlockState> withAxisFunction, Direction direction, int branchStartOffset, boolean branchBelowHeight, BlockPos$Mutable mutablePos)