Class BushFoliagePlacer
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.BushFoliagePlacer
-
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
ConstructorDescriptionBushFoliagePlacer(IntProvider p_161370_, IntProvider p_161371_, int p_161372_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFoliage(LevelSimulatedReader p_161374_, BiConsumer<BlockPos,BlockState> p_161375_, Random p_161376_, TreeConfiguration p_161377_, int p_161378_, FoliagePlacer.FoliageAttachment p_161379_, int p_161380_, int p_161381_, int p_161382_)
protected boolean
shouldSkipLocation(Random p_68447_, int p_68448_, int p_68449_, int p_68450_, int p_68451_, boolean p_68452_)
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
-
BushFoliagePlacer
-
-
Method Details
-
type
- Overrides:
type
in classBlobFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161374_, BiConsumer<BlockPos,BlockState> p_161375_, Random p_161376_, TreeConfiguration p_161377_, int p_161378_, FoliagePlacer.FoliageAttachment p_161379_, int p_161380_, int p_161381_, int p_161382_)- Overrides:
createFoliage
in classBlobFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68447_, int p_68448_, int p_68449_, int p_68450_, int p_68451_, boolean p_68452_)- Overrides:
shouldSkipLocation
in classBlobFoliagePlacer
-