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

public class SpruceFoliagePlacer

extends FoliagePlacer

cpl
net.minecraft.world.level.levelgen.feature.foliageplacers.SpruceFoliagePlacer
net.minecraft.class_4650
net.minecraft.world.gen.foliage.SpruceFoliagePlacer
net.minecraft.world.gen.foliageplacer.SpruceFoliagePlacer
net.minecraft.server.v1_16_R1.WorldGenFoilagePlacerSpruce

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SpruceFoliagePlacer>
a
CODEC
field_24936
field_24936
field_236790_a_
private final int
b
trunkHeight
field_23757
trunkHeight
field_236791_b_
private final int
c
trunkHeightRandom
field_23758
randomTrunkHeight
field_236792_c_

Constructor summary

ModifierConstructor
public (int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)

Method summary

Modifier and TypeMethod
protected FoliagePlacerType<?>
a()
type()
method_28843()
getType()
func_230371_a_()
protected void
a(bqf arg0, Random arg1, cou arg2, int arg3, cpg$b arg4, int arg5, int arg6, Set<fu> arg7, int arg8, ctd arg9)
createFoliage(LevelSimulatedRW arg0, Random arg1, TreeConfiguration arg2, int arg3, FoliagePlacer$FoliageAttachment arg4, int arg5, int arg6, Set<BlockPos> arg7, int arg8, BoundingBox arg9)
method_23448(class_3747 arg0, Random arg1, class_4643 arg2, int arg3, class_4647$class_5208 arg4, int arg5, int arg6, Set<class_2338> arg7, int arg8, class_3341 arg9)
generate(ModifiableTestableWorld arg0, Random arg1, TreeFeatureConfig arg2, int arg3, FoliagePlacer$TreeNode arg4, int arg5, int arg6, Set<BlockPos> arg7, int arg8, BlockBox arg9)
func_230372_a_(IWorldGenerationReader arg0, Random arg1, BaseTreeFeatureConfig arg2, int arg3, FoliagePlacer$Foliage arg4, int arg5, int arg6, Set<BlockPos> arg7, int arg8, MutableBoundingBox arg9)
public int
a(Random arg0, int arg1, cou arg2)
foliageHeight(Random arg0, int arg1, TreeConfiguration arg2)
method_26989(Random arg0, int arg1, class_4643 arg2)
getHeight(Random arg0, int arg1, TreeFeatureConfig arg2)
func_230374_a_(Random arg0, int arg1, BaseTreeFeatureConfig 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)
func_230373_a_(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)