Class DarkOakFoliagePlacer
java.lang.Object
net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
net.minecraft.world.level.levelgen.feature.foliageplacers.DarkOakFoliagePlacer
-
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<DarkOakFoliagePlacer>Fields inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
offset, radius -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateFoliage(LevelSimulatedReader p_161387_, BiConsumer<BlockPos, BlockState> p_161388_, Random p_161389_, TreeConfiguration p_161390_, int p_161391_, FoliagePlacer.FoliageAttachment p_161392_, int p_161393_, int p_161394_, int p_161395_) intfoliageHeight(Random p_68482_, int p_68483_, TreeConfiguration p_68484_) protected booleanshouldSkipLocation(Random p_68475_, int p_68476_, int p_68477_, int p_68478_, int p_68479_, boolean p_68480_) protected booleanshouldSkipLocationSigned(Random p_68486_, int p_68487_, int p_68488_, int p_68489_, int p_68490_, boolean p_68491_) protected FoliagePlacerType<?>type()Methods inherited from class net.minecraft.world.level.levelgen.feature.foliageplacers.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, tryPlaceLeaf
-
Field Details
-
CODEC
-
-
Constructor Details
-
DarkOakFoliagePlacer
-
-
Method Details
-
type
- Specified by:
typein classFoliagePlacer
-
createFoliage
protected void createFoliage(LevelSimulatedReader p_161387_, BiConsumer<BlockPos, BlockState> p_161388_, Random p_161389_, TreeConfiguration p_161390_, int p_161391_, FoliagePlacer.FoliageAttachment p_161392_, int p_161393_, int p_161394_, int p_161395_) - Specified by:
createFoliagein classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeightin classFoliagePlacer
-
shouldSkipLocationSigned
protected boolean shouldSkipLocationSigned(Random p_68486_, int p_68487_, int p_68488_, int p_68489_, int p_68490_, boolean p_68491_) - Overrides:
shouldSkipLocationSignedin classFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_68475_, int p_68476_, int p_68477_, int p_68478_, int p_68479_, boolean p_68480_) - Specified by:
shouldSkipLocationin classFoliagePlacer
-