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

public class UpwardsBranchingTrunkPlacer

extends TrunkPlacer

emi
net.minecraft.world.level.levelgen.feature.trunkplacers.UpwardsBranchingTrunkPlacer
net.minecraft.class_7390
net.minecraft.world.gen.trunk.UpwardsBranchingTrunkPlacer
net.minecraft.world.level.levelgen.feature.trunkplacers.UpwardsBranchingTrunkPlacer

Field summary

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

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()
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 void
a(dho arg0, BiConsumer<jh, dxv> arg1, bam arg2, int arg3, ejw arg4, List<ekm$a> arg5, jh$a arg6, int arg7, jm 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)
protected boolean
a(dho arg0, jh arg1)
validTreePos(LevelSimulatedReader arg0, BlockPos arg1)
method_43196(class_3746 arg0, class_2338 arg1)
canReplace(TestableWorld arg0, BlockPos arg1)