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

public class FancyTrunkPlacer

extends TrunkPlacer

cyn
net.minecraft.world.level.levelgen.feature.trunkplacers.FancyTrunkPlacer
net.minecraft.class_5212
net.minecraft.unmapped.C_wptxwxvu
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
f_yleqxjrk
CODEC
f_70091_
private static final double
b
TRUNK_HEIGHT_SCALE
field_31524
f_wahqyrnk
field_31524
f_161796_
private static final double
h
CLUSTER_DENSITY_MAGIC
field_31525
f_eitzscab
field_31525
f_161797_
private static final double
i
BRANCH_SLOPE
field_31526
f_mhaxnfzl
field_31526
f_161798_
private static final double
j
BRANCH_LENGTH_MAGIC
field_31527
f_ynlafywz
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()
m_ztpkjmfe()
getType()
m_7362_()
public List<FoliagePlacer$FoliageAttachment>
a(bwv arg0, BiConsumer<gg, cks> arg1, Random arg2, int arg3, gg arg4, cwm arg5)
placeTrunk(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, int arg3, BlockPos arg4, TreeConfiguration arg5)
method_26991(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, Random arg2, int arg3, class_2338 arg4, class_4643 arg5)
m_ttadazwj(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, Random arg2, int arg3, C_hynzadkk arg4, C_zthydktd arg5)
generate(TestableWorld arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, int arg3, BlockPos arg4, TreeFeatureConfig arg5)
m_142625_(C_1604_ p_161802_, BiConsumer<C_4675_, C_2064_> p_161803_, Random p_161804_, int p_161805_, C_4675_ p_161806_, C_2366_ arg5)
private boolean
a(bwv arg0, BiConsumer<gg, cks> arg1, Random arg2, gg arg3, gg arg4, boolean arg5, cwm arg6)
makeLimb(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, BlockPos arg3, BlockPos arg4, boolean arg5, TreeConfiguration arg6)
method_27393(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, Random arg2, class_2338 arg3, class_2338 arg4, boolean arg5, class_4643 arg6)
m_ndredggh(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, Random arg2, C_hynzadkk arg3, C_hynzadkk arg4, boolean arg5, C_zthydktd arg6)
makeOrCheckBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, BlockPos startPos, BlockPos branchPos, boolean make, TreeFeatureConfig config)
m_161815_(C_1604_ p_161817_, BiConsumer<C_4675_, C_2064_> p_161818_, Random p_161819_, C_4675_ p_161820_, C_4675_ p_161821_, boolean p_161822_, C_2366_ arg6)
private int
a(gg arg0)
getSteps(BlockPos arg0)
method_27394(class_2338 arg0)
m_vlugegvt(C_hynzadkk arg0)
getLongestSide(BlockPos offset)
m_70127_(C_4675_ arg0)
private Direction$Axis
a(gg arg0, gg arg1)
getLogAxis(BlockPos arg0, BlockPos arg1)
method_27395(class_2338 arg0, class_2338 arg1)
m_fgaxpvgu(C_hynzadkk arg0, C_hynzadkk 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)
m_ajtyuqph(int arg0, int arg1)
isHighEnough(int treeHeight, int height)
m_70098_(int p_70100_, int arg1)
private void
a(bwv arg0, BiConsumer<gg, cks> arg1, Random arg2, int arg3, gg arg4, List<cyn$a> arg5, cwm arg6)
makeBranches(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, int arg3, BlockPos arg4, List<FancyTrunkPlacer$FoliageCoords> arg5, TreeConfiguration arg6)
method_27392(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, Random arg2, int arg3, class_2338 arg4, List<class_5212$class_5213> arg5, class_4643 arg6)
m_tkzguhok(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, Random arg2, int arg3, C_hynzadkk arg4, List<C_wptxwxvu$C_qguqepnt> arg5, C_zthydktd arg6)
makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, Random random, int treeHeight, BlockPos startPos, List<LargeOakTrunkPlacer$BranchPosition> branchPositions, TreeFeatureConfig config)
m_161807_(C_1604_ p_161809_, BiConsumer<C_4675_, C_2064_> p_161810_, Random p_161811_, int p_161812_, C_4675_ p_161813_, List<C_2420_$C_2421_> p_161814_, C_2366_ arg6)
private static float
b(int arg0, int arg1)
treeShape(int arg0, int arg1)
method_27396(int arg0, int arg1)
m_suoagrex(int arg0, int arg1)
shouldGenerateBranch(int treeHeight, int height)
m_70132_(int p_70133_, int p_70134_)