public static final class FoliagePlacer.TreeNode extends Object
Modifier and Type | Field and Description |
---|---|
private BlockPos |
center |
private int |
foliageRadius |
private boolean |
giantTrunk |
Constructor and Description |
---|
TreeNode(BlockPos center,
int foliageRadius,
boolean giantTrunk) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
getCenter() |
int |
getFoliageRadius() |
boolean |
isGiantTrunk()
Whether this node is the top of a giant (2x2 block) trunk
|
private final BlockPos center
private final int foliageRadius
private final boolean giantTrunk
public TreeNode(BlockPos center, int foliageRadius, boolean giantTrunk)
public BlockPos getCenter()
public int getFoliageRadius()
public boolean isGiantTrunk()