Enum Class CreateWorldScreen.Mode
- All Implemented Interfaces:
Serializable
,Comparable<CreateWorldScreen.Mode>
,Constable
- Enclosing class:
- CreateWorldScreen
@Environment(CLIENT)
private static enum CreateWorldScreen.Mode
extends Enum<CreateWorldScreen.Mode>
- Mappings:
Namespace Name official egh$b
intermediary net/minecraft/class_525$class_4539
named net/minecraft/client/gui/screen/world/CreateWorldScreen$Mode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasText()
static CreateWorldScreen.Mode
Returns the enum constant of this class with the specified name.static CreateWorldScreen.Mode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SURVIVAL
- Mappings:
Namespace Name Mixin selector official a
Legh$b;a:Legh$b;
intermediary field_20624
Lnet/minecraft/class_525$class_4539;field_20624:Lnet/minecraft/class_525$class_4539;
named SURVIVAL
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;SURVIVAL:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
HARDCORE
- Mappings:
Namespace Name Mixin selector official b
Legh$b;b:Legh$b;
intermediary field_20625
Lnet/minecraft/class_525$class_4539;field_20625:Lnet/minecraft/class_525$class_4539;
named HARDCORE
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;HARDCORE:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
CREATIVE
- Mappings:
Namespace Name Mixin selector official c
Legh$b;c:Legh$b;
intermediary field_20626
Lnet/minecraft/class_525$class_4539;field_20626:Lnet/minecraft/class_525$class_4539;
named CREATIVE
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;CREATIVE:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
DEBUG
- Mappings:
Namespace Name Mixin selector official d
Legh$b;d:Legh$b;
intermediary field_20627
Lnet/minecraft/class_525$class_4539;field_20627:Lnet/minecraft/class_525$class_4539;
named DEBUG
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;DEBUG:Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;
-
-
Field Details
-
translationSuffix
- Mappings:
Namespace Name Mixin selector official e
Legh$b;e:Ljava/lang/String;
intermediary field_20628
Lnet/minecraft/class_525$class_4539;field_20628:Ljava/lang/String;
named translationSuffix
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;translationSuffix:Ljava/lang/String;
-
defaultGameMode
- Mappings:
Namespace Name Mixin selector official f
Legh$b;f:Lcaa;
intermediary field_20629
Lnet/minecraft/class_525$class_4539;field_20629:Lnet/minecraft/class_1934;
named defaultGameMode
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;defaultGameMode:Lnet/minecraft/world/GameMode;
-
text
- Mappings:
Namespace Name Mixin selector official g
Legh$b;g:Lpz;
intermediary field_27999
Lnet/minecraft/class_525$class_4539;field_27999:Lnet/minecraft/class_2561;
named text
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;text:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
Mode
- Mappings:
Namespace Name Mixin selector official <init>
Legh$b;<init>(Ljava/lang/String;ILjava/lang/String;Lcaa;)V
intermediary <init>
Lnet/minecraft/class_525$class_4539;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1934;)V
named <init>
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/world/GameMode;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
asText
- Mappings:
Namespace Name Mixin selector official a
Legh$b;a()Lpz;
intermediary method_32673
Lnet/minecraft/class_525$class_4539;method_32673()Lnet/minecraft/class_2561;
named asText
Lnet/minecraft/client/gui/screen/world/CreateWorldScreen$Mode;asText()Lnet/minecraft/text/Text;
-