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

public class FancyTrunkPlacer

extends TrunkPlacer

ema
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.world.gen.trunk.LargeOakTrunkPlacer
net.minecraft.src.C_2420_
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacerDarkOak

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<FancyTrunkPlacer>
a
CODEC
field_24967
f_yleqxjrk
CODEC
CODEC
f_70091_
private static final double
b
TRUNK_HEIGHT_SCALE
field_31524
f_wahqyrnk
field_31524
TRUNK_HEIGHT_SCALE
f_161796_
private static final double
h
CLUSTER_DENSITY_MAGIC
field_31525
f_eitzscab
field_31525
CLUSTER_DENSITY_MAGIC_NUMBER
f_161797_
private static final double
i
BRANCH_SLOPE
field_31526
f_mhaxnfzl
field_31526
BRANCH_SLOPE
f_161798_
private static final double
j
BRANCH_LENGTH_MAGIC
field_31527
f_ynlafywz
field_31527
BRANCH_LENGTH_MAGIC
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()
getType()
m_7362_()
public List<FoliagePlacer$FoliageAttachment>
a(dhn arg0, BiConsumer<jh, dxu> arg1, bam arg2, int arg3, jh arg4, ejv 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)
m_ttadazwj(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, C_rlomrsco arg2, int arg3, C_hynzadkk arg4, C_zthydktd arg5)
generate(TestableWorld arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, int arg3, BlockPos arg4, TreeFeatureConfig arg5)
generate(TestableWorld arg0, BiConsumer<BlockPos, BlockState> arg1, RandomGenerator 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(dhn arg0, BiConsumer<jh, dxu> arg1, bam arg2, jh arg3, jh arg4, boolean arg5, ejv 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)
m_ndredggh(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, C_rlomrsco 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)
makeOrCheckBranch(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, RandomGenerator random, 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(jh arg0)
getSteps(BlockPos arg0)
method_27394(class_2338 arg0)
m_vlugegvt(C_hynzadkk arg0)
getLongestSide(BlockPos offset)
getLongestSide(BlockPos offset)
m_70127_(C_4675_ arg0)
private Direction$Axis
a(jh arg0, jh 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)
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)
isHighEnough(int treeHeight, int height)
m_70098_(int p_70100_, int arg1)
private void
a(dhn arg0, BiConsumer<jh, dxu> arg1, bam arg2, int arg3, jh arg4, List<ema$a> arg5, ejv 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)
m_tkzguhok(C_agsukcmb arg0, BiConsumer<C_hynzadkk, C_txtbiemp> arg1, C_rlomrsco 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)
makeBranches(TestableWorld world, BiConsumer<BlockPos, BlockState> replacer, RandomGenerator random, 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_2420_$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)
m_suoagrex(int arg0, int arg1)
shouldGenerateBranch(int treeHeight, int height)
shouldGenerateBranch(int treeHeight, int height)
m_70132_(int p_70133_, int p_70134_)