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

public class SpruceFoliagePlacer

extends FoliagePlacer

cnn
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_R2.WorldGenFoilagePlacerSpruce

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<SpruceFoliagePlacer>
a
CODEC
field_24936
CODEC
field_236790_a_
private final UniformInt
b
trunkHeight
field_23757
trunkHeight
field_236791_b_

Constructor summary

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

Method summary

Modifier and TypeMethod
protected FoliagePlacerType<?>
a()
type()
method_28843()
getType()
func_230371_a_()
protected void
a(bry arg0, Random arg1, cmw arg2, int arg3, cni$b arg4, int arg5, int arg6, Set<fx> arg7, int arg8, cqx 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, cmw arg2)
foliageHeight(Random arg0, int arg1, TreeConfiguration arg2)
method_26989(Random arg0, int arg1, class_4643 arg2)
getRandomHeight(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)