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

public class SpruceFoliagePlacer

extends FoliagePlacer

dbd
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(caj arg0, BiConsumer<gh, coc> arg1, Random arg2, dai arg3, int arg4, dax$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_161544_, BiConsumer<C_4675_, C_2064_> p_161545_, Random p_161546_, C_2366_ p_161547_, int p_161548_, C_2379_$C_2380_ p_161549_, int p_161550_, int p_161551_, int arg8)
public int
a(Random arg0, int arg1, dai 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_68745_, int p_68746_, 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_68738_, int p_68739_, int p_68740_, int p_68741_, int p_68742_, boolean arg5)