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

public class CherryFoliagePlacer

extends FoliagePlacer

efr
net.minecraft.world.level.levelgen.feature.foliageplacers.CherryFoliagePlacer
net.minecraft.class_8178
net.minecraft.world.gen.foliage.CherryFoliagePlacer
net.minecraft.src.C_271071_
net.minecraft.world.level.levelgen.feature.foliageplacers.CherryFoliagePlacer

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<CherryFoliagePlacer>
a
CODEC
field_42841
CODEC
f_271259_
private final IntProvider
b
height
field_42842
height
f_271102_
private final float
c
wideBottomLayerHoleChance
field_42843
wideBottomLayerHoleChance
f_271179_
private final float
g
cornerHoleChance
field_42844
cornerHoleChance
f_271392_
private final float
h
hangingLeavesChance
field_42845
hangingLeavesChance
f_271143_
private final float
i
hangingLeavesExtensionChance
field_42846
hangingLeavesExtensionChance
f_271510_

Constructor summary

ModifierConstructor
public (IntProvider radius, IntProvider offset, IntProvider height, float wideBottomLayerHoleChance, float cornerHoleChance, float hangingLeavesChance, float hangingLeavesExtensionChance)

Method summary

Modifier and TypeMethod
protected FoliagePlacerType<?>
a()
type()
method_28843()
getType()
m_5897_()
protected void
a(ddc arg0, efu$b arg1, ayw arg2, efe arg3, int arg4, efu$a arg5, int arg6, int arg7, int arg8)
createFoliage(LevelSimulatedReader arg0, FoliagePlacer$FoliageSetter arg1, RandomSource arg2, TreeConfiguration arg3, int arg4, FoliagePlacer$FoliageAttachment arg5, int arg6, int arg7, int arg8)
method_23448(class_3746 arg0, class_4647$class_8179 arg1, class_5819 arg2, class_4643 arg3, int arg4, class_4647$class_5208 arg5, int arg6, int arg7, int arg8)
generate(TestableWorld arg0, FoliagePlacer$BlockPlacer arg1, Random arg2, TreeFeatureConfig arg3, int arg4, FoliagePlacer$TreeNode arg5, int arg6, int arg7, int arg8)
m_213633_(C_1604_ p_273410_, C_2379_$C_271048_ p_273057_, C_212974_ p_273220_, C_2366_ p_272975_, int p_273037_, C_2379_$C_2380_ p_273647_, int p_273700_, int p_273188_, int arg8)
public int
a(ayw arg0, int arg1, efe arg2)
foliageHeight(RandomSource arg0, int arg1, TreeConfiguration arg2)
method_26989(class_5819 arg0, int arg1, class_4643 arg2)
getRandomHeight(Random arg0, int arg1, TreeFeatureConfig arg2)
m_214116_(C_212974_ p_273336_, int p_273643_, C_2366_ arg2)
protected boolean
a(ayw arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
shouldSkipLocation(RandomSource arg0, int arg1, int arg2, int arg3, int arg4, boolean arg5)
method_23451(class_5819 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_214203_(C_212974_ p_273380_, int p_272865_, int p_272853_, int p_272631_, int p_273432_, boolean arg5)