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

public class SpruceFoliagePlacer

extends FoliagePlacer

dgr
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(cgg arg0, BiConsumer<gt, cur> arg1, alu arg2, dfw arg3, int arg4, dgl$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_2380_ p_225750_, int p_225751_, int p_225752_, int arg8)
public int
a(alu arg0, int arg1, dfw 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(alu 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)