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

public abstract class TrunkPlacer

coy
net.minecraft.world.level.levelgen.feature.trunkplacers.TrunkPlacer
net.minecraft.class_5141
net.minecraft.world.gen.trunk.TrunkPlacer
net.minecraft.world.gen.trunkplacer.AbstractTrunkPlacer
net.minecraft.server.v1_16_R2.TrunkPlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<TrunkPlacer>
c
CODEC
field_24972
CODEC
field_236905_c_
protected final int
d
baseHeight
field_23760
baseHeight
field_236906_d_
protected final int
e
heightRandA
field_23761
firstRandomHeight
field_236907_e_
protected final int
f
heightRandB
field_23762
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)
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()
getType()
func_230381_a_()
public abstract List<FoliagePlacer$FoliageAttachment>
a(bry arg0, Random arg1, int arg2, fx arg3, Set<fx> arg4, cqx arg5, cmw 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)
generate(ModifiableTestableWorld world, Random random, int trunkHeight, BlockPos pos, Set<BlockPos> arg4, BlockBox arg5, TreeFeatureConfig arg6)
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)
getHeight(Random random)
func_236917_a_(Random arg0)
protected static void
a(bsb arg0, fx arg1, cee arg2, cqx arg3)
setBlock(LevelWriter arg0, BlockPos arg1, BlockState arg2, BoundingBox arg3)
method_27404(class_1945 arg0, class_2338 arg1, class_2680 arg2, class_3341 arg3)
method_27404(ModifiableWorld arg0, BlockPos arg1, BlockState arg2, BlockBox arg3)
func_236913_a_(IWorldWriter arg0, BlockPos arg1, BlockState arg2, MutableBoundingBox arg3)
private static boolean
a(brz arg0, fx arg1)
isDirt(LevelSimulatedReader arg0, BlockPos arg1)
method_27403(class_3746 arg0, class_2338 arg1)
method_27403(TestableWorld arg0, BlockPos arg1)
func_236912_a_(IWorldGenerationBaseReader arg0, BlockPos arg1)
protected static void
a(bry arg0, fx arg1)
setDirtAt(LevelSimulatedRW arg0, BlockPos arg1)
method_27400(class_3747 arg0, class_2338 arg1)
method_27400(ModifiableTestableWorld arg0, BlockPos arg1)
func_236909_a_(IWorldGenerationReader arg0, BlockPos arg1)
protected static boolean
a(bry arg0, Random arg1, fx arg2, Set<fx> arg3, cqx arg4, cmw 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)
method_27402(ModifiableTestableWorld arg0, Random arg1, BlockPos arg2, Set<BlockPos> arg3, BlockBox arg4, TreeFeatureConfig arg5)
func_236911_a_(IWorldGenerationReader arg0, Random arg1, BlockPos arg2, Set<BlockPos> arg3, MutableBoundingBox arg4, BaseTreeFeatureConfig arg5)
protected static void
a(bry arg0, Random arg1, fx$a arg2, Set<fx> arg3, cqx arg4, cmw 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)
method_27401(ModifiableTestableWorld arg0, Random arg1, BlockPos$Mutable arg2, Set<BlockPos> arg3, BlockBox arg4, TreeFeatureConfig arg5)
func_236910_a_(IWorldGenerationReader arg0, Random arg1, BlockPos$Mutable arg2, Set<BlockPos> arg3, MutableBoundingBox arg4, BaseTreeFeatureConfig arg5)