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 fgb$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 aLfgb$a;a:Lfgb$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 bLfgb$a;b:Lfgb$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 cLfgb$a;c:Lfgb$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 dLfgb$a;d:Lfgb$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 eLfgb$a;e:Lfgb$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 fLfgb$a;f:Lfgb$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 gLfgb$a;g:Lfgb$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 hLfgb$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 iLfgb$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 jLfgb$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>Lfgb$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 aLfgb$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 bLfgb$a;b()I
-
toString
- Overrides:
toStringin classEnum<VertexFormatElement.ComponentType>
-