枚举 RealmsLongConfirmationScreen.Type
- java.lang.Object
-
- java.lang.Enum<RealmsLongConfirmationScreen.Type>
-
- net.minecraft.client.realms.gui.screen.RealmsLongConfirmationScreen.Type
-
- 所有已实现的接口:
Serializable,Comparable<RealmsLongConfirmationScreen.Type>
@Environment(CLIENT) public static enum RealmsLongConfirmationScreen.Type extends Enum<RealmsLongConfirmationScreen.Type>
- Mappings:
Namespace Name official dsa$aintermediary net/minecraft/class_4396$class_4397named net/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type
-
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static RealmsLongConfirmationScreen.TypevalueOf(String name)返回带有指定名称的该类型的枚举常量。static RealmsLongConfirmationScreen.Type[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
Warning
public static final RealmsLongConfirmationScreen.Type Warning
- Mappings:
Namespace Name Mixin selector official aLdsa$a;a:Ldsa$a;intermediary field_19903Lnet/minecraft/class_4396$class_4397;field_19903:Lnet/minecraft/class_4396$class_4397;named WarningLnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;Warning:Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;
-
Info
public static final RealmsLongConfirmationScreen.Type Info
- Mappings:
Namespace Name Mixin selector official bLdsa$a;b:Ldsa$a;intermediary field_19904Lnet/minecraft/class_4396$class_4397;field_19904:Lnet/minecraft/class_4396$class_4397;named InfoLnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;Info:Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;
-
-
字段详细资料
-
colorCode
public final int colorCode
- Mappings:
Namespace Name Mixin selector official cLdsa$a;c:Iintermediary field_19905Lnet/minecraft/class_4396$class_4397;field_19905:Inamed colorCodeLnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;colorCode:I
-
text
public final String text
- Mappings:
Namespace Name Mixin selector official dLdsa$a;d:Ljava/lang/String;intermediary field_19906Lnet/minecraft/class_4396$class_4397;field_19906:Ljava/lang/String;named textLnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;text:Ljava/lang/String;
-
-
构造器详细资料
-
Type
private Type(String text, int colorCode)
- Mappings:
Namespace Name Mixin selector official <init>Ldsa$a;<init>(Ljava/lang/String;ILjava/lang/String;I)Vintermediary <init>Lnet/minecraft/class_4396$class_4397;<init>(Ljava/lang/String;ILjava/lang/String;I)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;<init>(Ljava/lang/String;ILjava/lang/String;I)V
-
-
方法详细资料
-
values
public static RealmsLongConfirmationScreen.Type[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (RealmsLongConfirmationScreen.Type c : RealmsLongConfirmationScreen.Type.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static RealmsLongConfirmationScreen.Type valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
-