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_225537_, BiConsumer<BlockPos, BlockState> p_225538_, RandomSource p_225539_, TreeConfiguration p_225540_, int p_225541_, FoliagePlacer.FoliageAttachment p_225542_, int p_225543_, int p_225544_, int p_225545_) protected boolean
shouldSkipLocation
(RandomSource p_225530_, int p_225531_, int p_225532_, int p_225533_, int p_225534_, boolean p_225535_) 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_225537_, BiConsumer<BlockPos, BlockState> p_225538_, RandomSource p_225539_, TreeConfiguration p_225540_, int p_225541_, FoliagePlacer.FoliageAttachment p_225542_, int p_225543_, int p_225544_, int p_225545_) - Overrides:
createFoliage
in classBlobFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(RandomSource p_225530_, int p_225531_, int p_225532_, int p_225533_, int p_225534_, boolean p_225535_) - Overrides:
shouldSkipLocation
in classBlobFoliagePlacer
-