Record Class BuiltBuffer.SortState

java.lang.Object
java.lang.Record
net.minecraft.client.render.BuiltBuffer.SortState
Record Components:
centroids -
indexType -
Enclosing class:
BuiltBuffer

@Environment(CLIENT) public static record BuiltBuffer.SortState(Vector3f[] centroids, VertexFormat.IndexType indexType) extends Record
Mappings:
Namespace Name
named net/minecraft/client/render/BuiltBuffer$SortState
intermediary net/minecraft/class_9801$class_9802
official fbh$b
named centroids
intermediary comp_2840
official a
named indexType
intermediary comp_2841
official b
  • Field Details

  • Constructor Details

  • Method Details

    • sortAndStore

      @Nullable public BufferAllocator.CloseableBuffer sortAndStore(BufferAllocator allocator, VertexSorter sorter)
      Mappings:
      Namespace Name Mixin selector
      named sortAndStore Lnet/minecraft/client/render/BuiltBuffer$SortState;sortAndStore(Lnet/minecraft/client/util/BufferAllocator;Lcom/mojang/blaze3d/systems/VertexSorter;)Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;
      intermediary method_60824 Lnet/minecraft/class_9801$class_9802;method_60824(Lnet/minecraft/class_9799;Lnet/minecraft/class_8251;)Lnet/minecraft/class_9799$class_9800;
      official a Lfbh$b;a(Lfbf;Lfbq;)Lfbf$a;
    • getStorer

      private IntConsumer getStorer(long pointer, VertexFormat.IndexType indexTyp)
      Mappings:
      Namespace Name Mixin selector
      named getStorer Lnet/minecraft/client/render/BuiltBuffer$SortState;getStorer(JLnet/minecraft/client/render/VertexFormat$IndexType;)Lit/unimi/dsi/fastutil/ints/IntConsumer;
      intermediary method_60823 Lnet/minecraft/class_9801$class_9802;method_60823(JLnet/minecraft/class_293$class_5595;)Lit/unimi/dsi/fastutil/ints/IntConsumer;
      official a Lfbh$b;a(JLfbn$b;)Lit/unimi/dsi/fastutil/ints/IntConsumer;
    • 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.
    • centroids

      public Vector3f[] centroids()
      Returns the value of the centroids record component.
      Returns:
      the value of the centroids record component
    • indexType

      public VertexFormat.IndexType indexType()
      Returns the value of the indexType record component.
      Returns:
      the value of the indexType record component