Package net.minecraft.client.render
Enum Class VertexFormatElement.Type
- All Implemented Interfaces:
Serializable,Comparable<VertexFormatElement.Type>,Constable
- Enclosing class:
VertexFormatElement
@Environment(CLIENT)
public static enum VertexFormatElement.Type
extends Enum<VertexFormatElement.Type>
Describes how the components should be interpreted.
- Mappings:
Namespace Name named net/minecraft/client/render/VertexFormatElement$Typeintermediary net/minecraft/class_296$class_298official fad$b
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceprivate static interfaceNested 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 VertexFormatElement.Type.ClearTaskprivate final Stringprivate final VertexFormatElement.Type.SetupTask -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateType(String name, VertexFormatElement.Type.SetupTask setupTask, VertexFormatElement.Type.ClearTask clearTask) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearState(int uvIndex, int elementIndex) getName()(package private) voidsetupState(int componentCount, int componentType, int stride, long offset, int uvIndex, int elementIndex) static VertexFormatElement.TypeReturns the enum constant of this class with the specified name.static VertexFormatElement.Type[]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$Type;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Type;intermediary field_1633Lnet/minecraft/class_296$class_298;field_1633:Lnet/minecraft/class_296$class_298;official aLfad$b;a:Lfad$b;
-
NORMAL
- Mappings:
Namespace Name Mixin selector named NORMALLnet/minecraft/client/render/VertexFormatElement$Type;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Type;intermediary field_1635Lnet/minecraft/class_296$class_298;field_1635:Lnet/minecraft/class_296$class_298;official bLfad$b;b:Lfad$b;
-
COLOR
- Mappings:
Namespace Name Mixin selector named COLORLnet/minecraft/client/render/VertexFormatElement$Type;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Type;intermediary field_1632Lnet/minecraft/class_296$class_298;field_1632:Lnet/minecraft/class_296$class_298;official cLfad$b;c:Lfad$b;
-
UV
- Mappings:
Namespace Name Mixin selector named UVLnet/minecraft/client/render/VertexFormatElement$Type;UV:Lnet/minecraft/client/render/VertexFormatElement$Type;intermediary field_1636Lnet/minecraft/class_296$class_298;field_1636:Lnet/minecraft/class_296$class_298;official dLfad$b;d:Lfad$b;
-
PADDING
- Mappings:
Namespace Name Mixin selector named PADDINGLnet/minecraft/client/render/VertexFormatElement$Type;PADDING:Lnet/minecraft/client/render/VertexFormatElement$Type;intermediary field_1629Lnet/minecraft/class_296$class_298;field_1629:Lnet/minecraft/class_296$class_298;official eLfad$b;e:Lfad$b;
-
GENERIC
- Mappings:
Namespace Name Mixin selector named GENERICLnet/minecraft/client/render/VertexFormatElement$Type;GENERIC:Lnet/minecraft/client/render/VertexFormatElement$Type;intermediary field_20782Lnet/minecraft/class_296$class_298;field_20782:Lnet/minecraft/class_296$class_298;official fLfad$b;f:Lfad$b;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/render/VertexFormatElement$Type;name:Ljava/lang/String;intermediary field_1630Lnet/minecraft/class_296$class_298;field_1630:Ljava/lang/String;official gLfad$b;g:Ljava/lang/String;
-
setupTask
- Mappings:
Namespace Name Mixin selector named setupTaskLnet/minecraft/client/render/VertexFormatElement$Type;setupTask:Lnet/minecraft/client/render/VertexFormatElement$Type$SetupTask;intermediary field_20783Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;official hLfad$b;h:Lfad$b$b;
-
clearTask
- Mappings:
Namespace Name Mixin selector named clearTaskLnet/minecraft/client/render/VertexFormatElement$Type;clearTask:Lnet/minecraft/client/render/VertexFormatElement$Type$ClearTask;intermediary field_20784Lnet/minecraft/class_296$class_298;field_20784:Lnet/minecraft/class_296$class_298$class_5938;official iLfad$b;i:Lfad$b$a;
-
-
Constructor Details
-
Type
private Type(String name, VertexFormatElement.Type.SetupTask setupTask, VertexFormatElement.Type.ClearTask clearTask) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/VertexFormatElement$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/client/render/VertexFormatElement$Type$SetupTask;Lnet/minecraft/client/render/VertexFormatElement$Type$ClearTask;)Vintermediary <init>Lnet/minecraft/class_296$class_298;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;Lnet/minecraft/class_296$class_298$class_5938;)Vofficial <init>Lfad$b;<init>(Ljava/lang/String;ILjava/lang/String;Lfad$b$b;Lfad$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
-
setupState
void setupState(int componentCount, int componentType, int stride, long offset, int uvIndex, int elementIndex) - Mappings:
Namespace Name Mixin selector named setupStateLnet/minecraft/client/render/VertexFormatElement$Type;setupState(IIIJII)Vintermediary method_22655Lnet/minecraft/class_296$class_298;method_22655(IIIJII)Vofficial aLfad$b;a(IIIJII)V
-
clearState
public void clearState(int uvIndex, int elementIndex) - Mappings:
Namespace Name Mixin selector named clearStateLnet/minecraft/client/render/VertexFormatElement$Type;clearState(II)Vintermediary method_22654Lnet/minecraft/class_296$class_298;method_22654(II)Vofficial aLfad$b;a(II)V
-
getName
- Mappings:
Namespace Name Mixin selector named getNameLnet/minecraft/client/render/VertexFormatElement$Type;getName()Ljava/lang/String;intermediary method_1392Lnet/minecraft/class_296$class_298;method_1392()Ljava/lang/String;official aLfad$b;a()Ljava/lang/String;
-