Class BushFoliagePlacer
- java.lang.Object
-
- net.minecraft.world.gen.foliageplacer.FoliagePlacer
-
- net.minecraft.world.gen.foliageplacer.BlobFoliagePlacer
-
- net.minecraft.world.gen.foliageplacer.BushFoliagePlacer
-
public class BushFoliagePlacer extends BlobFoliagePlacer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraft.world.gen.foliageplacer.FoliagePlacer
FoliagePlacer.Foliage
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<BushFoliagePlacer>
CODEC
-
Fields inherited from class net.minecraft.world.gen.foliageplacer.BlobFoliagePlacer
height
-
Fields inherited from class net.minecraft.world.gen.foliageplacer.FoliagePlacer
offset, radius
-
-
Constructor Summary
Constructors Constructor Description BushFoliagePlacer(FeatureSpread p_i241996_1_, FeatureSpread p_i241996_2_, int p_i241996_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createFoliage(IWorldGenerationReader p_230372_1_, java.util.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_, java.util.Set<BlockPos> p_230372_8_, int p_230372_9_, MutableBoundingBox p_230372_10_)
protected boolean
shouldSkipLocation(java.util.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 FoliagePlacerType<?>
type()
-
Methods inherited from class net.minecraft.world.gen.foliageplacer.BlobFoliagePlacer
blobParts, foliageHeight
-
Methods inherited from class net.minecraft.world.gen.foliageplacer.FoliagePlacer
createFoliage, foliagePlacerParts, foliageRadius, placeLeavesRow, shouldSkipLocationSigned
-
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<BushFoliagePlacer> CODEC
-
-
Constructor Detail
-
BushFoliagePlacer
public BushFoliagePlacer(FeatureSpread p_i241996_1_, FeatureSpread p_i241996_2_, int p_i241996_3_)
-
-
Method Detail
-
type
protected FoliagePlacerType<?> type()
- Overrides:
type
in classBlobFoliagePlacer
-
createFoliage
protected void createFoliage(IWorldGenerationReader p_230372_1_, java.util.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_, java.util.Set<BlockPos> p_230372_8_, int p_230372_9_, MutableBoundingBox p_230372_10_)
- Overrides:
createFoliage
in classBlobFoliagePlacer
-
shouldSkipLocation
protected boolean shouldSkipLocation(java.util.Random p_230373_1_, int p_230373_2_, int p_230373_3_, int p_230373_4_, int p_230373_5_, boolean p_230373_6_)
- Overrides:
shouldSkipLocation
in classBlobFoliagePlacer
-
-