Package net.minecraft.client.render
Enum Class VertexFormatElement.Usage
- All Implemented Interfaces:
Serializable
,Comparable<VertexFormatElement.Usage>
,Constable
- Enclosing class:
VertexFormatElement
@Environment(CLIENT)
public static enum VertexFormatElement.Usage
extends Enum<VertexFormatElement.Usage>
Describes how the components should be interpreted.
- Mappings:
Namespace Name named net/minecraft/client/render/VertexFormatElement$Usage
intermediary net/minecraft/class_296$class_298
official fbo$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
(package private) final VertexFormatElement.Usage.SetupTask
-
Constructor Summary
ModifierConstructorDescriptionprivate
Usage
(String name, VertexFormatElement.Usage.SetupTask setupTask) -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static VertexFormatElement.Usage
Returns the enum constant of this class with the specified name.static VertexFormatElement.Usage[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
POSITION
- Mappings:
Namespace Name Mixin selector named POSITION
Lnet/minecraft/client/render/VertexFormatElement$Usage;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Usage;
intermediary field_1633
Lnet/minecraft/class_296$class_298;field_1633:Lnet/minecraft/class_296$class_298;
official a
Lfbo$b;a:Lfbo$b;
-
NORMAL
- Mappings:
Namespace Name Mixin selector named NORMAL
Lnet/minecraft/client/render/VertexFormatElement$Usage;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Usage;
intermediary field_1635
Lnet/minecraft/class_296$class_298;field_1635:Lnet/minecraft/class_296$class_298;
official b
Lfbo$b;b:Lfbo$b;
-
COLOR
- Mappings:
Namespace Name Mixin selector named COLOR
Lnet/minecraft/client/render/VertexFormatElement$Usage;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Usage;
intermediary field_1632
Lnet/minecraft/class_296$class_298;field_1632:Lnet/minecraft/class_296$class_298;
official c
Lfbo$b;c:Lfbo$b;
-
UV
- Mappings:
Namespace Name Mixin selector named UV
Lnet/minecraft/client/render/VertexFormatElement$Usage;UV:Lnet/minecraft/client/render/VertexFormatElement$Usage;
intermediary field_1636
Lnet/minecraft/class_296$class_298;field_1636:Lnet/minecraft/class_296$class_298;
official d
Lfbo$b;d:Lfbo$b;
-
GENERIC
- Mappings:
Namespace Name Mixin selector named GENERIC
Lnet/minecraft/client/render/VertexFormatElement$Usage;GENERIC:Lnet/minecraft/client/render/VertexFormatElement$Usage;
intermediary field_20782
Lnet/minecraft/class_296$class_298;field_20782:Lnet/minecraft/class_296$class_298;
official e
Lfbo$b;e:Lfbo$b;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/client/render/VertexFormatElement$Usage;name:Ljava/lang/String;
intermediary field_1630
Lnet/minecraft/class_296$class_298;field_1630:Ljava/lang/String;
official f
Lfbo$b;f:Ljava/lang/String;
-
setupTask
- Mappings:
Namespace Name Mixin selector named setupTask
Lnet/minecraft/client/render/VertexFormatElement$Usage;setupTask:Lnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;
intermediary field_20783
Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;
official g
Lfbo$b;g:Lfbo$b$a;
-
-
Constructor Details
-
Usage
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/VertexFormatElement$Usage;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;)V
intermediary <init>
Lnet/minecraft/class_296$class_298;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;)V
official <init>
Lfbo$b;<init>(Ljava/lang/String;ILjava/lang/String;Lfbo$b$a;)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
-
toString
- Overrides:
toString
in classEnum<VertexFormatElement.Usage>
-