Class PineFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.PineFoliagePlacer
-
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<PineFoliagePlacer>
private final IntProvider
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
Constructor Summary
ConstructorDescriptionPineFoliagePlacer
(IntProvider p_161486_, IntProvider p_161487_, IntProvider p_161488_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFoliage
(LevelSimulatedReader p_161490_, BiConsumer<BlockPos, BlockState> p_161491_, Random p_161492_, TreeConfiguration p_161493_, int p_161494_, FoliagePlacer.FoliageAttachment p_161495_, int p_161496_, int p_161497_, int p_161498_) int
foliageHeight
(Random p_68710_, int p_68711_, TreeConfiguration p_68712_) int
foliageRadius
(Random p_68700_, int p_68701_) protected boolean
shouldSkipLocation
(Random p_68703_, int p_68704_, int p_68705_, int p_68706_, int p_68707_, boolean p_68708_) protected FoliagePlacerType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, placeLeavesRow, shouldSkipLocationSigned, tryPlaceLeaf
-
Field Details
-
CODEC
-
height
-
-
Constructor Details
-
PineFoliagePlacer
-
-
Method Details
-
type
- Specified by:
type
in classFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161490_, BiConsumer<BlockPos, BlockState> p_161491_, Random p_161492_, TreeConfiguration p_161493_, int p_161494_, FoliagePlacer.FoliageAttachment p_161495_, int p_161496_, int p_161497_, int p_161498_) - Specified by:
createFoliage
in classFoliagePlacer
-
foliageRadius
- Overrides:
foliageRadius
in classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeight
in classFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68703_, int p_68704_, int p_68705_, int p_68706_, int p_68707_, boolean p_68708_) - Specified by:
shouldSkipLocation
in classFoliagePlacer
-