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 doc$aintermediary net/minecraft/class_296$class_297named 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
-
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 aLdoc$a;a:Ldoc$a;intermediary field_1623Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;named FLOATLnet/minecraft/client/render/VertexFormatElement$Format;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UBYTE
- Mappings:
Namespace Name Mixin selector official bLdoc$a;b:Ldoc$a;intermediary field_1624Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;named UBYTELnet/minecraft/client/render/VertexFormatElement$Format;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
BYTE
- Mappings:
Namespace Name Mixin selector official cLdoc$a;c:Ldoc$a;intermediary field_1621Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;named BYTELnet/minecraft/client/render/VertexFormatElement$Format;BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
USHORT
- Mappings:
Namespace Name Mixin selector official dLdoc$a;d:Ldoc$a;intermediary field_1622Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;named USHORTLnet/minecraft/client/render/VertexFormatElement$Format;USHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
SHORT
- Mappings:
Namespace Name Mixin selector official eLdoc$a;e:Ldoc$a;intermediary field_1625Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;named SHORTLnet/minecraft/client/render/VertexFormatElement$Format;SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UINT
- Mappings:
Namespace Name Mixin selector official fLdoc$a;f:Ldoc$a;intermediary field_1619Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;named UINTLnet/minecraft/client/render/VertexFormatElement$Format;UINT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
INT
- Mappings:
Namespace Name Mixin selector official gLdoc$a;g:Ldoc$a;intermediary field_1617Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;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 hLdoc$a;h:Iintermediary field_1618Lnet/minecraft/class_296$class_297;field_1618:Inamed sizeLnet/minecraft/client/render/VertexFormatElement$Format;size:I
-
name
- Mappings:
Namespace Name Mixin selector official iLdoc$a;i:Ljava/lang/String;intermediary field_1626Lnet/minecraft/class_296$class_297;field_1626: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 jLdoc$a;j:Iintermediary field_1627Lnet/minecraft/class_296$class_297;field_1627:Inamed glIdLnet/minecraft/client/render/VertexFormatElement$Format;glId:I
-
-
Constructor Details
-
Format
- Mappings:
Namespace Name Mixin selector official <init>Ldoc$a;<init>(Ljava/lang/String;IILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_296$class_297;<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
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official aLdoc$a;a()Iintermediary method_1391Lnet/minecraft/class_296$class_297;method_1391()Inamed getSizeLnet/minecraft/client/render/VertexFormatElement$Format;getSize()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLdoc$a;b()Ljava/lang/String;intermediary method_1389Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$Format;getName()Ljava/lang/String;
-
getGlId
public int getGlId()- Mappings:
Namespace Name Mixin selector official cLdoc$a;c()Iintermediary method_1390Lnet/minecraft/class_296$class_297;method_1390()Inamed getGlIdLnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
-