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

public class RandomSpreadFoliagePlacer

extends FoliagePlacer

cxf
net.minecraft.world.level.levelgen.feature.foliageplacers.RandomSpreadFoliagePlacer
net.minecraft.class_5928
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.Codec<RandomSpreadFoliagePlacer>
a
CODEC
field_29297
CODEC
f_161501_
private final IntProvider
b
foliageHeight
field_29298
foliageHeight
f_161502_
private final int
c
leafPlacementAttempts
field_29299
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()
getType()
m_5897_()
protected void
a(bwv arg0, BiConsumer<gg, cks> arg1, Random arg2, cwm arg3, int arg4, cxa$a arg5, int arg6, int arg7, int arg8)
createFoliage(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, TreeConfiguration arg3, int arg4, FoliagePlacer$FoliageAttachment arg5, int arg6, int arg7, int arg8)
method_23448(class_3746 arg0, BiConsumer<class_2338, class_2680> arg1, Random arg2, class_4643 arg3, int arg4, class_4647$class_5208 arg5, int arg6, int arg7, int arg8)
generate(TestableWorld arg0, BiConsumer<BlockPos, BlockState> arg1, Random arg2, TreeFeatureConfig arg3, int arg4, FoliagePlacer$TreeNode arg5, int arg6, int arg7, int arg8)
m_142539_(C_1604_ p_161513_, BiConsumer<C_4675_, C_2064_> p_161514_, Random p_161515_, C_2366_ p_161516_, int p_161517_, C_2379_$C_2380_ p_161518_, int p_161519_, int p_161520_, int arg8)
public int
a(Random arg0, int arg1, cwm arg2)
foliageHeight(Random arg0, int arg1, TreeConfiguration arg2)
method_26989(Random arg0, int arg1, class_4643 arg2)
getRandomHeight(Random arg0, int arg1, TreeFeatureConfig arg2)
m_5969_(Random p_161534_, int p_161535_, C_2366_ arg2)
protected boolean
a(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
shouldSkipLocation(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
method_23451(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
isInvalidForLeaves(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
m_7394_(Random p_161527_, int p_161528_, int p_161529_, int p_161530_, int p_161531_, boolean arg5)