public abstract class AbstractBerryTreeFoliagePlacer
extends net.minecraft.world.gen.foliageplacer.FoliagePlacer
Constructor and Description |
---|
AbstractBerryTreeFoliagePlacer(net.minecraftforge.fml.RegistryObject<net.minecraft.world.gen.foliageplacer.FoliagePlacerType<?>> foliagePlacerType,
int foliageHeight,
java.util.List<java.lang.Integer> fullRows,
net.minecraft.util.math.BlockPos... foliagePositions) |
Modifier and Type | Method and Description |
---|---|
protected void |
createFoliage(net.minecraft.world.gen.IWorldGenerationReader worldGenReader,
java.util.Random random,
net.minecraft.world.gen.feature.BaseTreeFeatureConfig config,
int unknown,
net.minecraft.world.gen.foliageplacer.FoliagePlacer.Foliage foliage,
int foliageHeight,
int radius,
java.util.Set<net.minecraft.util.math.BlockPos> blockSet,
int treeTopHeight,
net.minecraft.util.math.MutableBoundingBox mutableBoundingBox) |
int |
foliageHeight(java.util.Random p_230374_1_,
int p_230374_2_,
net.minecraft.world.gen.feature.BaseTreeFeatureConfig p_230374_3_) |
protected boolean |
shouldSkipLocation(java.util.Random random,
int x,
int y,
int z,
int radius,
boolean doubleTrunk) |
protected net.minecraft.world.gen.foliageplacer.FoliagePlacerType<?> |
type() |
public AbstractBerryTreeFoliagePlacer(net.minecraftforge.fml.RegistryObject<net.minecraft.world.gen.foliageplacer.FoliagePlacerType<?>> foliagePlacerType, int foliageHeight, java.util.List<java.lang.Integer> fullRows, net.minecraft.util.math.BlockPos... foliagePositions)
protected net.minecraft.world.gen.foliageplacer.FoliagePlacerType<?> type()
type
in class net.minecraft.world.gen.foliageplacer.FoliagePlacer
protected void createFoliage(net.minecraft.world.gen.IWorldGenerationReader worldGenReader, java.util.Random random, net.minecraft.world.gen.feature.BaseTreeFeatureConfig config, int unknown, net.minecraft.world.gen.foliageplacer.FoliagePlacer.Foliage foliage, int foliageHeight, int radius, java.util.Set<net.minecraft.util.math.BlockPos> blockSet, int treeTopHeight, net.minecraft.util.math.MutableBoundingBox mutableBoundingBox)
createFoliage
in class net.minecraft.world.gen.foliageplacer.FoliagePlacer
public int foliageHeight(java.util.Random p_230374_1_, int p_230374_2_, net.minecraft.world.gen.feature.BaseTreeFeatureConfig p_230374_3_)
foliageHeight
in class net.minecraft.world.gen.foliageplacer.FoliagePlacer
protected boolean shouldSkipLocation(java.util.Random random, int x, int y, int z, int radius, boolean doubleTrunk)
shouldSkipLocation
in class net.minecraft.world.gen.foliageplacer.FoliagePlacer