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 - flc$b- named - centroids- intermediary - comp_2840- official - a- named - indexType- intermediary - comp_2841- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionVector3f[]Returns the value of thecentroidsrecord component.final booleanIndicates whether some other object is "equal to" this one.private IntConsumergetStorer(long pointer, VertexFormat.IndexType indexType) final inthashCode()Returns a hash code value for this object.Returns the value of theindexTyperecord component.sortAndStore(BufferAllocator allocator, VertexSorter sorter) final StringtoString()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- Lflc$b;a(Lfla;Lfli;)Lfla$a;
 
- 
getStorer- Mappings:
- Namespace - Name - Mixin selector - named - getStorer- Lnet/minecraft/client/render/BuiltBuffer$SortState;getStorer(JLcom/mojang/blaze3d/vertex/VertexFormat$IndexType;)Lit/unimi/dsi/fastutil/ints/IntConsumer;- intermediary - method_60823- Lnet/minecraft/class_9801$class_9802;method_60823(JLcom/mojang/blaze3d/vertex/VertexFormat$class_5595;)Lit/unimi/dsi/fastutil/ints/IntConsumer;- official - a- Lflc$b;a(JLcom/mojang/blaze3d/vertex/VertexFormat$a;)Lit/unimi/dsi/fastutil/ints/IntConsumer;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
centroidsReturns the value of thecentroidsrecord component.- Returns:
- the value of the centroidsrecord component
 
- 
indexTypeReturns the value of theindexTyperecord component.- Returns:
- the value of the indexTyperecord component
 
 
-