Package net.minecraft.client.render
Enum Class VertexFormatElement.DataType
java.lang.Object
java.lang.Enum<VertexFormatElement.DataType>
net.minecraft.client.render.VertexFormatElement.DataType
- All Implemented Interfaces:
Serializable,Comparable<VertexFormatElement.DataType>,Constable
- Enclosing class:
VertexFormatElement
@Environment(CLIENT)
public static enum VertexFormatElement.DataType
extends Enum<VertexFormatElement.DataType>
- Mappings:
Namespace Name official dwj$aintermediary net/minecraft/class_296$class_297named net/minecraft/client/render/VertexFormatElement$DataType
-
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 TypeMethodDescriptionintintgetId()getName()static VertexFormatElement.DataTypeReturns the enum constant of this class with the specified name.static VertexFormatElement.DataType[]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 aLdwj$a;a:Ldwj$a;intermediary field_1623Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;named FLOATLnet/minecraft/client/render/VertexFormatElement$DataType;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
UBYTE
- Mappings:
Namespace Name Mixin selector official bLdwj$a;b:Ldwj$a;intermediary field_1624Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;named UBYTELnet/minecraft/client/render/VertexFormatElement$DataType;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
BYTE
- Mappings:
Namespace Name Mixin selector official cLdwj$a;c:Ldwj$a;intermediary field_1621Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;named BYTELnet/minecraft/client/render/VertexFormatElement$DataType;BYTE:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
USHORT
- Mappings:
Namespace Name Mixin selector official dLdwj$a;d:Ldwj$a;intermediary field_1622Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;named USHORTLnet/minecraft/client/render/VertexFormatElement$DataType;USHORT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
SHORT
- Mappings:
Namespace Name Mixin selector official eLdwj$a;e:Ldwj$a;intermediary field_1625Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;named SHORTLnet/minecraft/client/render/VertexFormatElement$DataType;SHORT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
UINT
- Mappings:
Namespace Name Mixin selector official fLdwj$a;f:Ldwj$a;intermediary field_1619Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;named UINTLnet/minecraft/client/render/VertexFormatElement$DataType;UINT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
INT
- Mappings:
Namespace Name Mixin selector official gLdwj$a;g:Ldwj$a;intermediary field_1617Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;named INTLnet/minecraft/client/render/VertexFormatElement$DataType;INT:Lnet/minecraft/client/render/VertexFormatElement$DataType;
-
-
Field Details
-
byteLength
private final int byteLength- Mappings:
Namespace Name Mixin selector official hLdwj$a;h:Iintermediary field_1618Lnet/minecraft/class_296$class_297;field_1618:Inamed byteLengthLnet/minecraft/client/render/VertexFormatElement$DataType;byteLength:I
-
name
- Mappings:
Namespace Name Mixin selector official iLdwj$a;i:Ljava/lang/String;intermediary field_1626Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;named nameLnet/minecraft/client/render/VertexFormatElement$DataType;name:Ljava/lang/String;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official jLdwj$a;j:Iintermediary field_1627Lnet/minecraft/class_296$class_297;field_1627:Inamed idLnet/minecraft/client/render/VertexFormatElement$DataType;id:I
-
-
Constructor Details
-
DataType
- Mappings:
Namespace Name Mixin selector official <init>Ldwj$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$DataType;<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
-
getByteLength
public int getByteLength()- Mappings:
Namespace Name Mixin selector official aLdwj$a;a()Iintermediary method_1391Lnet/minecraft/class_296$class_297;method_1391()Inamed getByteLengthLnet/minecraft/client/render/VertexFormatElement$DataType;getByteLength()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLdwj$a;b()Ljava/lang/String;intermediary method_1389Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$DataType;getName()Ljava/lang/String;
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official cLdwj$a;c()Iintermediary method_1390Lnet/minecraft/class_296$class_297;method_1390()Inamed getIdLnet/minecraft/client/render/VertexFormatElement$DataType;getId()I
-