Package net.minecraft.client.render
Enum Class VertexFormatElement.ComponentType
java.lang.Object
java.lang.Enum<VertexFormatElement.ComponentType>
net.minecraft.client.render.VertexFormatElement.ComponentType
- All Implemented Interfaces:
Serializable,Comparable<VertexFormatElement.ComponentType>,Constable
- Enclosing class:
VertexFormatElement
@Environment(CLIENT)
public static enum VertexFormatElement.ComponentType
extends Enum<VertexFormatElement.ComponentType>
Represents a type of components in an element.
- Mappings:
Namespace Name official eac$aintermediary net/minecraft/class_296$class_297named net/minecraft/client/render/VertexFormatElement$ComponentType
-
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 TypeMethodDescriptionintintgetName()Returns the enum constant of this class with the specified name.static VertexFormatElement.ComponentType[]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 aLeac$a;a:Leac$a;intermediary field_1623Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;named FLOATLnet/minecraft/client/render/VertexFormatElement$ComponentType;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
UBYTE
- Mappings:
Namespace Name Mixin selector official bLeac$a;b:Leac$a;intermediary field_1624Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;named UBYTELnet/minecraft/client/render/VertexFormatElement$ComponentType;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
BYTE
- Mappings:
Namespace Name Mixin selector official cLeac$a;c:Leac$a;intermediary field_1621Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;named BYTELnet/minecraft/client/render/VertexFormatElement$ComponentType;BYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
USHORT
- Mappings:
Namespace Name Mixin selector official dLeac$a;d:Leac$a;intermediary field_1622Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;named USHORTLnet/minecraft/client/render/VertexFormatElement$ComponentType;USHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
SHORT
- Mappings:
Namespace Name Mixin selector official eLeac$a;e:Leac$a;intermediary field_1625Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;named SHORTLnet/minecraft/client/render/VertexFormatElement$ComponentType;SHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
UINT
- Mappings:
Namespace Name Mixin selector official fLeac$a;f:Leac$a;intermediary field_1619Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;named UINTLnet/minecraft/client/render/VertexFormatElement$ComponentType;UINT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
INT
- Mappings:
Namespace Name Mixin selector official gLeac$a;g:Leac$a;intermediary field_1617Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;named INTLnet/minecraft/client/render/VertexFormatElement$ComponentType;INT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
-
Field Details
-
byteLength
private final int byteLength- Mappings:
Namespace Name Mixin selector official hLeac$a;h:Iintermediary field_1618Lnet/minecraft/class_296$class_297;field_1618:Inamed byteLengthLnet/minecraft/client/render/VertexFormatElement$ComponentType;byteLength:I
-
name
- Mappings:
Namespace Name Mixin selector official iLeac$a;i:Ljava/lang/String;intermediary field_1626Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;named nameLnet/minecraft/client/render/VertexFormatElement$ComponentType;name:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector official jLeac$a;j:Iintermediary field_1627Lnet/minecraft/class_296$class_297;field_1627:Inamed glTypeLnet/minecraft/client/render/VertexFormatElement$ComponentType;glType:I
-
-
Constructor Details
-
ComponentType
- Mappings:
Namespace Name Mixin selector official <init>Leac$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$ComponentType;<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 aLeac$a;a()Iintermediary method_1391Lnet/minecraft/class_296$class_297;method_1391()Inamed getByteLengthLnet/minecraft/client/render/VertexFormatElement$ComponentType;getByteLength()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLeac$a;b()Ljava/lang/String;intermediary method_1389Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$ComponentType;getName()Ljava/lang/String;
-
getGlType
public int getGlType()- Mappings:
Namespace Name Mixin selector official cLeac$a;c()Iintermediary method_1390Lnet/minecraft/class_296$class_297;method_1390()Inamed getGlTypeLnet/minecraft/client/render/VertexFormatElement$ComponentType;getGlType()I
-