Package net.minecraft.client.render
Enum VertexFormatElement.Type
- All Implemented Interfaces:
Serializable,Comparable<VertexFormatElement.Type>,java.lang.constant.Constable
- Enclosing class:
- VertexFormatElement
@Environment(CLIENT) public static enum VertexFormatElement.Type extends Enum<VertexFormatElement.Type>
- Mappings:
Namespace Name official dpm$bintermediary net/minecraft/class_296$class_298named net/minecraft/client/render/VertexFormatElement$Type
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceVertexFormatElement.Type.class_5938(package private) static interfaceVertexFormatElement.Type.StarterNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description private VertexFormatElement.Type.class_5938finisherprivate Stringnameprivate VertexFormatElement.Type.Starterstarter -
Constructor Summary
Constructors Modifier Constructor Description privateType(String name, VertexFormatElement.Type.Starter starter, VertexFormatElement.Type.class_5938 class_5938) -
Method Summary
Modifier and Type Method Description voidendDrawing(int elementIndex, int int2)StringgetName()private voidstartDrawing(int count, int glId, int stride, long pointer, int elementIndex, int int2)static VertexFormatElement.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static VertexFormatElement.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
POSITION
- Mappings:
Namespace Name Mixin selector official aLdpm$b;a:Ldpm$b;intermediary field_1633Lnet/minecraft/class_296$class_298;field_1633:Lnet/minecraft/class_296$class_298;named POSITIONLnet/minecraft/client/render/VertexFormatElement$Type;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
NORMAL
- Mappings:
Namespace Name Mixin selector official bLdpm$b;b:Ldpm$b;intermediary field_1635Lnet/minecraft/class_296$class_298;field_1635:Lnet/minecraft/class_296$class_298;named NORMALLnet/minecraft/client/render/VertexFormatElement$Type;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
COLOR
- Mappings:
Namespace Name Mixin selector official cLdpm$b;c:Ldpm$b;intermediary field_1632Lnet/minecraft/class_296$class_298;field_1632:Lnet/minecraft/class_296$class_298;named COLORLnet/minecraft/client/render/VertexFormatElement$Type;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
UV
- Mappings:
Namespace Name Mixin selector official dLdpm$b;d:Ldpm$b;intermediary field_1636Lnet/minecraft/class_296$class_298;field_1636:Lnet/minecraft/class_296$class_298;named UVLnet/minecraft/client/render/VertexFormatElement$Type;UV:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
PADDING
- Mappings:
Namespace Name Mixin selector official eLdpm$b;e:Ldpm$b;intermediary field_1629Lnet/minecraft/class_296$class_298;field_1629:Lnet/minecraft/class_296$class_298;named PADDINGLnet/minecraft/client/render/VertexFormatElement$Type;PADDING:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
GENERIC
- Mappings:
Namespace Name Mixin selector official fLdpm$b;f:Ldpm$b;intermediary field_20782Lnet/minecraft/class_296$class_298;field_20782:Lnet/minecraft/class_296$class_298;named GENERICLnet/minecraft/client/render/VertexFormatElement$Type;GENERIC:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official gLdpm$b;g:Ljava/lang/String;intermediary field_1630Lnet/minecraft/class_296$class_298;field_1630:Ljava/lang/String;named nameLnet/minecraft/client/render/VertexFormatElement$Type;name:Ljava/lang/String;
-
starter
- Mappings:
Namespace Name Mixin selector official hLdpm$b;h:Ldpm$b$b;intermediary field_20783Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;named starterLnet/minecraft/client/render/VertexFormatElement$Type;starter:Lnet/minecraft/client/render/VertexFormatElement$Type$Starter;
-
finisher
- Mappings:
Namespace Name Mixin selector official iLdpm$b;i:Ldpm$b$a;intermediary field_20784Lnet/minecraft/class_296$class_298;field_20784:Lnet/minecraft/class_296$class_298$class_5938;named finisherLnet/minecraft/client/render/VertexFormatElement$Type;finisher:Lnet/minecraft/client/render/VertexFormatElement$Type$class_5938;
-
-
Constructor Details
-
Type
private Type(String name, VertexFormatElement.Type.Starter starter, VertexFormatElement.Type.class_5938 class_5938)- Mappings:
Namespace Name Mixin selector official <init>Ldpm$b;<init>(Ljava/lang/String;ILjava/lang/String;Ldpm$b$b;Ldpm$b$a;)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;)Vnamed <init>Lnet/minecraft/client/render/VertexFormatElement$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/client/render/VertexFormatElement$Type$Starter;Lnet/minecraft/client/render/VertexFormatElement$Type$class_5938;)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
-
startDrawing
private void startDrawing(int count, int glId, int stride, long pointer, int elementIndex, int int2)- Mappings:
Namespace Name Mixin selector official aLdpm$b;a(IIIJII)Vintermediary method_22655Lnet/minecraft/class_296$class_298;method_22655(IIIJII)Vnamed startDrawingLnet/minecraft/client/render/VertexFormatElement$Type;startDrawing(IIIJII)V
-
endDrawing
public void endDrawing(int elementIndex, int int2)- Mappings:
Namespace Name Mixin selector official aLdpm$b;a(II)Vintermediary method_22654Lnet/minecraft/class_296$class_298;method_22654(II)Vnamed endDrawingLnet/minecraft/client/render/VertexFormatElement$Type;endDrawing(II)V
-
getName
- Mappings:
Namespace Name Mixin selector official aLdpm$b;a()Ljava/lang/String;intermediary method_1392Lnet/minecraft/class_296$class_298;method_1392()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$Type;getName()Ljava/lang/String;
-