Package net.minecraft.client.render
Enum VertexFormatElement.Format
- All Implemented Interfaces:
Serializable,Comparable<VertexFormatElement.Format>,java.lang.constant.Constable
- Enclosing class:
- VertexFormatElement
@Environment(CLIENT) public static enum VertexFormatElement.Format extends Enum<VertexFormatElement.Format>
- Mappings:
Namespace Name official bmv$aintermediary net/minecraft/class_1242$class_1243named 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 Enum Constant Description BYTEFLOATINTSHORTUNSIGNED_BYTEUNSIGNED_INTUNSIGNED_SHORT -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description intgetGlId()StringgetName()intgetSize()static VertexFormatElement.FormatvalueOf(String name)Returns the enum constant of this type with the specified name.static VertexFormatElement.Format[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FLOAT
- Mappings:
Namespace Name Mixin selector official aLbmv$a;a:Lbmv$a;intermediary field_5200Lnet/minecraft/class_1242$class_1243;field_5200:Lnet/minecraft/class_1242$class_1243;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_5201Lnet/minecraft/class_1242$class_1243;field_5201:Lnet/minecraft/class_1242$class_1243;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_5202Lnet/minecraft/class_1242$class_1243;field_5202:Lnet/minecraft/class_1242$class_1243;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_5203Lnet/minecraft/class_1242$class_1243;field_5203:Lnet/minecraft/class_1242$class_1243;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_5204Lnet/minecraft/class_1242$class_1243;field_5204:Lnet/minecraft/class_1242$class_1243;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_5205Lnet/minecraft/class_1242$class_1243;field_5205:Lnet/minecraft/class_1242$class_1243;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_5206Lnet/minecraft/class_1242$class_1243;field_5206:Lnet/minecraft/class_1242$class_1243;named INTLnet/minecraft/client/render/VertexFormatElement$Format;INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
-
Field Details
-
glId
private final int glId- Mappings:
Namespace Name Mixin selector official hLbmv$a;h:Iintermediary field_5207Lnet/minecraft/class_1242$class_1243;field_5207:Inamed glIdLnet/minecraft/client/render/VertexFormatElement$Format;glId:I
-
name
- Mappings:
Namespace Name Mixin selector official iLbmv$a;i:Ljava/lang/String;intermediary field_5208Lnet/minecraft/class_1242$class_1243;field_5208:Ljava/lang/String;named nameLnet/minecraft/client/render/VertexFormatElement$Format;name:Ljava/lang/String;
-
size
private final int size- Mappings:
Namespace Name Mixin selector official jLbmv$a;j:Iintermediary field_5209Lnet/minecraft/class_1242$class_1243;field_5209:Inamed sizeLnet/minecraft/client/render/VertexFormatElement$Format;size: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_1242$class_1243;<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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getGlId
public int getGlId()- Mappings:
Namespace Name Mixin selector official aLbmv$a;a()Iintermediary method_4334Lnet/minecraft/class_1242$class_1243;method_4334()Inamed getGlIdLnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLbmv$a;b()Ljava/lang/String;intermediary method_4335Lnet/minecraft/class_1242$class_1243;method_4335()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$Format;getName()Ljava/lang/String;
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official cLbmv$a;c()Iintermediary method_4336Lnet/minecraft/class_1242$class_1243;method_4336()Inamed getSizeLnet/minecraft/client/render/VertexFormatElement$Format;getSize()I
-