枚举 VertexFormatElement.Type
- java.lang.Object
-
- java.lang.Enum<VertexFormatElement.Type>
-
- net.minecraft.client.render.VertexFormatElement.Type
-
- 所有已实现的接口:
Serializable,Comparable<VertexFormatElement.Type>
- 封闭类:
- VertexFormatElement
@Environment(CLIENT) public static enum VertexFormatElement.Type extends Enum<VertexFormatElement.Type>
- Mappings:
Namespace Name official dpo$bintermediary net/minecraft/class_296$class_298named net/minecraft/client/render/VertexFormatElement$Type
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 (专用程序包) static interfaceVertexFormatElement.Type.class_5938(专用程序包) static interfaceVertexFormatElement.Type.Starter
-
字段概要
字段 修饰符和类型 字段 说明 private VertexFormatElement.Type.class_5938finisherprivate Stringnameprivate VertexFormatElement.Type.Starterstarter
-
构造器概要
构造器 限定符 构造器 说明 privateType(String name, VertexFormatElement.Type.Starter starter, VertexFormatElement.Type.class_5938 class_5938)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 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)返回带有指定名称的该类型的枚举常量。static VertexFormatElement.Type[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
POSITION
public static final VertexFormatElement.Type POSITION
- Mappings:
Namespace Name Mixin selector official aLdpo$b;a:Ldpo$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
public static final VertexFormatElement.Type NORMAL
- Mappings:
Namespace Name Mixin selector official bLdpo$b;b:Ldpo$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
public static final VertexFormatElement.Type COLOR
- Mappings:
Namespace Name Mixin selector official cLdpo$b;c:Ldpo$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
public static final VertexFormatElement.Type UV
- Mappings:
Namespace Name Mixin selector official dLdpo$b;d:Ldpo$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
public static final VertexFormatElement.Type PADDING
- Mappings:
Namespace Name Mixin selector official eLdpo$b;e:Ldpo$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
public static final VertexFormatElement.Type GENERIC
- Mappings:
Namespace Name Mixin selector official fLdpo$b;f:Ldpo$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;
-
-
字段详细资料
-
name
private final String name
- Mappings:
Namespace Name Mixin selector official gLdpo$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
private final VertexFormatElement.Type.Starter starter
- Mappings:
Namespace Name Mixin selector official hLdpo$b;h:Ldpo$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
private final VertexFormatElement.Type.class_5938 finisher
- Mappings:
Namespace Name Mixin selector official iLdpo$b;i:Ldpo$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;
-
-
构造器详细资料
-
Type
private Type(String name, VertexFormatElement.Type.Starter starter, VertexFormatElement.Type.class_5938 class_5938)
- Mappings:
Namespace Name Mixin selector official <init>Ldpo$b;<init>(Ljava/lang/String;ILjava/lang/String;Ldpo$b$b;Ldpo$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
-
-
方法详细资料
-
values
public static VertexFormatElement.Type[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (VertexFormatElement.Type c : VertexFormatElement.Type.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static VertexFormatElement.Type valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
startDrawing
private void startDrawing(int count, int glId, int stride, long pointer, int elementIndex, int int2)- Mappings:
Namespace Name Mixin selector official aLdpo$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 aLdpo$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
public String getName()
- Mappings:
Namespace Name Mixin selector official aLdpo$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;
-
-