net.minecraft.world.level.levelgen.feature.foliageplacers

public class RandomSpreadFoliagePlacer

extends FoliagePlacer

ekr
net.minecraft.world.level.levelgen.feature.foliageplacers.RandomSpreadFoliagePlacer
net.minecraft.class_5928
net.minecraft.unmapped.C_ivxqpqoj
net.minecraft.world.gen.foliage.RandomSpreadFoliagePlacer
net.minecraft.world.gen.foliage.RandomSpreadFoliagePlacer
net.minecraft.src.C_141392_
net.minecraft.world.level.levelgen.feature.foliageplacers.RandomSpreadFoliagePlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<RandomSpreadFoliagePlacer>
a
CODEC
field_29297
f_ltbvwkzq
CODEC
CODEC
f_161501_
private final IntProvider
b
foliageHeight
field_29298
f_gupgleed
foliageHeight
foliageHeight
f_161502_
private final int
c
leafPlacementAttempts
field_29299
f_vldubxkx
leafPlacementAttempts
leafPlacementAttempts
f_161503_

Constructor summary

ModifierConstructor
public (IntProvider radius, IntProvider offset, IntProvider foliageHeight, int leafPlacementAttempts)

Method summary

Modifier and TypeMethod
protected FoliagePlacerType<?>
a()
type()
method_28843()
m_lnntehfe()
getType()
getType()
m_5897_()
protected void
a(dho arg0, ekm$b arg1, bam arg2, ejw arg3, int arg4, ekm$a arg5, int arg6, int arg7, int arg8)
createFoliage(LevelSimulatedReader arg0, FoliagePlacer$FoliageSetter arg1, RandomSource arg2, TreeConfiguration arg3, int arg4, FoliagePlacer$FoliageAttachment arg5, int arg6, int arg7, int arg8)
method_23448(class_3746 arg0, class_4647$class_8179 arg1, class_5819 arg2, class_4643 arg3, int arg4, class_4647$class_5208 arg5, int arg6, int arg7, int arg8)
m_nquaqgua(C_agsukcmb arg0, C_iwuefjcy$C_pwcqvmho arg1, C_rlomrsco arg2, C_zthydktd arg3, int arg4, C_iwuefjcy$C_uditupge arg5, int arg6, int arg7, int arg8)
generate(TestableWorld arg0, FoliagePlacer$BlockPlacer arg1, Random arg2, TreeFeatureConfig arg3, int arg4, FoliagePlacer$TreeNode arg5, int arg6, int arg7, int arg8)
createFoliage(TestableWorld arg0, FoliagePlacer$Placer arg1, RandomGenerator arg2, TreeFeatureConfig arg3, int arg4, FoliagePlacer$TreeNode arg5, int arg6, int arg7, int arg8)
m_213633_(C_1604_ p_272842_, C_2379_$C_271048_ p_225725_, C_212974_ p_225726_, C_2366_ p_225727_, int p_225728_, C_2379_$C_2380_ p_225729_, int p_225730_, int p_225731_, int arg8)
public int
a(bam arg0, int arg1, ejw arg2)
foliageHeight(RandomSource arg0, int arg1, TreeConfiguration arg2)
method_26989(class_5819 arg0, int arg1, class_4643 arg2)
m_hjzzwqgw(C_rlomrsco arg0, int arg1, C_zthydktd arg2)
getRandomHeight(Random arg0, int arg1, TreeFeatureConfig arg2)
getRandomHeight(RandomGenerator arg0, int arg1, TreeFeatureConfig arg2)
m_214116_(C_212974_ p_225720_, int p_225721_, C_2366_ arg2)
protected boolean
a(bam arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
shouldSkipLocation(RandomSource arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
method_23451(class_5819 arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
m_uuoemfyq(C_rlomrsco arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
isInvalidForLeaves(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
isInvalidForLeaves(RandomGenerator arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
m_214203_(C_212974_ p_225713_, int p_225714_, int p_225715_, int p_225716_, int p_225717_, boolean arg5)