Class MegaPineFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.MegaPineFoliagePlacer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
FoliagePlacer.FoliageAttachment -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MegaPineFoliagePlacer>private final IntProviderFields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius -
Constructor Summary
ConstructorsConstructorDescriptionMegaPineFoliagePlacer(IntProvider p_161470_, IntProvider p_161471_, IntProvider p_161472_) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateFoliage(LevelSimulatedReader p_161474_, BiConsumer<BlockPos, BlockState> p_161475_, Random p_161476_, TreeConfiguration p_161477_, int p_161478_, FoliagePlacer.FoliageAttachment p_161479_, int p_161480_, int p_161481_, int p_161482_) intfoliageHeight(Random p_68673_, int p_68674_, TreeConfiguration p_68675_) protected booleanshouldSkipLocation(Random p_68666_, int p_68667_, int p_68668_, int p_68669_, int p_68670_, boolean p_68671_) protected FoliagePlacerType<?>type()Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, shouldSkipLocationSigned, tryPlaceLeaf
-
Field Details
-
CODEC
-
crownHeight
-
-
Constructor Details
-
MegaPineFoliagePlacer
-
-
Method Details
-
type
- Specified by:
typein classFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161474_, BiConsumer<BlockPos, BlockState> p_161475_, Random p_161476_, TreeConfiguration p_161477_, int p_161478_, FoliagePlacer.FoliageAttachment p_161479_, int p_161480_, int p_161481_, int p_161482_) - Specified by:
createFoliagein classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeightin classFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68666_, int p_68667_, int p_68668_, int p_68669_, int p_68670_, boolean p_68671_) - Specified by:
shouldSkipLocationin classFoliagePlacer
-