Class AcaciaFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.AcaciaFoliagePlacer
-
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<AcaciaFoliagePlacer>
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFoliage
(LevelSimulatedReader p_161346_, BiConsumer<BlockPos, BlockState> p_161347_, Random p_161348_, TreeConfiguration p_161349_, int p_161350_, FoliagePlacer.FoliageAttachment p_161351_, int p_161352_, int p_161353_, int p_161354_) int
foliageHeight
(Random p_68389_, int p_68390_, TreeConfiguration p_68391_) protected boolean
shouldSkipLocation
(Random p_68382_, int p_68383_, int p_68384_, int p_68385_, int p_68386_, boolean p_68387_) protected FoliagePlacerType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, shouldSkipLocationSigned, tryPlaceLeaf
-
Field Details
-
CODEC
-
-
Constructor Details
-
AcaciaFoliagePlacer
-
-
Method Details
-
type
- Specified by:
type
in classFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161346_, BiConsumer<BlockPos, BlockState> p_161347_, Random p_161348_, TreeConfiguration p_161349_, int p_161350_, FoliagePlacer.FoliageAttachment p_161351_, int p_161352_, int p_161353_, int p_161354_) - Specified by:
createFoliage
in classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeight
in classFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68382_, int p_68383_, int p_68384_, int p_68385_, int p_68386_, boolean p_68387_) - Specified by:
shouldSkipLocation
in classFoliagePlacer
-