Class DarkOakFoliagePlacer
java.lang.Object
net.minecraft.world.gen.foliageplacer.FoliagePlacer
net.minecraft.world.gen.foliageplacer.DarkOakFoliagePlacer
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.gen.foliageplacer.FoliagePlacer
FoliagePlacer.Foliage
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DarkOakFoliagePlacer>
Fields inherited from class net.minecraft.world.gen.foliageplacer.FoliagePlacer
offset, radius
-
Constructor Summary
ConstructorDescriptionDarkOakFoliagePlacer
(FeatureSpread p_i241997_1_, FeatureSpread p_i241997_2_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createFoliage
(IWorldGenerationReader p_230372_1_, Random p_230372_2_, BaseTreeFeatureConfig p_230372_3_, int p_230372_4_, FoliagePlacer.Foliage p_230372_5_, int p_230372_6_, int p_230372_7_, Set<BlockPos> p_230372_8_, int p_230372_9_, MutableBoundingBox p_230372_10_) int
foliageHeight
(Random p_230374_1_, int p_230374_2_, BaseTreeFeatureConfig p_230374_3_) protected boolean
shouldSkipLocation
(Random p_230373_1_, int p_230373_2_, int p_230373_3_, int p_230373_4_, int p_230373_5_, boolean p_230373_6_) protected boolean
shouldSkipLocationSigned
(Random p_230375_1_, int p_230375_2_, int p_230375_3_, int p_230375_4_, int p_230375_5_, boolean p_230375_6_) protected FoliagePlacerType<?>
type()
Methods inherited from class net.minecraft.world.gen.foliageplacer.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow
-
Field Details
-
CODEC
-
-
Constructor Details
-
DarkOakFoliagePlacer
-
-
Method Details
-
type
- Specified by:
type
in classFoliagePlacer
-
createFoliage
protected void createFoliage(IWorldGenerationReader p_230372_1_, Random p_230372_2_, BaseTreeFeatureConfig p_230372_3_, int p_230372_4_, FoliagePlacer.Foliage p_230372_5_, int p_230372_6_, int p_230372_7_, Set<BlockPos> p_230372_8_, int p_230372_9_, MutableBoundingBox p_230372_10_) - Specified by:
createFoliage
in classFoliagePlacer
-
foliageHeight
- Specified by:
foliageHeight
in classFoliagePlacer
-
shouldSkipLocationSigned
protected boolean shouldSkipLocationSigned(Random p_230375_1_, int p_230375_2_, int p_230375_3_, int p_230375_4_, int p_230375_5_, boolean p_230375_6_) - Overrides:
shouldSkipLocationSigned
in classFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(Random p_230373_1_, int p_230373_2_, int p_230373_3_, int p_230373_4_, int p_230373_5_, boolean p_230373_6_) - Specified by:
shouldSkipLocation
in classFoliagePlacer
-