Record Class Octree.Leaf

java.lang.Object
java.lang.Record
net.minecraft.client.render.chunk.Octree.Leaf
Record Components:
section -
All Implemented Interfaces:
Octree.Node
Enclosing class:
Octree

@Environment(CLIENT) private static record Octree.Leaf(ChunkBuilder.BuiltChunk section) extends Record implements Octree.Node
Mappings:
Namespace Name
named net/minecraft/client/render/chunk/Octree$Leaf
intermediary net/minecraft/class_10143$class_10146
official ghh$c
named section
intermediary comp_3101
official a
  • Field Details

  • Constructor Details

  • Method Details

    • visit

      public void visit(Octree.Visitor visitor, boolean skipVisibilityCheck, Frustum frustum, int depth)
      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;I)V
      intermediary method_62917 Lnet/minecraft/class_10143$class_10147;method_62917(Lnet/minecraft/class_10143$class_10148;ZLnet/minecraft/class_4604;I)V
      official a Lghh$d;a(Lghh$e;ZLgkx;I)V
    • getBuiltChunk

      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 Lghh$d;a()Lgkt$b;
    • getBoundingBox

      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 Lghh$d;b()Leyn;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • section

      public ChunkBuilder.BuiltChunk section()
      Returns the value of the section record component.
      Returns:
      the value of the section record component