Package net.minecraft.client.render
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVector3f[]
Returns the value of thecentroids
record component.final boolean
Indicates whether some other object is "equal to" this one.private IntConsumer
getStorer
(long pointer, VertexFormat.IndexType indexTyp) final int
hashCode()
Returns a hash code value for this object.Returns the value of theindexType
record component.sortAndStore
(BufferAllocator allocator, VertexSorter sorter) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
SortState
-
-
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
- 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
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. -
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. -
equals
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 withObjects::equals(Object,Object)
. -
centroids
Returns the value of thecentroids
record component.- Returns:
- the value of the
centroids
record component
-
indexType
Returns the value of theindexType
record component.- Returns:
- the value of the
indexType
record component
-