Class MegaJungleFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.MegaJungleFoliagePlacer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
FoliagePlacer.FoliageAttachment
-
Field Summary
Modifier and TypeFieldDescriptionstatic com.mojang.serialization.Codec<MegaJungleFoliagePlacer>
protected int
Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius
-
Constructor Summary
ConstructorDescriptionMegaJungleFoliagePlacer(IntProvider p_161454_, IntProvider p_161455_, int p_161456_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFoliage(LevelSimulatedReader p_161458_, BiConsumer<BlockPos,BlockState> p_161459_, Random p_161460_, TreeConfiguration p_161461_, int p_161462_, FoliagePlacer.FoliageAttachment p_161463_, int p_161464_, int p_161465_, int p_161466_)
int
foliageHeight(Random p_68639_, int p_68640_, TreeConfiguration p_68641_)
protected boolean
shouldSkipLocation(Random p_68632_, int p_68633_, int p_68634_, int p_68635_, int p_68636_, boolean p_68637_)
protected FoliagePlacerType<?>
type()
Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, shouldSkipLocationSigned, tryPlaceLeaf
-
Field Details
-
CODEC
-
height
protected final int height
-
-
Constructor Details
-
MegaJungleFoliagePlacer
-
-
Method Details
-
type
- Specified by:
type
in classFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161458_, BiConsumer<BlockPos,BlockState> p_161459_, Random p_161460_, TreeConfiguration p_161461_, int p_161462_, FoliagePlacer.FoliageAttachment p_161463_, int p_161464_, int p_161465_, int p_161466_)- Specified by:
createFoliage
in classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeight
in classFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68632_, int p_68633_, int p_68634_, int p_68635_, int p_68636_, boolean p_68637_)- Specified by:
shouldSkipLocation
in classFoliagePlacer
-