public static enum World2.Warning extends java.lang.Enum<World2.Warning>
Enum Constant and Description |
---|
AUTO_BIOMES_DISABLED
Warn the user that automatic biomes were previously in use but are now disabled.
|
AUTO_BIOMES_ENABLED
Warn the user that automatic biomes are now the default and are enabled.
|
GAME_TYPE_RESET
The game type was lost and was reset to Survival.
|
MISSING_CUSTOM_TERRAINS
Warn the user that one or more custom terrain types were missing and have been replaced with magenta wool.
|
SUPERFLAT_SETTINGS_RESET
Warn the user that the Superflat settings could not be parsed and were reset to defaults.
|
Modifier and Type | Method and Description |
---|---|
static World2.Warning |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static World2.Warning[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final World2.Warning AUTO_BIOMES_ENABLED
public static final World2.Warning AUTO_BIOMES_DISABLED
public static final World2.Warning MISSING_CUSTOM_TERRAINS
public static final World2.Warning SUPERFLAT_SETTINGS_RESET
public static final World2.Warning GAME_TYPE_RESET
public static World2.Warning[] values()
for (World2.Warning c : World2.Warning.values()) System.out.println(c);
public static World2.Warning 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