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 named net/minecraft/client/render/VertexFormatElement$ComponentTypeintermediary net/minecraft/class_296$class_297official fgx$a
-
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 TypeMethodDescriptionintinttoString()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 named FLOATLnet/minecraft/client/render/VertexFormatElement$ComponentType;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1623Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;official aLfgx$a;a:Lfgx$a;
-
UBYTE
- Mappings:
Namespace Name Mixin selector named UBYTELnet/minecraft/client/render/VertexFormatElement$ComponentType;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1624Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;official bLfgx$a;b:Lfgx$a;
-
BYTE
- Mappings:
Namespace Name Mixin selector named BYTELnet/minecraft/client/render/VertexFormatElement$ComponentType;BYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1621Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;official cLfgx$a;c:Lfgx$a;
-
USHORT
- Mappings:
Namespace Name Mixin selector named USHORTLnet/minecraft/client/render/VertexFormatElement$ComponentType;USHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1622Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;official dLfgx$a;d:Lfgx$a;
-
SHORT
- Mappings:
Namespace Name Mixin selector named SHORTLnet/minecraft/client/render/VertexFormatElement$ComponentType;SHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1625Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;official eLfgx$a;e:Lfgx$a;
-
UINT
- Mappings:
Namespace Name Mixin selector named UINTLnet/minecraft/client/render/VertexFormatElement$ComponentType;UINT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1619Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;official fLfgx$a;f:Lfgx$a;
-
INT
- Mappings:
Namespace Name Mixin selector named INTLnet/minecraft/client/render/VertexFormatElement$ComponentType;INT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;intermediary field_1617Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;official gLfgx$a;g:Lfgx$a;
-
-
Field Details
-
byteLength
private final int byteLength- Mappings:
Namespace Name Mixin selector named byteLengthLnet/minecraft/client/render/VertexFormatElement$ComponentType;byteLength:Iintermediary field_1618Lnet/minecraft/class_296$class_297;field_1618:Iofficial hLfgx$a;h:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/render/VertexFormatElement$ComponentType;name:Ljava/lang/String;intermediary field_1626Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;official iLfgx$a;i:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector named glTypeLnet/minecraft/client/render/VertexFormatElement$ComponentType;glType:Iintermediary field_1627Lnet/minecraft/class_296$class_297;field_1627:Iofficial jLfgx$a;j:I
-
-
Constructor Details
-
ComponentType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/VertexFormatElement$ComponentType;<init>(Ljava/lang/String;IILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_296$class_297;<init>(Ljava/lang/String;IILjava/lang/String;I)Vofficial <init>Lfgx$a;<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 named getByteLengthLnet/minecraft/client/render/VertexFormatElement$ComponentType;getByteLength()Iintermediary method_1391Lnet/minecraft/class_296$class_297;method_1391()Iofficial aLfgx$a;a()I
-
getGlType
public int getGlType()- Mappings:
Namespace Name Mixin selector named getGlTypeLnet/minecraft/client/render/VertexFormatElement$ComponentType;getGlType()Iintermediary method_1390Lnet/minecraft/class_296$class_297;method_1390()Iofficial bLfgx$a;b()I
-
toString
- Overrides:
toStringin classEnum<VertexFormatElement.ComponentType>
-