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 dpp$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
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetGlId()getName()intgetSize()static VertexFormatElement.FormatReturns 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 aLdpp$a;a:Ldpp$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 bLdpp$a;b:Ldpp$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 cLdpp$a;c:Ldpp$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 dLdpp$a;d:Ldpp$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 eLdpp$a;e:Ldpp$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 fLdpp$a;f:Ldpp$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 gLdpp$a;g:Ldpp$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 hLdpp$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 iLdpp$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 jLdpp$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>Ldpp$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 aLdpp$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 bLdpp$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 cLdpp$a;c()Iintermediary method_1390Lnet/minecraft/class_296$class_297;method_1390()Inamed getGlIdLnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
-