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
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_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_)
int
foliageHeight(Random p_68482_, int p_68483_, TreeConfiguration p_68484_)
protected boolean
shouldSkipLocation(Random p_68475_, int p_68476_, int p_68477_, int p_68478_, int p_68479_, boolean p_68480_)
protected boolean
shouldSkipLocationSigned(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:
type
in 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:
createFoliage
in classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeight
in classFoliagePlacer
-
shouldSkipLocationSigned
protected boolean shouldSkipLocationSigned(Random p_68486_, int p_68487_, int p_68488_, int p_68489_, int p_68490_, boolean p_68491_)- Overrides:
shouldSkipLocationSigned
in 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:
shouldSkipLocation
in classFoliagePlacer
-