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 eoc$aintermediary net/minecraft/class_525$class_4539named 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
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasText()static CreateWorldScreen.ModeReturns 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 aLeoc$a;a:Leoc$a;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
- Mappings:
Namespace Name Mixin selector official bLeoc$a;b:Leoc$a;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
- Mappings:
Namespace Name Mixin selector official cLeoc$a;c:Leoc$a;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
- Mappings:
Namespace Name Mixin selector official dLeoc$a;d:Leoc$a;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;
-
-
Field Details
-
translationSuffix
- Mappings:
Namespace Name Mixin selector official eLeoc$a;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
- Mappings:
Namespace Name Mixin selector official fLeoc$a;f:Lcfx;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
- Mappings:
Namespace Name Mixin selector official gLeoc$a;g:Lrm;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;
-
-
Constructor Details
-
Mode
- Mappings:
Namespace Name Mixin selector official <init>Leoc$a;<init>(Ljava/lang/String;ILjava/lang/String;Lcfx;)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
-
-
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 aLeoc$a;a()Lrm;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;
-