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

public abstract class FoliagePlacer

cpg
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.class_4647
net.minecraft.unmapped.C_iwuefjcy
net.minecraft.world.gen.foliage.FoliagePlacer
net.minecraft.world.gen.foliageplacer.FoliagePlacer
net.minecraft.server.v1_16_R1.WorldGenFoilagePlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FoliagePlacer>
d
CODEC
field_24931
f_zzosassw
CODEC
field_236749_d_
protected final int
e
radius
field_21296
f_czfpnkai
radius
field_227381_a_
protected final int
f
radiusRandom
field_21297
f_yjgdxxod
randomRadius
field_227382_b_
protected final int
g
offset
field_23753
f_denqqplx
offset
field_236750_g_
protected final int
h
offsetRandom
field_23754
f_dahkabri
randomOffset
field_236751_h_

Constructor summary

ModifierConstructor
public (int radius, int randomRadius, int offset, int randomOffset)

Method summary

Modifier and TypeMethod
protected static <P extends FoliagePlacer> com.mojang.datafixers.Products$P4<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<P>, Integer, Integer, Integer, Integer>
b(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
foliagePlacerParts(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_28846(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
m_kfjixvcn(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_28846(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
func_236756_b_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
protected abstract FoliagePlacerType<?>
a()
type()
method_28843()
m_lnntehfe()
getType()
func_230371_a_()
public void
a(bqf arg0, Random arg1, cou arg2, int arg3, cpg$b arg4, int arg5, int arg6, Set<fu> arg7, ctd arg8)
createFoliage(LevelSimulatedRW arg0, Random arg1, TreeConfiguration arg2, int arg3, FoliagePlacer$FoliageAttachment arg4, int arg5, int arg6, Set<BlockPos> arg7, BoundingBox arg8)
method_27385(class_3747 arg0, Random arg1, class_4643 arg2, int arg3, class_4647$class_5208 arg4, int arg5, int arg6, Set<class_2338> arg7, class_3341 arg8)
m_tcexmrum(C_ibiduojg arg0, Random arg1, C_zthydktd arg2, int arg3, C_iwuefjcy$C_uditupge arg4, int arg5, int arg6, Set<C_hynzadkk> arg7, C_hmqypqzz arg8)
generate(ModifiableTestableWorld world, Random arg1, TreeFeatureConfig config, int trunkHeight, FoliagePlacer$TreeNode arg4, int foliageHeight, int radius, Set<BlockPos> leaves, BlockBox arg8)
func_236752_a_(IWorldGenerationReader arg0, Random arg1, BaseTreeFeatureConfig arg2, int arg3, FoliagePlacer$Foliage arg4, int arg5, int arg6, Set<BlockPos> arg7, MutableBoundingBox arg8)
protected abstract 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)
m_ntxvvnqc(C_ibiduojg arg0, Random arg1, C_zthydktd arg2, int arg3, C_iwuefjcy$C_uditupge arg4, int arg5, int arg6, Set<C_hynzadkk> arg7, int arg8, C_hmqypqzz arg9)
generate(ModifiableTestableWorld world, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer$TreeNode arg4, int foliageHeight, int radius, Set<BlockPos> leaves, 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 abstract int
a(Random arg0, int arg1, cou arg2)
foliageHeight(Random arg0, int arg1, TreeConfiguration arg2)
method_26989(Random arg0, int arg1, class_4643 arg2)
m_hjzzwqgw(Random arg0, int arg1, C_zthydktd arg2)
getHeight(Random random, int trunkHeight, TreeFeatureConfig config)
func_230374_a_(Random arg0, int arg1, BaseTreeFeatureConfig arg2)
public int
a(Random arg0, int arg1)
foliageRadius(Random arg0, int arg1)
method_23452(Random arg0, int arg1)
m_lenjfbah(Random arg0, int arg1)
getRadius(Random random, int baseHeight)
func_230376_a_(Random arg0, int arg1)
private int
a(Random arg0)
offset(Random arg0)
method_27386(Random arg0)
m_gnnnomut(Random arg0)
method_27386(Random arg0)
func_236755_a_(Random arg0)
protected abstract 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)
m_uuoemfyq(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
isInvalidForLeaves(Random arg0, int baseHeight, int dx, int dy, int dz, boolean arg5)
func_230373_a_(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
protected boolean
b(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
shouldSkipLocationSigned(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
method_27387(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
m_alwthvdq(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
method_27387(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
func_230375_b_(Random arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
protected void
a(bqf arg0, Random arg1, cou arg2, fu arg3, int arg4, Set<fu> arg5, int arg6, boolean arg7, ctd arg8)
placeLeavesRow(LevelSimulatedRW arg0, Random arg1, TreeConfiguration arg2, BlockPos arg3, int arg4, Set<BlockPos> arg5, int arg6, boolean arg7, BoundingBox arg8)
method_23449(class_3747 arg0, Random arg1, class_4643 arg2, class_2338 arg3, int arg4, Set<class_2338> arg5, int arg6, boolean arg7, class_3341 arg8)
m_jhbkooww(C_ibiduojg arg0, Random arg1, C_zthydktd arg2, C_hynzadkk arg3, int arg4, Set<C_hynzadkk> arg5, int arg6, boolean arg7, C_hmqypqzz arg8)
generate(ModifiableTestableWorld world, Random random, TreeFeatureConfig config, BlockPos arg3, int baseHeight, Set<BlockPos> arg5, int arg6, boolean giantTrunk, BlockBox arg8)
func_236753_a_(IWorldGenerationReader arg0, Random arg1, BaseTreeFeatureConfig arg2, BlockPos arg3, int arg4, Set<BlockPos> arg5, int arg6, boolean arg7, MutableBoundingBox arg8)