枚举 CreateWorldScreen.Mode
- java.lang.Object
-
- java.lang.Enum<CreateWorldScreen.Mode>
-
- net.minecraft.client.gui.screen.world.CreateWorldScreen.Mode
-
- 所有已实现的接口:
Serializable,Comparable<CreateWorldScreen.Mode>
- 封闭类:
- CreateWorldScreen
@Environment(CLIENT) static enum CreateWorldScreen.Mode extends Enum<CreateWorldScreen.Mode>
- Mappings:
Namespace Name official ect$bintermediary net/minecraft/class_525$class_4539named net/minecraft/client/gui/screen/world/CreateWorldScreen$Mode
-
-
字段概要
字段 修饰符和类型 字段 说明 private GameModedefaultGameModeprivate Texttextprivate StringtranslationSuffix
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 TextasText()static CreateWorldScreen.ModevalueOf(String name)返回带有指定名称的该类型的枚举常量。static CreateWorldScreen.Mode[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
SURVIVAL
public static final CreateWorldScreen.Mode SURVIVAL
- Mappings:
Namespace Name Mixin selector official aLect$b;a:Lect$b;intermediary field_20624Lnet/minecraft/class_525$class_4539;field_20624:Lnet/minecraft/class_525$class_4539;named SURVIVALLnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;SURVIVAL:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
HARDCORE
public static final CreateWorldScreen.Mode HARDCORE
- Mappings:
Namespace Name Mixin selector official bLect$b;b:Lect$b;intermediary field_20625Lnet/minecraft/class_525$class_4539;field_20625:Lnet/minecraft/class_525$class_4539;named HARDCORELnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;HARDCORE:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
CREATIVE
public static final CreateWorldScreen.Mode CREATIVE
- Mappings:
Namespace Name Mixin selector official cLect$b;c:Lect$b;intermediary field_20626Lnet/minecraft/class_525$class_4539;field_20626:Lnet/minecraft/class_525$class_4539;named CREATIVELnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;CREATIVE:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
DEBUG
public static final CreateWorldScreen.Mode DEBUG
- Mappings:
Namespace Name Mixin selector official dLect$b;d:Lect$b;intermediary field_20627Lnet/minecraft/class_525$class_4539;field_20627:Lnet/minecraft/class_525$class_4539;named DEBUGLnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;DEBUG:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
-
字段详细资料
-
translationSuffix
private final String translationSuffix
- Mappings:
Namespace Name Mixin selector official eLect$b;e:Ljava/lang/String;intermediary field_20628Lnet/minecraft/class_525$class_4539;field_20628:Ljava/lang/String;named translationSuffixLnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;translationSuffix:Ljava/lang/String;
-
defaultGameMode
private final GameMode defaultGameMode
- Mappings:
Namespace Name Mixin selector official fLect$b;f:Lbvo;intermediary field_20629Lnet/minecraft/class_525$class_4539;field_20629:Lnet/minecraft/class_1934;named defaultGameModeLnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;defaultGameMode:Lnet/minecraft/world/GameMode;
-
text
private final Text text
- Mappings:
Namespace Name Mixin selector official gLect$b;g:Lon;intermediary field_27999Lnet/minecraft/class_525$class_4539;field_27999:Lnet/minecraft/class_2561;named textLnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;text:Lnet/minecraft/text/Text;
-
-
构造器详细资料
-
Mode
private Mode(String translationSuffix, GameMode defaultGameMode)
- Mappings:
Namespace Name Mixin selector official <init>Lect$b;<init>(Ljava/lang/String;ILjava/lang/String;Lbvo;)Vintermediary <init>Lnet/minecraft/class_525$class_4539;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1934;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/GameMode;)V
-
-
方法详细资料
-
values
public static CreateWorldScreen.Mode[] values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:for (CreateWorldScreen.Mode c : CreateWorldScreen.Mode.values()) System.out.println(c);
- 返回:
- 按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
-
valueOf
public static CreateWorldScreen.Mode valueOf(String name)
返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- 如果该枚举类型没有带有指定名称的常量NullPointerException- 如果参数为空值
-
asText
public Text asText()
- Mappings:
Namespace Name Mixin selector official aLect$b;a()Lon;intermediary method_32673Lnet/minecraft/class_525$class_4539;method_32673()Lnet/minecraft/class_2561;named asTextLnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;asText()Lnet/minecraft/text/Text;
-
-