public class BushFoliagePlacer extends BlobFoliagePlacer
FoliagePlacer.TreeNodeheight| Constructor and Description |
|---|
BushFoliagePlacer(com.mojang.datafixers.Dynamic<T> data) |
BushFoliagePlacer(int radius,
int randomRadius,
int offset,
int randomOffset,
int height) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generate(ModifiableTestableWorld world,
Random random,
TreeFeatureConfig config,
int trunkHeight,
FoliagePlacer.TreeNode treeNode,
int foliageHeight,
int radius,
Set<BlockPos> leaves,
int int2)
This is the main method used to generate foliage.
|
protected boolean |
isInvalidForLeaves(Random random,
int baseHeight,
int dx,
int dy,
int dz,
boolean bool) |
getHeight, serializegenerate, generate, getRadius, method_27387public BushFoliagePlacer(int radius,
int randomRadius,
int offset,
int randomOffset,
int height)
public BushFoliagePlacer(com.mojang.datafixers.Dynamic<T> data)
protected void generate(ModifiableTestableWorld world, Random random, TreeFeatureConfig config, int trunkHeight, FoliagePlacer.TreeNode treeNode, int foliageHeight, int radius, Set<BlockPos> leaves, int int2)
generate in class BlobFoliagePlacerprotected boolean isInvalidForLeaves(Random random, int baseHeight, int dx, int dy, int dz, boolean bool)
isInvalidForLeaves in class BlobFoliagePlacer