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 official dnt$a
intermediary net/minecraft/class_4647$class_5208
named net/minecraft/world/gen/foliage/FoliagePlacer$TreeNode
-
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 official a
Ldnt$a;a:Lgt;
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
Ldnt$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
Ldnt$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>
Ldnt$a;<init>(Lgt;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
Ldnt$a;a()Lgt;
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
Ldnt$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
Ldnt$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
-