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
- Mappings:
Namespace Name official csz$a
intermediary net/minecraft/class_4647$class_5208
named net/minecraft/world/gen/foliage/FoliagePlacer$TreeNode
-
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
- Mappings:
Namespace Name Mixin selector official a
Lcsz$a;a:Lfx;
intermediary field_24158
Lnet/minecraft/class_4647$class_5208;field_24158:Lnet/minecraft/class_2338;
named center
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;center:Lnet/minecraft/util/math/BlockPos;
-
foliageRadius
private final int foliageRadius- Mappings:
Namespace Name Mixin selector official b
Lcsz$a;b:I
intermediary field_24159
Lnet/minecraft/class_4647$class_5208;field_24159:I
named foliageRadius
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;foliageRadius:I
-
giantTrunk
private final boolean giantTrunk- Mappings:
Namespace Name Mixin selector official c
Lcsz$a;c:Z
intermediary field_24160
Lnet/minecraft/class_4647$class_5208;field_24160:Z
named giantTrunk
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;giantTrunk:Z
-
-
Constructor Details
-
TreeNode
- Mappings:
Namespace Name Mixin selector official <init>
Lcsz$a;<init>(Lfx;IZ)V
intermediary <init>
Lnet/minecraft/class_4647$class_5208;<init>(Lnet/minecraft/class_2338;IZ)V
named <init>
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;<init>(Lnet/minecraft/util/math/BlockPos;IZ)V
-
-
Method Details
-
getCenter
- Mappings:
Namespace Name Mixin selector official a
Lcsz$a;a()Lfx;
intermediary method_27388
Lnet/minecraft/class_4647$class_5208;method_27388()Lnet/minecraft/class_2338;
named getCenter
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;getCenter()Lnet/minecraft/util/math/BlockPos;
-
getFoliageRadius
public int getFoliageRadius()- Mappings:
Namespace Name Mixin selector official b
Lcsz$a;b()I
intermediary method_27389
Lnet/minecraft/class_4647$class_5208;method_27389()I
named getFoliageRadius
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;getFoliageRadius()I
-
isGiantTrunk
public boolean isGiantTrunk()Whether this node is the top of a giant (2x2 block) trunk- Mappings:
Namespace Name Mixin selector official c
Lcsz$a;c()Z
intermediary method_27390
Lnet/minecraft/class_4647$class_5208;method_27390()Z
named isGiantTrunk
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;isGiantTrunk()Z
-