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 dlx$b
intermediary net/minecraft/class_296$class_298
named net/minecraft/client/render/VertexFormatElement$Type
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
VertexFormatElement.Type.Starter
Nested 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 IntConsumer
finisher
private String
name
private VertexFormatElement.Type.Starter
starter
-
Constructor Summary
Constructors Modifier Constructor Description private
Type(String name, VertexFormatElement.Type.Starter starter, IntConsumer intConsumer)
-
Method Summary
Modifier and Type Method Description void
endDrawing(int elementIndex)
String
getName()
private void
startDrawing(int count, int glId, int stride, long pointer, int elementIndex)
static VertexFormatElement.Type
valueOf(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 a
Ldlx$b;a:Ldlx$b;
intermediary field_1633
Lnet/minecraft/class_296$class_298;field_1633:Lnet/minecraft/class_296$class_298;
named POSITION
Lnet/minecraft/client/render/VertexFormatElement$Type;POSITION:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
NORMAL
- Mappings:
Namespace Name Mixin selector official b
Ldlx$b;b:Ldlx$b;
intermediary field_1635
Lnet/minecraft/class_296$class_298;field_1635:Lnet/minecraft/class_296$class_298;
named NORMAL
Lnet/minecraft/client/render/VertexFormatElement$Type;NORMAL:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
COLOR
- Mappings:
Namespace Name Mixin selector official c
Ldlx$b;c:Ldlx$b;
intermediary field_1632
Lnet/minecraft/class_296$class_298;field_1632:Lnet/minecraft/class_296$class_298;
named COLOR
Lnet/minecraft/client/render/VertexFormatElement$Type;COLOR:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
UV
- Mappings:
Namespace Name Mixin selector official d
Ldlx$b;d:Ldlx$b;
intermediary field_1636
Lnet/minecraft/class_296$class_298;field_1636:Lnet/minecraft/class_296$class_298;
named UV
Lnet/minecraft/client/render/VertexFormatElement$Type;UV:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
PADDING
- Mappings:
Namespace Name Mixin selector official e
Ldlx$b;e:Ldlx$b;
intermediary field_1629
Lnet/minecraft/class_296$class_298;field_1629:Lnet/minecraft/class_296$class_298;
named PADDING
Lnet/minecraft/client/render/VertexFormatElement$Type;PADDING:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
GENERIC
- Mappings:
Namespace Name Mixin selector official f
Ldlx$b;f:Ldlx$b;
intermediary field_20782
Lnet/minecraft/class_296$class_298;field_20782:Lnet/minecraft/class_296$class_298;
named GENERIC
Lnet/minecraft/client/render/VertexFormatElement$Type;GENERIC:Lnet/minecraft/client/render/VertexFormatElement$Type;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official g
Ldlx$b;g:Ljava/lang/String;
intermediary field_1630
Lnet/minecraft/class_296$class_298;field_1630:Ljava/lang/String;
named name
Lnet/minecraft/client/render/VertexFormatElement$Type;name:Ljava/lang/String;
-
starter
- Mappings:
Namespace Name Mixin selector official h
Ldlx$b;h:Ldlx$b$a;
intermediary field_20783
Lnet/minecraft/class_296$class_298;field_20783:Lnet/minecraft/class_296$class_298$class_4575;
named starter
Lnet/minecraft/client/render/VertexFormatElement$Type;starter:Lnet/minecraft/client/render/VertexFormatElement$Type$Starter;
-
finisher
- Mappings:
Namespace Name Mixin selector official i
Ldlx$b;i:Ljava/util/function/IntConsumer;
intermediary field_20784
Lnet/minecraft/class_296$class_298;field_20784:Ljava/util/function/IntConsumer;
named finisher
Lnet/minecraft/client/render/VertexFormatElement$Type;finisher:Ljava/util/function/IntConsumer;
-
-
Constructor Details
-
Type
- Mappings:
Namespace Name Mixin selector official <init>
Ldlx$b;<init>(Ljava/lang/String;ILjava/lang/String;Ldlx$b$a;Ljava/util/function/IntConsumer;)V
intermediary <init>
Lnet/minecraft/class_296$class_298;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_296$class_298$class_4575;Ljava/util/function/IntConsumer;)V
named <init>
Lnet/minecraft/client/render/VertexFormatElement$Type;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/client/render/VertexFormatElement$Type$Starter;Ljava/util/function/IntConsumer;)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)- Mappings:
Namespace Name Mixin selector official a
Ldlx$b;a(IIIJI)V
intermediary method_22655
Lnet/minecraft/class_296$class_298;method_22655(IIIJI)V
named startDrawing
Lnet/minecraft/client/render/VertexFormatElement$Type;startDrawing(IIIJI)V
-
endDrawing
public void endDrawing(int elementIndex)- Mappings:
Namespace Name Mixin selector official a
Ldlx$b;a(I)V
intermediary method_22654
Lnet/minecraft/class_296$class_298;method_22654(I)V
named endDrawing
Lnet/minecraft/client/render/VertexFormatElement$Type;endDrawing(I)V
-
getName
- Mappings:
Namespace Name Mixin selector official a
Ldlx$b;a()Ljava/lang/String;
intermediary method_1392
Lnet/minecraft/class_296$class_298;method_1392()Ljava/lang/String;
named getName
Lnet/minecraft/client/render/VertexFormatElement$Type;getName()Ljava/lang/String;
-