枚举 VertexFormatElement.Format
- java.lang.Object
-
- java.lang.Enum<VertexFormatElement.Format>
-
- net.minecraft.client.render.VertexFormatElement.Format
-
- 所有已实现的接口:
Serializable,Comparable<VertexFormatElement.Format>
- 封闭类:
- VertexFormatElement
@Environment(CLIENT) public static enum VertexFormatElement.Format extends Enum<VertexFormatElement.Format>
- Mappings:
Namespace Name official dpo$aintermediary net/minecraft/class_296$class_297named net/minecraft/client/render/VertexFormatElement$Format
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetGlId()StringgetName()intgetSize()static VertexFormatElement.FormatvalueOf(String name)返回带有指定名称的该类型的枚举常量。static VertexFormatElement.Format[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
FLOAT
public static final VertexFormatElement.Format FLOAT
- Mappings:
Namespace Name Mixin selector official aLdpo$a;a:Ldpo$a;intermediary field_1623Lnet/minecraft/class_296$class_297;field_1623:Lnet/minecraft/class_296$class_297;named FLOATLnet/minecraft/client/render/VertexFormatElement$Format;FLOAT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UBYTE
public static final VertexFormatElement.Format UBYTE
- Mappings:
Namespace Name Mixin selector official bLdpo$a;b:Ldpo$a;intermediary field_1624Lnet/minecraft/class_296$class_297;field_1624:Lnet/minecraft/class_296$class_297;named UBYTELnet/minecraft/client/render/VertexFormatElement$Format;UBYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
BYTE
public static final VertexFormatElement.Format BYTE
- Mappings:
Namespace Name Mixin selector official cLdpo$a;c:Ldpo$a;intermediary field_1621Lnet/minecraft/class_296$class_297;field_1621:Lnet/minecraft/class_296$class_297;named BYTELnet/minecraft/client/render/VertexFormatElement$Format;BYTE:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
USHORT
public static final VertexFormatElement.Format USHORT
- Mappings:
Namespace Name Mixin selector official dLdpo$a;d:Ldpo$a;intermediary field_1622Lnet/minecraft/class_296$class_297;field_1622:Lnet/minecraft/class_296$class_297;named USHORTLnet/minecraft/client/render/VertexFormatElement$Format;USHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
SHORT
public static final VertexFormatElement.Format SHORT
- Mappings:
Namespace Name Mixin selector official eLdpo$a;e:Ldpo$a;intermediary field_1625Lnet/minecraft/class_296$class_297;field_1625:Lnet/minecraft/class_296$class_297;named SHORTLnet/minecraft/client/render/VertexFormatElement$Format;SHORT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
UINT
public static final VertexFormatElement.Format UINT
- Mappings:
Namespace Name Mixin selector official fLdpo$a;f:Ldpo$a;intermediary field_1619Lnet/minecraft/class_296$class_297;field_1619:Lnet/minecraft/class_296$class_297;named UINTLnet/minecraft/client/render/VertexFormatElement$Format;UINT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
INT
public static final VertexFormatElement.Format INT
- Mappings:
Namespace Name Mixin selector official gLdpo$a;g:Ldpo$a;intermediary field_1617Lnet/minecraft/class_296$class_297;field_1617:Lnet/minecraft/class_296$class_297;named INTLnet/minecraft/client/render/VertexFormatElement$Format;INT:Lnet/minecraft/client/render/VertexFormatElement$Format;
-
-
字段详细资料
-
size
private final int size
- Mappings:
Namespace Name Mixin selector official hLdpo$a;h:Iintermediary field_1618Lnet/minecraft/class_296$class_297;field_1618:Inamed sizeLnet/minecraft/client/render/VertexFormatElement$Format;size:I
-
name
private final String name
- Mappings:
Namespace Name Mixin selector official iLdpo$a;i:Ljava/lang/String;intermediary field_1626Lnet/minecraft/class_296$class_297;field_1626:Ljava/lang/String;named nameLnet/minecraft/client/render/VertexFormatElement$Format;name:Ljava/lang/String;
-
glId
private final int glId
- Mappings:
Namespace Name Mixin selector official jLdpo$a;j:Iintermediary field_1627Lnet/minecraft/class_296$class_297;field_1627:Inamed glIdLnet/minecraft/client/render/VertexFormatElement$Format;glId:I
-
-
构造器详细资料
-
Format
private Format(int size, String name, int glId)- Mappings:
Namespace Name Mixin selector official <init>Ldpo$a;<init>(Ljava/lang/String;IILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_296$class_297;<init>(Ljava/lang/String;IILjava/lang/String;I)Vnamed <init>Lnet/minecraft/client/render/VertexFormatElement$Format;<init>(Ljava/lang/String;IILjava/lang/String;I)V
-
-
方法详细资料
-
values
public static VertexFormatElement.Format[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (VertexFormatElement.Format c : VertexFormatElement.Format.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static VertexFormatElement.Format valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
getSize
public int getSize()
- Mappings:
Namespace Name Mixin selector official aLdpo$a;a()Iintermediary method_1391Lnet/minecraft/class_296$class_297;method_1391()Inamed getSizeLnet/minecraft/client/render/VertexFormatElement$Format;getSize()I
-
getName
public String getName()
- Mappings:
Namespace Name Mixin selector official bLdpo$a;b()Ljava/lang/String;intermediary method_1389Lnet/minecraft/class_296$class_297;method_1389()Ljava/lang/String;named getNameLnet/minecraft/client/render/VertexFormatElement$Format;getName()Ljava/lang/String;
-
getGlId
public int getGlId()
- Mappings:
Namespace Name Mixin selector official cLdpo$a;c()Iintermediary method_1390Lnet/minecraft/class_296$class_297;method_1390()Inamed getGlIdLnet/minecraft/client/render/VertexFormatElement$Format;getGlId()I
-
-