Package net.minecraft.client.render
Class VertexFormat
java.lang.Object
net.minecraft.client.render.VertexFormat
@Environment(CLIENT) public class VertexFormat extends Object
- Mappings:
Namespace Name official dlw
intermediary net/minecraft/class_293
named net/minecraft/client/render/VertexFormat
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VertexFormat.DrawMode
static class
VertexFormat.IntType
-
Field Summary
Fields Modifier and Type Field Description private ImmutableList<VertexFormatElement>
elements
private IntList
offsets
private int
size
-
Constructor Summary
Constructors Constructor Description VertexFormat(ImmutableList<VertexFormatElement> immutableList)
-
Method Summary
Modifier and Type Method Description void
endDrawing()
boolean
equals(Object o)
ImmutableList<VertexFormatElement>
getElements()
int
getVertexSize()
int
getVertexSizeInteger()
int
hashCode()
void
startDrawing(long pointer)
String
toString()
-
Field Details
-
elements
- Mappings:
Namespace Name Mixin selector official a
Ldlw;a:Lcom/google/common/collect/ImmutableList;
intermediary field_1602
Lnet/minecraft/class_293;field_1602:Lcom/google/common/collect/ImmutableList;
named elements
Lnet/minecraft/client/render/VertexFormat;elements:Lcom/google/common/collect/ImmutableList;
-
offsets
- Mappings:
Namespace Name Mixin selector official b
Ldlw;b:Lit/unimi/dsi/fastutil/ints/IntList;
intermediary field_1597
Lnet/minecraft/class_293;field_1597:Lit/unimi/dsi/fastutil/ints/IntList;
named offsets
Lnet/minecraft/client/render/VertexFormat;offsets:Lit/unimi/dsi/fastutil/ints/IntList;
-
size
private final int size- Mappings:
Namespace Name Mixin selector official c
Ldlw;c:I
intermediary field_1600
Lnet/minecraft/class_293;field_1600:I
named size
Lnet/minecraft/client/render/VertexFormat;size:I
-
-
Constructor Details
-
VertexFormat
-
-
Method Details
-
toString
-
getVertexSizeInteger
public int getVertexSizeInteger()- Mappings:
Namespace Name Mixin selector official a
Ldlw;a()I
intermediary method_1359
Lnet/minecraft/class_293;method_1359()I
named getVertexSizeInteger
Lnet/minecraft/client/render/VertexFormat;getVertexSizeInteger()I
-
getVertexSize
public int getVertexSize()- Mappings:
Namespace Name Mixin selector official b
Ldlw;b()I
intermediary method_1362
Lnet/minecraft/class_293;method_1362()I
named getVertexSize
Lnet/minecraft/client/render/VertexFormat;getVertexSize()I
-
getElements
- Mappings:
Namespace Name Mixin selector official c
Ldlw;c()Lcom/google/common/collect/ImmutableList;
intermediary method_1357
Lnet/minecraft/class_293;method_1357()Lcom/google/common/collect/ImmutableList;
named getElements
Lnet/minecraft/client/render/VertexFormat;getElements()Lcom/google/common/collect/ImmutableList;
-
equals
-
hashCode
public int hashCode() -
startDrawing
public void startDrawing(long pointer)- Mappings:
Namespace Name Mixin selector official a
Ldlw;a(J)V
intermediary method_22649
Lnet/minecraft/class_293;method_22649(J)V
named startDrawing
Lnet/minecraft/client/render/VertexFormat;startDrawing(J)V
-
endDrawing
public void endDrawing()- Mappings:
Namespace Name Mixin selector official d
Ldlw;d()V
intermediary method_22651
Lnet/minecraft/class_293;method_22651()V
named endDrawing
Lnet/minecraft/client/render/VertexFormat;endDrawing()V
-