Package net.minecraft.world.gen.foliage
Class FoliagePlacer.TreeNode
java.lang.Object
net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode
- Enclosing class:
- FoliagePlacer
public static final class FoliagePlacer.TreeNode extends Object
A point on a tree to generate foliage around
-
Field Summary
Fields Modifier and Type Field Description private BlockPos
center
private int
foliageRadius
private boolean
giantTrunk
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description BlockPos
getCenter()
int
getFoliageRadius()
boolean
isGiantTrunk()
Whether this node is the top of a giant (2x2 block) trunk
-
Field Details
-
center
-
foliageRadius
private final int foliageRadius -
giantTrunk
private final boolean giantTrunk
-
-
Constructor Details
-
TreeNode
-
-
Method Details
-
getCenter
-
getFoliageRadius
public int getFoliageRadius() -
isGiantTrunk
public boolean isGiantTrunk()Whether this node is the top of a giant (2x2 block) trunk
-