static enum CreateWorldScreen.GameMode extends java.lang.Enum<CreateWorldScreen.GameMode>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
field_228217_e_ |
private GameType |
field_228218_f_ |
Modifier and Type | Method and Description |
---|---|
static CreateWorldScreen.GameMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CreateWorldScreen.GameMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateWorldScreen.GameMode SURVIVAL
public static final CreateWorldScreen.GameMode HARDCORE
public static final CreateWorldScreen.GameMode CREATIVE
public static final CreateWorldScreen.GameMode DEBUG
private final java.lang.String field_228217_e_
private final GameType field_228218_f_
public static CreateWorldScreen.GameMode[] values()
for (CreateWorldScreen.GameMode c : CreateWorldScreen.GameMode.values()) System.out.println(c);
public static CreateWorldScreen.GameMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null