Package net.minecraft.world.gen.foliage
Class FoliagePlacer.TreeNode
java.lang.Object
net.minecraft.world.gen.foliage.FoliagePlacer.TreeNode
- Enclosing class:
FoliagePlacer
A point on a tree to generate foliage around
- Mappings:
Namespace Name named net/minecraft/world/gen/foliage/FoliagePlacer$TreeNode
intermediary net/minecraft/class_4647$class_5208
official eep$a
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Whether this node is the top of a giant (2x2 block) trunk
-
Field Details
-
center
- Mappings:
Namespace Name Mixin selector named center
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;center:Lnet/minecraft/util/math/BlockPos;
intermediary field_24158
Lnet/minecraft/class_4647$class_5208;field_24158:Lnet/minecraft/class_2338;
official a
Leep$a;a:Liz;
-
foliageRadius
private final int foliageRadius- Mappings:
Namespace Name Mixin selector named foliageRadius
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;foliageRadius:I
intermediary field_24159
Lnet/minecraft/class_4647$class_5208;field_24159:I
official b
Leep$a;b:I
-
giantTrunk
private final boolean giantTrunk- Mappings:
Namespace Name Mixin selector named giantTrunk
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;giantTrunk:Z
intermediary field_24160
Lnet/minecraft/class_4647$class_5208;field_24160:Z
official c
Leep$a;c:Z
-
-
Constructor Details
-
TreeNode
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;<init>(Lnet/minecraft/util/math/BlockPos;IZ)V
intermediary <init>
Lnet/minecraft/class_4647$class_5208;<init>(Lnet/minecraft/class_2338;IZ)V
official <init>
Leep$a;<init>(Liz;IZ)V
-
-
Method Details
-
getCenter
- Mappings:
Namespace Name Mixin selector named getCenter
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;getCenter()Lnet/minecraft/util/math/BlockPos;
intermediary method_27388
Lnet/minecraft/class_4647$class_5208;method_27388()Lnet/minecraft/class_2338;
official a
Leep$a;a()Liz;
-
getFoliageRadius
public int getFoliageRadius()- Mappings:
Namespace Name Mixin selector named getFoliageRadius
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;getFoliageRadius()I
intermediary method_27389
Lnet/minecraft/class_4647$class_5208;method_27389()I
official b
Leep$a;b()I
-
isGiantTrunk
public boolean isGiantTrunk()Whether this node is the top of a giant (2x2 block) trunk- Mappings:
Namespace Name Mixin selector named isGiantTrunk
Lnet/minecraft/world/gen/foliage/FoliagePlacer$TreeNode;isGiantTrunk()Z
intermediary method_27390
Lnet/minecraft/class_4647$class_5208;method_27390()Z
official c
Leep$a;c()Z
-