Package net.minecraft.client.render
Enum Class VertexFormatElement.Format
- All Implemented Interfaces:
Serializable,Comparable<VertexFormatElement.Format>,Constable
- Enclosing class:
- VertexFormatElement
@Environment(CLIENT)
public static enum VertexFormatElement.Format
extends Enum<VertexFormatElement.Format>
- Mappings:
Namespace Name official bmv$aintermediary net/minecraft/class_2523$class_2524named net/minecraft/client/render/VertexFormatElement$Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetGlId()getName()intgetSize()static VertexFormatElement.FormatReturns the enum constant of this class with the specified name.static VertexFormatElement.Format[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FLOAT
- Mappings:
Namespace Name Mixin selector official aLbmv$a;a:Lbmv$a;intermediary field_11236Lnet/minecraft/class_2523$class_2524;field_11236:Lnet/minecraft/class_2523$class_2524;named FLOATLnet/minecraft/client/render/VertexFormatElement$Format;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UNSIGNED_BYTE
- Mappings:
Namespace Name Mixin selector official bLbmv$a;b:Lbmv$a;intermediary field_11237Lnet/minecraft/class_2523$class_2524;field_11237:Lnet/minecraft/class_2523$class_2524;named UNSIGNED_BYTELnet/minecraft/client/render/VertexFormatElement$Format;UNSIGNED_BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
BYTE
- Mappings:
Namespace Name Mixin selector official cLbmv$a;c:Lbmv$a;intermediary field_11238Lnet/minecraft/class_2523$class_2524;field_11238:Lnet/minecraft/class_2523$class_2524;named BYTELnet/minecraft/client/render/VertexFormatElement$Format;BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UNSIGNED_SHORT
- Mappings:
Namespace Name Mixin selector official dLbmv$a;d:Lbmv$a;intermediary field_11239Lnet/minecraft/class_2523$class_2524;field_11239:Lnet/minecraft/class_2523$class_2524;named UNSIGNED_SHORTLnet/minecraft/client/render/VertexFormatElement$Format;UNSIGNED_SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
SHORT
- Mappings:
Namespace Name Mixin selector official eLbmv$a;e:Lbmv$a;intermediary field_11240Lnet/minecraft/class_2523$class_2524;field_11240:Lnet/minecraft/class_2523$class_2524;named SHORTLnet/minecraft/client/render/VertexFormatElement$Format;SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UNSIGNED_INT
- Mappings:
Namespace Name Mixin selector official fLbmv$a;f:Lbmv$a;intermediary field_11241Lnet/minecraft/class_2523$class_2524;field_11241:Lnet/minecraft/class_2523$class_2524;named UNSIGNED_INTLnet/minecraft/client/render/VertexFormatElement$Format;UNSIGNED_INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
INT
- Mappings:
Namespace Name Mixin selector official gLbmv$a;g:Lbmv$a;intermediary field_11242Lnet/minecraft/class_2523$class_2524;field_11242:Lnet/minecraft/class_2523$class_2524;named INTLnet/minecraft/client/render/VertexFormatElement$Format;INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
-
Field Details
-
size
private final int size- Mappings:
Namespace Name Mixin selector official hLbmv$a;h:Iintermediary field_11243Lnet/minecraft/class_2523$class_2524;field_11243:Inamed sizeLnet/minecraft/client/render/VertexFormatElement$Format;size:I
-
name
- Mappings:
Namespace Name Mixin selector official iLbmv$a;i:Ljava/lang/String;intermediary field_11244Lnet/minecraft/class_2523$class_2524;field_11244:Ljava/lang/String;named nameLnet/minecraft/client/render/VertexFormatElement$Format;name:Ljava/lang/String;
-
glId
private final int glId- Mappings:
Namespace Name Mixin selector official jLbmv$a;j:Iintermediary field_11245Lnet/minecraft/class_2523$class_2524;field_11245:Inamed glIdLnet/minecraft/client/render/VertexFormatElement$Format;glId:I
-
-
Constructor Details
-
Format
- Mappings:
Namespace Name Mixin selector official <init>Lbmv$a;<init>(Ljava/lang/String;IILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_2523$class_2524;<init>(Ljava/lang/String;IILjava/lang/String;I)Vnamed <init>Lnet/minecraft/client/render/VertexFormatElement$Format;<init>(Ljava/lang/String;IILjava/lang/String;I)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official aLbmv$a;a()Iintermediary method_10354Lnet/minecraft/class_2523$class_2524;method_10354()Inamed getSizeLnet/minecraft/client/render/VertexFormatElement$Format;getSize()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLbmv$a;b()Ljava/lang/String;intermediary method_10355Lnet/minecraft/class_2523$class_2524;method_10355()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$Format;getName()Ljava/lang/String;
-
getGlId
public int getGlId()- Mappings:
Namespace Name Mixin selector official cLbmv$a;c()Iintermediary method_10356Lnet/minecraft/class_2523$class_2524;method_10356()Inamed getGlIdLnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
-