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

public class SpruceFoliagePlacer

extends FoliagePlacer

dho
net.minecraft.world.level.levelgen.feature.foliageplacers.SpruceFoliagePlacer
net.minecraft.class_4650
net.minecraft.world.gen.foliage.SpruceFoliagePlacer
net.minecraft.src.C_2385_
net.minecraft.world.level.levelgen.feature.foliageplacers.WorldGenFoilagePlacerSpruce

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SpruceFoliagePlacer>
a
CODEC
field_24936
CODEC
f_68713_
private final IntProvider
b
trunkHeight
field_23757
trunkHeight
f_68714_

Constructor summary

ModifierConstructor
public (IntProvider radius, IntProvider offset, IntProvider trunkHeight)

Method summary

Modifier and TypeMethod
protected FoliagePlacerType<?>
a()
type()
method_28843()
getType()
m_5897_()
protected void
a(chd arg0, BiConsumer<gt, cvo> arg1, amn arg2, dgt arg3, int arg4, dhi$a arg5, int arg6, int arg7, int arg8)
createFoliage(LevelSimulatedReader arg0, BiConsumer<BlockPos, BlockState> arg1, RandomSource 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, class_5819 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_213633_(C_1604_ p_225745_, BiConsumer<C_4675_, C_2064_> p_225746_, C_212974_ p_225747_, C_2366_ p_225748_, int p_225749_, C_2379_$C_2380_ p_225750_, int p_225751_, int p_225752_, int arg8)
public int
a(amn arg0, int arg1, dgt arg2)
foliageHeight(RandomSource arg0, int arg1, TreeConfiguration arg2)
method_26989(class_5819 arg0, int arg1, class_4643 arg2)
getRandomHeight(Random arg0, int arg1, TreeFeatureConfig arg2)
m_214116_(C_212974_ p_225741_, int p_225742_, C_2366_ arg2)
protected boolean
a(amn 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)
isInvalidForLeaves(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
m_214203_(C_212974_ p_225734_, int p_225735_, int p_225736_, int p_225737_, int p_225738_, boolean arg5)