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

public abstract class TrunkPlacer

cpb
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
net.minecraft.class_5141
net.minecraft.unmapped.C_rojhohdd
net.minecraft.world.gen.trunk.TrunkPlacer
net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
net.minecraft.server.v1_16_R3.TrunkPlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<TrunkPlacer>
c
CODEC
field_24972
f_skzuxwwp
TYPE_CODEC
field_236905_c_
protected final int
d
baseHeight
field_23760
f_abhxfqww
baseHeight
field_236906_d_
protected final int
e
heightRandA
field_23761
f_mkqgyfge
firstRandomHeight
field_236907_e_
protected final int
f
heightRandB
field_23762
f_xgekxsic
secondRandomHeight
field_236908_f_

Constructor summary

ModifierConstructor
public (int baseHeight, int firstRandomHeight, int secondRandomHeight)

Method summary

Modifier and TypeMethod
protected static <P extends TrunkPlacer> com.mojang.datafixers.Products$P3<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<P>, Integer, Integer, Integer>
a(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
trunkPlacerParts(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_28904(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
m_zmfglcmb(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_28904(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
func_236915_a_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
protected abstract TrunkPlacerType<?>
a()
type()
method_28903()
m_ztpkjmfe()
getType()
func_230381_a_()
public abstract List<FoliagePlacer$FoliageAttachment>
a(bsb arg0, Random arg1, int arg2, fx arg3, Set<fx> arg4, cra arg5, cmz arg6)
placeTrunk(LevelSimulatedRW arg0, Random arg1, int arg2, BlockPos arg3, Set<BlockPos> arg4, BoundingBox arg5, TreeConfiguration arg6)
method_26991(class_3747 arg0, Random arg1, int arg2, class_2338 arg3, Set<class_2338> arg4, class_3341 arg5, class_4643 arg6)
m_ttadazwj(C_ibiduojg arg0, Random arg1, int arg2, C_hynzadkk arg3, Set<C_hynzadkk> arg4, C_hmqypqzz arg5, C_zthydktd arg6)
generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, Set<BlockPos> placedStates, BlockBox box, TreeFeatureConfig config)
func_230382_a_(IWorldGenerationReader arg0, Random arg1, int arg2, BlockPos arg3, Set<BlockPos> arg4, MutableBoundingBox arg5, BaseTreeFeatureConfig arg6)
public int
a(Random arg0)
getTreeHeight(Random arg0)
method_26993(Random arg0)
m_ensuiaqn(Random arg0)
getHeight(Random random)
func_236917_a_(Random arg0)
protected static void
a(bse arg0, fx arg1, ceh arg2, cra arg3)
setBlock(LevelWriter arg0, BlockPos arg1, BlockState arg2, BoundingBox arg3)
method_27404(class_1945 arg0, class_2338 arg1, class_2680 arg2, class_3341 arg3)
m_pvlfjbfa(C_gtvfupkc arg0, C_hynzadkk arg1, C_txtbiemp arg2, C_hmqypqzz arg3)
setBlockState(ModifiableWorld world, BlockPos pos, BlockState state, BlockBox box)
func_236913_a_(IWorldWriter arg0, BlockPos arg1, BlockState arg2, MutableBoundingBox arg3)
private static boolean
a(bsc arg0, fx arg1)
isDirt(LevelSimulatedReader arg0, BlockPos arg1)
method_27403(class_3746 arg0, class_2338 arg1)
m_kwohbugv(C_agsukcmb arg0, C_hynzadkk arg1)
canGenerate(TestableWorld world, BlockPos pos)
func_236912_a_(IWorldGenerationBaseReader arg0, BlockPos arg1)
protected static void
a(bsb arg0, fx arg1)
setDirtAt(LevelSimulatedRW arg0, BlockPos arg1)
method_27400(class_3747 arg0, class_2338 arg1)
m_unyewomb(C_ibiduojg arg0, C_hynzadkk arg1)
setToDirt(ModifiableTestableWorld world, BlockPos pos)
func_236909_a_(IWorldGenerationReader arg0, BlockPos arg1)
protected static boolean
a(bsb arg0, Random arg1, fx arg2, Set<fx> arg3, cra arg4, cmz arg5)
placeLog(LevelSimulatedRW arg0, Random arg1, BlockPos arg2, Set<BlockPos> arg3, BoundingBox arg4, TreeConfiguration arg5)
method_27402(class_3747 arg0, Random arg1, class_2338 arg2, Set<class_2338> arg3, class_3341 arg4, class_4643 arg5)
m_oqzjctnk(C_ibiduojg arg0, Random arg1, C_hynzadkk arg2, Set<C_hynzadkk> arg3, C_hmqypqzz arg4, C_zthydktd arg5)
getAndSetState(ModifiableTestableWorld world, Random random, BlockPos pos, Set<BlockPos> placedStates, BlockBox box, TreeFeatureConfig config)
func_236911_a_(IWorldGenerationReader arg0, Random arg1, BlockPos arg2, Set<BlockPos> arg3, MutableBoundingBox arg4, BaseTreeFeatureConfig arg5)
protected static void
a(bsb arg0, Random arg1, fx$a arg2, Set<fx> arg3, cra arg4, cmz arg5)
placeLogIfFree(LevelSimulatedRW arg0, Random arg1, BlockPos$MutableBlockPos arg2, Set<BlockPos> arg3, BoundingBox arg4, TreeConfiguration arg5)
method_27401(class_3747 arg0, Random arg1, class_2338$class_2339 arg2, Set<class_2338> arg3, class_3341 arg4, class_4643 arg5)
m_ozvnumml(C_ibiduojg arg0, Random arg1, C_hynzadkk$C_egqitdjk arg2, Set<C_hynzadkk> arg3, C_hmqypqzz arg4, C_zthydktd arg5)
trySetState(ModifiableTestableWorld world, Random random, BlockPos$Mutable pos, Set<BlockPos> placedStates, BlockBox box, TreeFeatureConfig config)
func_236910_a_(IWorldGenerationReader arg0, Random arg1, BlockPos$Mutable arg2, Set<BlockPos> arg3, MutableBoundingBox arg4, BaseTreeFeatureConfig arg5)