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

public class FancyTrunkPlacer

extends TrunkPlacer

dit
net.minecraft.world.level.levelgen.feature.trunkplacers.FancyTrunkPlacer
net.minecraft.class_5212
net.minecraft.world.gen.trunk.LargeOakTrunkPlacer
net.minecraft.src.C_2420_
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerFancy

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FancyTrunkPlacer>
a
CODEC
field_24967
CODEC
f_70091_
private static final double
b
TRUNK_HEIGHT_SCALE
field_31524
field_31524
f_161796_
private static final double
h
CLUSTER_DENSITY_MAGIC
field_31525
field_31525
f_161797_
private static final double
i
BRANCH_SLOPE
field_31526
field_31526
f_161798_
private static final double
j
BRANCH_LENGTH_MAGIC
field_31527
field_31527
f_161799_

Constructor summary

ModifierConstructor
public (int p_70095_, int p_70096_, int arg2)

Method summary

Modifier and TypeMethod
protected TrunkPlacerType<?>
a()
type()
method_28903()
getType()
m_7362_()
public List<FoliagePlacer$FoliageAttachment>
a(chd arg0, BiConsumer<gt, cvo> arg1, amn arg2, int arg3, gt arg4, dgt 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_226094_, BiConsumer<C_4675_, C_2064_> p_226095_, C_212974_ p_226096_, int p_226097_, C_4675_ p_226098_, C_2366_ arg5)
private boolean
a(chd arg0, BiConsumer<gt, cvo> arg1, amn arg2, gt arg3, gt arg4, boolean arg5, dgt arg6)
makeLimb(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, BlockPos arg3, BlockPos arg4, boolean arg5, TreeConfiguration arg6)
method_27393(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, class_2338 arg3, class_2338 arg4, boolean arg5, class_4643 arg6)
makeOrCheckBranch(TestableWorld arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config)
m_226107_(C_1604_ p_226109_, BiConsumer<C_4675_, C_2064_> p_226110_, C_212974_ p_226111_, C_4675_ p_226112_, C_4675_ p_226113_, boolean p_226114_, C_2366_ arg6)
private int
a(gt arg0)
getSteps(BlockPos arg0)
method_27394(class_2338 arg0)
getLongestSide(BlockPos offset)
m_70127_(C_4675_ arg0)
private Direction$Axis
a(gt arg0, gt arg1)
getLogAxis(BlockPos arg0, BlockPos arg1)
method_27395(class_2338 arg0, class_2338 arg1)
getLogAxis(BlockPos branchStart, BlockPos branchEnd)
m_70129_(C_4675_ p_70131_, C_4675_ arg1)
private boolean
a(int arg0, int arg1)
trimBranches(int arg0, int arg1)
method_27391(int arg0, int arg1)
isHighEnough(int treeHeight, int height)
m_70098_(int p_70100_, int arg1)
private void
a(chd arg0, BiConsumer<gt, cvo> arg1, amn arg2, int arg3, gt arg4, List<dit$a> arg5, dgt arg6)
makeBranches(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource arg2, int arg3, BlockPos arg4, List<FancyTrunkPlacer$FoliageCoords> arg5, TreeConfiguration arg6)
method_27392(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, class_5819 arg2, int arg3, class_2338 arg4, List<class_5212$class_5213> arg5, class_4643 arg6)
makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random arg2, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer$BranchPosition> branchPositions, TreeFeatureConfig config)
m_226099_(C_1604_ p_226101_, BiConsumer<C_4675_, C_2064_> p_226102_, C_212974_ p_226103_, int p_226104_, C_4675_ p_226105_, List<C_2421_> p_226106_, C_2366_ arg6)
private static float
b(int arg0, int arg1)
treeShape(int arg0, int arg1)
method_27396(int arg0, int arg1)
shouldGenerateBranch(int treeHeight, int height)
m_70132_(int p_70133_, int p_70134_)