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 eip$a
intermediary net/minecraft/class_296$class_297
named 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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
getName()
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 a
Leip$a;a:Leip$a;
intermediary field_1623
Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;
named FLOAT
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
UBYTE
- Mappings:
Namespace Name Mixin selector official b
Leip$a;b:Leip$a;
intermediary field_1624
Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;
named UBYTE
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
BYTE
- Mappings:
Namespace Name Mixin selector official c
Leip$a;c:Leip$a;
intermediary field_1621
Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;
named BYTE
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;BYTE:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
USHORT
- Mappings:
Namespace Name Mixin selector official d
Leip$a;d:Leip$a;
intermediary field_1622
Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;
named USHORT
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;USHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
SHORT
- Mappings:
Namespace Name Mixin selector official e
Leip$a;e:Leip$a;
intermediary field_1625
Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;
named SHORT
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;SHORT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
UINT
- Mappings:
Namespace Name Mixin selector official f
Leip$a;f:Leip$a;
intermediary field_1619
Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;
named UINT
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;UINT:Lnet/minecraft/client/render/VertexFormatElement$ComponentType;
-
INT
- Mappings:
Namespace Name Mixin selector official g
Leip$a;g:Leip$a;
intermediary field_1617
Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;
named INT
Lnet/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 h
Leip$a;h:I
intermediary field_1618
Lnet/minecraft/class_296$class_297;field_1618:I
named byteLength
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;byteLength:I
-
name
- Mappings:
Namespace Name Mixin selector official i
Leip$a;i:Ljava/lang/String;
intermediary field_1626
Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;
named name
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;name:Ljava/lang/String;
-
glType
private final int glType- Mappings:
Namespace Name Mixin selector official j
Leip$a;j:I
intermediary field_1627
Lnet/minecraft/class_296$class_297;field_1627:I
named glType
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;glType:I
-
-
Constructor Details
-
ComponentType
- Mappings:
Namespace Name Mixin selector official <init>
Leip$a;<init>(Ljava/lang/String;IILjava/lang/String;I)V
intermediary <init>
Lnet/minecraft/class_296$class_297;<init>(Ljava/lang/String;IILjava/lang/String;I)V
named <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 a
Leip$a;a()I
intermediary method_1391
Lnet/minecraft/class_296$class_297;method_1391()I
named getByteLength
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;getByteLength()I
-
getName
- Mappings:
Namespace Name Mixin selector official b
Leip$a;b()Ljava/lang/String;
intermediary method_1389
Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;
named getName
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;getName()Ljava/lang/String;
-
getGlType
public int getGlType()- Mappings:
Namespace Name Mixin selector official c
Leip$a;c()I
intermediary method_1390
Lnet/minecraft/class_296$class_297;method_1390()I
named getGlType
Lnet/minecraft/client/render/VertexFormatElement$ComponentType;getGlType()I
-