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

public class CherryTrunkPlacer

extends TrunkPlacer

ehf
net.minecraft.world.level.levelgen.feature.trunkplacers.CherryTrunkPlacer
net.minecraft.class_8180
net.minecraft.world.gen.trunk.CherryTrunkPlacer
net.minecraft.src.C_271046_
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
f_271464_
public static final com.mojang.serialization.MapCodec<CherryTrunkPlacer>
a
CODEC
field_42848
CODEC
f_271475_
private final IntProvider
h
branchCount
field_42850
branchCount
f_271342_
private final IntProvider
i
branchHorizontalLength
field_42851
branchHorizontalLength
f_271384_
private final UniformInt
j
branchStartOffsetFromTop
field_42852
branchStartOffsetFromTop
f_271473_
private final UniformInt
k
secondBranchStartOffsetFromTop
field_42853
secondBranchStartOffsetFromTop
f_271407_
private final IntProvider
l
branchEndOffsetFromTop
field_42854
branchEndOffsetFromTop
f_271123_

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()
m_7362_()
public List<FoliagePlacer$FoliageAttachment>
a(ddc arg0, BiConsumer<jd, dtc> arg1, ayw arg2, int arg3, jd arg4, efe 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)
m_213934_(C_1604_ p_272650_, BiConsumer<C_4675_, C_2064_> p_272993_, C_212974_ p_272990_, int p_273471_, C_4675_ p_273355_, C_2366_ arg5)
private FoliagePlacer$FoliageAttachment
a(ddc arg0, BiConsumer<jd, dtc> arg1, ayw arg2, int arg3, jd arg4, efe arg5, Function<dtc, dtc> arg6, ji arg7, int arg8, boolean arg9, jd$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)
m_271969_(C_1604_ p_273092_, BiConsumer<C_4675_, C_2064_> p_273449_, C_212974_ p_272659_, int p_273743_, C_4675_ p_273027_, C_2366_ p_273558_, Function<C_2064_, C_2064_> p_273712_, C_4687_ p_272980_, int p_272719_, boolean p_273496_, C_4675_$C_4681_ arg10)