Package net.minecraft.client.render
Enum VertexFormatElement.Format
- All Implemented Interfaces:
Serializable
,Comparable<VertexFormatElement.Format>
,java.lang.constant.Constable
- Enclosing class:
- VertexFormatElement
@Environment(CLIENT) public static enum VertexFormatElement.Format extends Enum<VertexFormatElement.Format>
- Mappings:
Namespace Name official dlx$a
intermediary net/minecraft/class_296$class_297
named net/minecraft/client/render/VertexFormatElement$Format
-
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 Type Method Description int
getGlId()
String
getName()
int
getSize()
static VertexFormatElement.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static VertexFormatElement.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FLOAT
- Mappings:
Namespace Name Mixin selector official a
Ldlx$a;a:Ldlx$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$Format;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UBYTE
- Mappings:
Namespace Name Mixin selector official b
Ldlx$a;b:Ldlx$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$Format;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
BYTE
- Mappings:
Namespace Name Mixin selector official c
Ldlx$a;c:Ldlx$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$Format;BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
USHORT
- Mappings:
Namespace Name Mixin selector official d
Ldlx$a;d:Ldlx$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$Format;USHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
SHORT
- Mappings:
Namespace Name Mixin selector official e
Ldlx$a;e:Ldlx$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$Format;SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UINT
- Mappings:
Namespace Name Mixin selector official f
Ldlx$a;f:Ldlx$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$Format;UINT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
INT
- Mappings:
Namespace Name Mixin selector official g
Ldlx$a;g:Ldlx$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$Format;INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
-
Field Details
-
size
private final int size- Mappings:
Namespace Name Mixin selector official h
Ldlx$a;h:I
intermediary field_1618
Lnet/minecraft/class_296$class_297;field_1618:I
named size
Lnet/minecraft/client/render/VertexFormatElement$Format;size:I
-
name
- Mappings:
Namespace Name Mixin selector official i
Ldlx$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$Format;name:Ljava/lang/String;
-
glId
private final int glId- Mappings:
Namespace Name Mixin selector official j
Ldlx$a;j:I
intermediary field_1627
Lnet/minecraft/class_296$class_297;field_1627:I
named glId
Lnet/minecraft/client/render/VertexFormatElement$Format;glId:I
-
-
Constructor Details
-
Format
- Mappings:
Namespace Name Mixin selector official <init>
Ldlx$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$Format;<init>(Ljava/lang/String;IILjava/lang/String;I)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official a
Ldlx$a;a()I
intermediary method_1391
Lnet/minecraft/class_296$class_297;method_1391()I
named getSize
Lnet/minecraft/client/render/VertexFormatElement$Format;getSize()I
-
getName
- Mappings:
Namespace Name Mixin selector official b
Ldlx$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$Format;getName()Ljava/lang/String;
-
getGlId
public int getGlId()- Mappings:
Namespace Name Mixin selector official c
Ldlx$a;c()I
intermediary method_1390
Lnet/minecraft/class_296$class_297;method_1390()I
named getGlId
Lnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
-