Class Octree.Branch

java.lang.Object
net.minecraft.client.render.chunk.Octree.Branch
All Implemented Interfaces:
Octree.Node
Enclosing class:
Octree

@Environment(CLIENT) private class Octree.Branch extends Object implements Octree.Node
Mappings:
Namespace Name
named net/minecraft/client/render/chunk/Octree$Branch
intermediary net/minecraft/class_10143$class_10145
official gma$b
  • Field Details Link icon

    • children Link icon

      private final Octree.Node[] children
      Mappings:
      Namespace Name Mixin selector
      named children Lnet/minecraft/client/render/chunk/Octree$Branch;children:[Lnet/minecraft/client/render/chunk/Octree$Node;
      intermediary field_53917 Lnet/minecraft/class_10143$class_10145;field_53917:[Lnet/minecraft/class_10143$class_10147;
      official b Lgma$b;b:[Lgma$d;
    • box Link icon

      private final BlockBox box
      Mappings:
      Namespace Name Mixin selector
      named box Lnet/minecraft/client/render/chunk/Octree$Branch;box:Lnet/minecraft/util/math/BlockBox;
      intermediary field_53918 Lnet/minecraft/class_10143$class_10145;field_53918:Lnet/minecraft/class_3341;
      official c Lgma$b;c:Lenf;
    • centerX Link icon

      private final int centerX
      Mappings:
      Namespace Name Mixin selector
      named centerX Lnet/minecraft/client/render/chunk/Octree$Branch;centerX:I
      intermediary field_53919 Lnet/minecraft/class_10143$class_10145;field_53919:I
      official d Lgma$b;d:I
    • centerY Link icon

      private final int centerY
      Mappings:
      Namespace Name Mixin selector
      named centerY Lnet/minecraft/client/render/chunk/Octree$Branch;centerY:I
      intermediary field_53920 Lnet/minecraft/class_10143$class_10145;field_53920:I
      official e Lgma$b;e:I
    • centerZ Link icon

      private final int centerZ
      Mappings:
      Namespace Name Mixin selector
      named centerZ Lnet/minecraft/client/render/chunk/Octree$Branch;centerZ:I
      intermediary field_53921 Lnet/minecraft/class_10143$class_10145;field_53921:I
      official f Lgma$b;f:I
    • axisOrder Link icon

      private final Octree.AxisOrder axisOrder
      Mappings:
      Namespace Name Mixin selector
      named axisOrder Lnet/minecraft/client/render/chunk/Octree$Branch;axisOrder:Lnet/minecraft/client/render/chunk/Octree$AxisOrder;
      intermediary field_53922 Lnet/minecraft/class_10143$class_10145;field_53922:Lnet/minecraft/class_10143$class_10144;
      official g Lgma$b;g:Lgma$a;
    • easternSide Link icon

      private final boolean easternSide
      Mappings:
      Namespace Name Mixin selector
      named easternSide Lnet/minecraft/client/render/chunk/Octree$Branch;easternSide:Z
      intermediary field_53923 Lnet/minecraft/class_10143$class_10145;field_53923:Z
      official h Lgma$b;h:Z
    • topSide Link icon

      private final boolean topSide
      Mappings:
      Namespace Name Mixin selector
      named topSide Lnet/minecraft/client/render/chunk/Octree$Branch;topSide:Z
      intermediary field_53924 Lnet/minecraft/class_10143$class_10145;field_53924:Z
      official i Lgma$b;i:Z
    • southernSide Link icon

      private final boolean southernSide
      Mappings:
      Namespace Name Mixin selector
      named southernSide Lnet/minecraft/client/render/chunk/Octree$Branch;southernSide:Z
      intermediary field_53925 Lnet/minecraft/class_10143$class_10145;field_53925:Z
      official j Lgma$b;j:Z
  • Constructor Details Link icon

    • Branch Link icon

      public Branch(BlockBox box)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/chunk/Octree$Branch;<init>(Lnet/minecraft/client/render/chunk/Octree;Lnet/minecraft/util/math/BlockBox;)V
      intermediary <init> Lnet/minecraft/class_10143$class_10145;<init>(Lnet/minecraft/class_10143;Lnet/minecraft/class_3341;)V
      official <init> Lgma$b;<init>(Lgma;Lenf;)V
  • Method Details Link icon

    • add Link icon

      public boolean add(ChunkBuilder.BuiltChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/render/chunk/Octree$Branch;add(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;)Z
      intermediary method_62918 Lnet/minecraft/class_10143$class_10145;method_62918(Lnet/minecraft/class_846$class_851;)Z
      official a Lgma$b;a(Lgpn$b;)Z
    • getIndex Link icon

      private static int getIndex(Octree.AxisOrder axisOrder, boolean sameRelativeSideX, boolean sameRelativeSideY, boolean sameRelativeSideZ)
      Parameters:
      sameRelativeSideX - whether the side of the chunk relative to this branch's center equals the side of the branch relative to the player, on the X axis
      sameRelativeSideY - whether the side of the chunk relative to this branch's center equals the side of the branch relative to the player, on the Y axis
      sameRelativeSideZ - whether the side of the chunk relative to this branch's center equals the side of the branch relative to the player, on the Z axis
      Mappings:
      Namespace Name Mixin selector
      named getIndex Lnet/minecraft/client/render/chunk/Octree$Branch;getIndex(Lnet/minecraft/client/render/chunk/Octree$AxisOrder;ZZZ)I
      intermediary method_62916 Lnet/minecraft/class_10143$class_10145;method_62916(Lnet/minecraft/class_10143$class_10144;ZZZ)I
      official a Lgma$b;a(Lgma$a;ZZZ)I
    • areChildrenLeaves Link icon

      private boolean areChildrenLeaves()
      Mappings:
      Namespace Name Mixin selector
      named areChildrenLeaves Lnet/minecraft/client/render/chunk/Octree$Branch;areChildrenLeaves()Z
      intermediary method_62921 Lnet/minecraft/class_10143$class_10145;method_62921()Z
      official c Lgma$b;c()Z
    • getChildBox Link icon

      private BlockBox getChildBox(boolean western, boolean bottom, boolean northern)
      Mappings:
      Namespace Name Mixin selector
      named getChildBox Lnet/minecraft/client/render/chunk/Octree$Branch;getChildBox(ZZZ)Lnet/minecraft/util/math/BlockBox;
      intermediary method_62919 Lnet/minecraft/class_10143$class_10145;method_62919(ZZZ)Lnet/minecraft/class_3341;
      official a Lgma$b;a(ZZZ)Lenf;
    • visit Link icon

      public void visit(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth, int margin, boolean nearCenter)
      Specified by:
      visit in interface Octree.Node
      Mappings:
      Namespace Name Mixin selector
      named visit Lnet/minecraft/client/render/chunk/Octree$Node;visit(Lnet/minecraft/client/render/chunk/Octree$Visitor;ZLnet/minecraft/client/render/Frustum;IIZ)V
      intermediary method_62917 Lnet/minecraft/class_10143$class_10147;method_62917(Lnet/minecraft/class_10143$class_10148;ZLnet/minecraft/class_4604;IIZ)V
      official a Lgma$d;a(Lgma$e;ZLgpr;IIZ)V
    • getBuiltChunk Link icon

      @Nullable public ChunkBuilder.BuiltChunk getBuiltChunk()
      Specified by:
      getBuiltChunk in interface Octree.Node
      Mappings:
      Namespace Name Mixin selector
      named getBuiltChunk Lnet/minecraft/client/render/chunk/Octree$Node;getBuiltChunk()Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;
      intermediary method_62915 Lnet/minecraft/class_10143$class_10147;method_62915()Lnet/minecraft/class_846$class_851;
      official a Lgma$d;a()Lgpn$b;
    • getBoundingBox Link icon

      public Box getBoundingBox()
      Specified by:
      getBoundingBox in interface Octree.Node
      Mappings:
      Namespace Name Mixin selector
      named getBoundingBox Lnet/minecraft/client/render/chunk/Octree$Node;getBoundingBox()Lnet/minecraft/util/math/Box;
      intermediary method_62920 Lnet/minecraft/class_10143$class_10147;method_62920()Lnet/minecraft/class_238;
      official b Lgma$d;b()Lfaw;