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

public abstract class FoliagePlacer

cni
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_R2.WorldGenFoilagePlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<FoliagePlacer>
d
CODEC
field_24931
f_zzosassw
TYPE_CODEC
field_236749_d_
protected final UniformInt
e
radius
field_21296
f_czfpnkai
radius
field_227381_a_
protected final UniformInt
f
offset
field_23753
f_denqqplx
offset
field_236750_g_

Constructor summary

ModifierConstructor
public (UniformInt radius, UniformInt offset)

Method summary

Modifier and TypeMethod
protected static <P extends FoliagePlacer> com.mojang.datafixers.Products$P2<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<P>, UniformInt, UniformInt>
b(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
foliagePlacerParts(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
method_30411(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
m_kfjixvcn(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
fillFoliagePlacerFields(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<P> arg0)
func_242830_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(bry arg0, Random arg1, cmw arg2, int arg3, cni$b arg4, int arg5, int arg6, Set<fx> arg7, cqx 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 random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer$TreeNode treeNode, int foliageHeight, int radius, Set<BlockPos> leaves, BlockBox box)
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(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)
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 treeNode, int foliageHeight, int radius, Set<BlockPos> leaves, int offset, BlockBox box)
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, cmw 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)
getRandomHeight(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)
getRandomRadius(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)
getRandomOffset(Random random)
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 random, int baseHeight, int dx, int dy, int dz, boolean giantTrunk)
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(bry arg0, Random arg1, cmw arg2, fx arg3, int arg4, Set<fx> arg5, int arg6, boolean arg7, cqx 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 pos, int baseHeight, Set<BlockPos> leaves, int offset, boolean giantTrunk, BlockBox box)
func_236753_a_(IWorldGenerationReader arg0, Random arg1, BaseTreeFeatureConfig arg2, BlockPos arg3, int arg4, Set<BlockPos> arg5, int arg6, boolean arg7, MutableBoundingBox arg8)