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

public class UpwardsBranchingTrunkPlacer

extends TrunkPlacer

dtg
net.minecraft.world.level.levelgen.feature.trunkplacers.UpwardsBranchingTrunkPlacer
net.minecraft.class_7390
net.minecraft.world.gen.trunk.UpwardsBranchingTrunkPlacer
net.minecraft.src.C_213155_
net.minecraft.world.level.levelgen.feature.trunkplacers.UpwardsBranchingTrunkPlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<UpwardsBranchingTrunkPlacer>
a
CODEC
field_38793
CODEC
f_226194_
private final IntProvider
b
extraBranchSteps
field_38794
extraBranchSteps
f_226195_
private final float
h
placeBranchPerLogProbability
field_38795
placeBranchPerLogProbability
f_226196_
private final IntProvider
i
extraBranchLength
field_38796
extraBranchLength
f_226197_
private final HolderSet<Block>
j
canGrowThrough
field_38797
canGrowThrough
f_226198_

Constructor summary

ModifierConstructor
public (int baseHeight, int firstRandomHeight, int secondRandomHeight, IntProvider extraBranchSteps, float placeBranchPerLogProbability, IntProvider extraBranchLength, HolderSet<Block> canGrowThrough)

Method summary

Modifier and TypeMethod
protected TrunkPlacerType<?>
a()
type()
method_28903()
getType()
m_7362_()
public List<FoliagePlacer$FoliageAttachment>
a(cqb arg0, BiConsumer<gw, dfj> arg1, asc arg2, int arg3, gw arg4, dqw 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_226226_, BiConsumer<C_4675_, C_2064_> p_226227_, C_212974_ p_226228_, int p_226229_, C_4675_ p_226230_, C_2366_ arg5)
private void
a(cqb arg0, BiConsumer<gw, dfj> arg1, asc arg2, int arg3, dqw arg4, List<drm$a> arg5, gw$a arg6, int arg7, ha arg8, int arg9, int arg10)
placeBranch(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, int arg3, TreeConfiguration arg4, List<FoliagePlacer$FoliageAttachment> arg5, BlockPos$MutableBlockPos arg6, int arg7, Direction arg8, int arg9, int arg10)
method_43199(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, int arg3, class_4643 arg4, List<class_4647$class_5208> arg5, class_2338$class_2339 arg6, int arg7, class_2350 arg8, int arg9, int arg10)
generateExtraBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int height, TreeFeatureConfig config, List<FoliagePlacer$TreeNode> nodes, BlockPos$Mutable pos, int yOffset, Direction direction, int length, int steps)
m_226212_(C_1604_ p_226214_, BiConsumer<C_4675_, C_2064_> p_226215_, C_212974_ p_226216_, int p_226217_, C_2366_ p_226218_, List<C_2379_$C_2380_> p_226219_, C_4675_$C_4681_ p_226220_, int p_226221_, C_4687_ p_226222_, int p_226223_, int arg10)
protected boolean
a(cqb arg0, gw arg1)
validTreePos(LevelSimulatedReader arg0, BlockPos arg1)
method_43196(class_3746 arg0, class_2338 arg1)
canReplace(TestableWorld arg0, BlockPos arg1)
m_213554_(C_1604_ p_226211_, C_4675_ arg1)