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
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MegaJungleFoliagePlacer>protected final intFields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius -
Constructor Summary
ConstructorsConstructorDescriptionMegaJungleFoliagePlacer(IntProvider p_161454_, IntProvider p_161455_, int p_161456_) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateFoliage(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_) intfoliageHeight(Random p_68639_, int p_68640_, TreeConfiguration p_68641_) protected booleanshouldSkipLocation(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:
typein 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:
createFoliagein classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeightin 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:
shouldSkipLocationin classFoliagePlacer
-