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$Usageintermediary net/minecraft/class_296$class_298official fbo$b
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String(package private) final VertexFormatElement.Usage.SetupTask -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateUsage(String name, VertexFormatElement.Usage.SetupTask setupTask) -
Method Summary
Modifier and TypeMethodDescriptiontoString()static VertexFormatElement.UsageReturns 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 POSITIONLnet/minecraft/client/render/VertexFormatElement$Usage;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Usage;intermediary field_1633Lnet/minecraft/class_296$class_298;field_1633:Lnet/minecraft/class_296$class_298;official aLfbo$b;a:Lfbo$b;
-
NORMAL
- Mappings:
Namespace Name Mixin selector named NORMALLnet/minecraft/client/render/VertexFormatElement$Usage;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Usage;intermediary field_1635Lnet/minecraft/class_296$class_298;field_1635:Lnet/minecraft/class_296$class_298;official bLfbo$b;b:Lfbo$b;
-
COLOR
- Mappings:
Namespace Name Mixin selector named COLORLnet/minecraft/client/render/VertexFormatElement$Usage;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Usage;intermediary field_1632Lnet/minecraft/class_296$class_298;field_1632:Lnet/minecraft/class_296$class_298;official cLfbo$b;c:Lfbo$b;
-
UV
- Mappings:
Namespace Name Mixin selector named UVLnet/minecraft/client/render/VertexFormatElement$Usage;UV:Lnet/minecraft/client/render/VertexFormatElement$Usage;intermediary field_1636Lnet/minecraft/class_296$class_298;field_1636:Lnet/minecraft/class_296$class_298;official dLfbo$b;d:Lfbo$b;
-
GENERIC
- Mappings:
Namespace Name Mixin selector named GENERICLnet/minecraft/client/render/VertexFormatElement$Usage;GENERIC:Lnet/minecraft/client/render/VertexFormatElement$Usage;intermediary field_20782Lnet/minecraft/class_296$class_298;field_20782:Lnet/minecraft/class_296$class_298;official eLfbo$b;e:Lfbo$b;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/render/VertexFormatElement$Usage;name:Ljava/lang/String;intermediary field_1630Lnet/minecraft/class_296$class_298;field_1630:Ljava/lang/String;official fLfbo$b;f:Ljava/lang/String;
-
setupTask
- Mappings:
Namespace Name Mixin selector named setupTaskLnet/minecraft/client/render/VertexFormatElement$Usage;setupTask:Lnet/minecraft/client/render/VertexFormatElement$Usage$SetupTask;intermediary field_20783Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;official gLfbo$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;)Vintermediary <init>Lnet/minecraft/class_296$class_298;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;)Vofficial <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:
toStringin classEnum<VertexFormatElement.Usage>
-