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
named net/minecraft/world/gen/foliage/FoliagePlacer$TreeNode
intermediary net/minecraft/class_4647$class_5208
official eeq$a
  • Field Details

    • center

      private final BlockPos 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 Leeq$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 Leeq$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 Leeq$a;c:Z
  • Constructor Details

    • TreeNode

      public TreeNode(BlockPos center, int foliageRadius, boolean giantTrunk)
      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> Leeq$a;<init>(Liz;IZ)V
  • Method Details

    • getCenter

      public BlockPos 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 Leeq$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 Leeq$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 Leeq$a;c()Z