@Environment(value=CLIENT) public static enum SystemToast.Type extends Enum<SystemToast.Type>
Enum Constant and Description |
---|
NARRATOR_TOGGLE |
PACK_COPY_FAILURE |
PACK_LOAD_FAILURE |
TUTORIAL_HINT |
WORLD_ACCESS_FAILURE |
WORLD_BACKUP |
WORLD_GEN_SETTINGS_TRANSFER |
Modifier and Type | Method and Description |
---|---|
static SystemToast.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SystemToast.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SystemToast.Type TUTORIAL_HINT
public static final SystemToast.Type NARRATOR_TOGGLE
public static final SystemToast.Type WORLD_BACKUP
public static final SystemToast.Type WORLD_GEN_SETTINGS_TRANSFER
public static final SystemToast.Type PACK_LOAD_FAILURE
public static final SystemToast.Type WORLD_ACCESS_FAILURE
public static final SystemToast.Type PACK_COPY_FAILURE
public static SystemToast.Type[] values()
for (SystemToast.Type c : SystemToast.Type.values()) System.out.println(c);
public static SystemToast.Type 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