Class FancyFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.BlobFoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.FancyFoliagePlacer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
FoliagePlacer.FoliageAttachment
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.BlobFoliagePlacer
height
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
Constructor Summary
ConstructorDescriptionFancyFoliagePlacer(IntProvider p_161397_, IntProvider p_161398_, int p_161399_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFoliage(LevelSimulatedReader p_161401_, BiConsumer<BlockPos,BlockState> p_161402_, Random p_161403_, TreeConfiguration p_161404_, int p_161405_, FoliagePlacer.FoliageAttachment p_161406_, int p_161407_, int p_161408_, int p_161409_)
protected boolean
shouldSkipLocation(Random p_68511_, int p_68512_, int p_68513_, int p_68514_, int p_68515_, boolean p_68516_)
protected FoliagePlacerType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.BlobFoliagePlacer
blobParts, foliageHeight
Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, shouldSkipLocationSigned, tryPlaceLeaf
-
Field Details
-
CODEC
-
-
Constructor Details
-
FancyFoliagePlacer
-
-
Method Details
-
type
- Overrides:
type
in classBlobFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161401_, BiConsumer<BlockPos,BlockState> p_161402_, Random p_161403_, TreeConfiguration p_161404_, int p_161405_, FoliagePlacer.FoliageAttachment p_161406_, int p_161407_, int p_161408_, int p_161409_)- Overrides:
createFoliage
in classBlobFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68511_, int p_68512_, int p_68513_, int p_68514_, int p_68515_, boolean p_68516_)- Overrides:
shouldSkipLocation
in classBlobFoliagePlacer
-