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
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MegaPineFoliagePlacer>
private final IntProvider
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
Constructor Summary
ConstructorDescriptionMegaPineFoliagePlacer
(IntProvider p_161470_, IntProvider p_161471_, IntProvider p_161472_) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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_) int
foliageHeight
(Random p_68673_, int p_68674_, TreeConfiguration p_68675_) protected boolean
shouldSkipLocation
(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:
type
in 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:
createFoliage
in classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeight
in 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:
shouldSkipLocation
in classFoliagePlacer
-