Package net.minecraft.client.render
Class VertexFormatElement
java.lang.Object
net.minecraft.client.render.VertexFormatElement
@Environment(CLIENT) public class VertexFormatElement extends Object
- Mappings:
Namespace Name official dlxintermediary net/minecraft/class_296named net/minecraft/client/render/VertexFormatElement
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVertexFormatElement.Formatstatic classVertexFormatElement.Type -
Field Summary
Fields Modifier and Type Field Description private intcountprivate VertexFormatElement.Formatformatprivate intindexprivate static LoggerLOGGERprivate intsizeprivate VertexFormatElement.Typetype -
Constructor Summary
Constructors Constructor Description VertexFormatElement(int index, VertexFormatElement.Format format, VertexFormatElement.Type type, int count) -
Method Summary
Modifier and Type Method Description voidendDrawing()booleanequals(Object o)VertexFormatElement.FormatgetFormat()intgetIndex()intgetSize()VertexFormatElement.TypegetType()inthashCode()private booleanisValidType(int index, VertexFormatElement.Type type)voidstartDrawing(long pointer, int stride)StringtoString()
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLdlx;a:Lorg/apache/logging/log4j/Logger;intermediary field_1616Lnet/minecraft/class_296;field_1616:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/render/VertexFormatElement;LOGGER:Lorg/apache/logging/log4j/Logger;
-
format
- Mappings:
Namespace Name Mixin selector official bLdlx;b:Ldlx$a;intermediary field_1615Lnet/minecraft/class_296;field_1615:Lnet/minecraft/class_296$class_297;named formatLnet/minecraft/client/render/VertexFormatElement;format:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
type
- Mappings:
Namespace Name Mixin selector official cLdlx;c:Ldlx$b;intermediary field_1614Lnet/minecraft/class_296;field_1614:Lnet/minecraft/class_296$class_298;named typeLnet/minecraft/client/render/VertexFormatElement;type:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
index
private final int index- Mappings:
Namespace Name Mixin selector official dLdlx;d:Iintermediary field_1613Lnet/minecraft/class_296;field_1613:Inamed indexLnet/minecraft/client/render/VertexFormatElement;index:I
-
count
private final int count- Mappings:
Namespace Name Mixin selector official eLdlx;e:Iintermediary field_1612Lnet/minecraft/class_296;field_1612:Inamed countLnet/minecraft/client/render/VertexFormatElement;count:I
-
size
private final int size- Mappings:
Namespace Name Mixin selector official fLdlx;f:Iintermediary field_21329Lnet/minecraft/class_296;field_21329:Inamed sizeLnet/minecraft/client/render/VertexFormatElement;size:I
-
-
Constructor Details
-
VertexFormatElement
public VertexFormatElement(int index, VertexFormatElement.Format format, VertexFormatElement.Type type, int count)- Mappings:
Namespace Name Mixin selector official <init>Ldlx;<init>(ILdlx$a;Ldlx$b;I)Vintermediary <init>Lnet/minecraft/class_296;<init>(ILnet/minecraft/class_296$class_297;Lnet/minecraft/class_296$class_298;I)Vnamed <init>Lnet/minecraft/client/render/VertexFormatElement;<init>(ILnet/minecraft/client/render/VertexFormatElement$Format;Lnet/minecraft/client/render/VertexFormatElement$Type;I)V
-
-
Method Details
-
isValidType
- Mappings:
Namespace Name Mixin selector official aLdlx;a(ILdlx$b;)Zintermediary method_1383Lnet/minecraft/class_296;method_1383(ILnet/minecraft/class_296$class_298;)Znamed isValidTypeLnet/minecraft/client/render/VertexFormatElement;isValidType(ILnet/minecraft/client/render/VertexFormatElement$Type;)Z
-
getFormat
- Mappings:
Namespace Name Mixin selector official aLdlx;a()Ldlx$a;intermediary method_1386Lnet/minecraft/class_296;method_1386()Lnet/minecraft/class_296$class_297;named getFormatLnet/minecraft/client/render/VertexFormatElement;getFormat()Lnet/minecraft/client/render/VertexFormatElement$Format;
-
getType
- Mappings:
Namespace Name Mixin selector official bLdlx;b()Ldlx$b;intermediary method_1382Lnet/minecraft/class_296;method_1382()Lnet/minecraft/class_296$class_298;named getTypeLnet/minecraft/client/render/VertexFormatElement;getType()Lnet/minecraft/client/render/VertexFormatElement$Type;
-
getIndex
public final int getIndex()- Mappings:
Namespace Name Mixin selector official cLdlx;c()Iintermediary method_1385Lnet/minecraft/class_296;method_1385()Inamed getIndexLnet/minecraft/client/render/VertexFormatElement;getIndex()I
-
toString
-
getSize
public final int getSize()- Mappings:
Namespace Name Mixin selector official dLdlx;d()Iintermediary method_1387Lnet/minecraft/class_296;method_1387()Inamed getSizeLnet/minecraft/client/render/VertexFormatElement;getSize()I
-
equals
-
hashCode
public int hashCode() -
startDrawing
public void startDrawing(long pointer, int stride)- Mappings:
Namespace Name Mixin selector official aLdlx;a(JI)Vintermediary method_22652Lnet/minecraft/class_296;method_22652(JI)Vnamed startDrawingLnet/minecraft/client/render/VertexFormatElement;startDrawing(JI)V
-
endDrawing
public void endDrawing()- Mappings:
Namespace Name Mixin selector official eLdlx;e()Vintermediary method_22653Lnet/minecraft/class_296;method_22653()Vnamed endDrawingLnet/minecraft/client/render/VertexFormatElement;endDrawing()V
-