Class Octree

java.lang.Object
net.minecraft.client.render.chunk.Octree

@Environment(CLIENT) public class Octree extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/chunk/Octree
intermediary net/minecraft/class_10143
official gll
  • Field Details

    • root

      private final Octree.Branch root
      Mappings:
      Namespace Name Mixin selector
      named root Lnet/minecraft/client/render/chunk/Octree;root:Lnet/minecraft/client/render/chunk/Octree$Branch;
      intermediary field_53904 Lnet/minecraft/class_10143;field_53904:Lnet/minecraft/class_10143$class_10145;
      official a Lgll;a:Lgll$b;
    • centerPos

      final BlockPos centerPos
      Mappings:
      Namespace Name Mixin selector
      named centerPos Lnet/minecraft/client/render/chunk/Octree;centerPos:Lnet/minecraft/util/math/BlockPos;
      intermediary field_53905 Lnet/minecraft/class_10143;field_53905:Lnet/minecraft/class_2338;
      official b Lgll;b:Ljh;
  • Constructor Details

    • Octree

      public Octree(ChunkSectionPos sectionPos, int viewDistance, int sizeY, int bottomY)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/chunk/Octree;<init>(Lnet/minecraft/util/math/ChunkSectionPos;III)V
      intermediary <init> Lnet/minecraft/class_10143;<init>(Lnet/minecraft/class_4076;III)V
      official <init> Lgll;<init>(Lkj;III)V
  • Method Details

    • add

      public boolean add(ChunkBuilder.BuiltChunk chunk)
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/client/render/chunk/Octree;add(Lnet/minecraft/client/render/chunk/ChunkBuilder$BuiltChunk;)Z
      intermediary method_62912 Lnet/minecraft/class_10143;method_62912(Lnet/minecraft/class_846$class_851;)Z
      official a Lgll;a(Lgox$b;)Z
    • visit

      public void visit(Octree.Visitor visitor, Frustum frustum, int margin)
      Mappings:
      Namespace Name Mixin selector
      named visit Lnet/minecraft/client/render/chunk/Octree;visit(Lnet/minecraft/client/render/chunk/Octree$Visitor;Lnet/minecraft/client/render/Frustum;I)V
      intermediary method_62911 Lnet/minecraft/class_10143;method_62911(Lnet/minecraft/class_10143$class_10148;Lnet/minecraft/class_4604;I)V
      official a Lgll;a(Lgll$e;Lgpb;I)V
    • isCenterWithin

      boolean isCenterWithin(double minX, double minY, double minZ, double maxX, double maxY, double maxZ, int margin)
      Mappings:
      Namespace Name Mixin selector
      named isCenterWithin Lnet/minecraft/client/render/chunk/Octree;isCenterWithin(DDDDDDI)Z
      intermediary method_64061 Lnet/minecraft/class_10143;method_64061(DDDDDDI)Z
      official a Lgll;a(DDDDDDI)Z