@Environment(value=CLIENT) static enum MinecraftClient.WorldLoadAction extends Enum<MinecraftClient.WorldLoadAction>
Modifier and Type | Method and Description |
---|---|
static MinecraftClient.WorldLoadAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MinecraftClient.WorldLoadAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinecraftClient.WorldLoadAction NONE
public static final MinecraftClient.WorldLoadAction CREATE
public static final MinecraftClient.WorldLoadAction BACKUP
public static MinecraftClient.WorldLoadAction[] values()
for (MinecraftClient.WorldLoadAction c : MinecraftClient.WorldLoadAction.values()) System.out.println(c);
public static MinecraftClient.WorldLoadAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null