public static enum RegistryEvent.MissingMappings.Action extends java.lang.Enum<RegistryEvent.MissingMappings.Action>
Enum Constant and Description |
---|
DEFAULT
Take the default action
|
FAIL
Fail to load
|
IGNORE
Ignore this missing mapping.
|
REMAP
Remap this name to a new name (add a migration mapping)
|
WARN
Generate a warning but allow loading to continue
|
Modifier and Type | Method and Description |
---|---|
static RegistryEvent.MissingMappings.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegistryEvent.MissingMappings.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistryEvent.MissingMappings.Action DEFAULT
public static final RegistryEvent.MissingMappings.Action IGNORE
public static final RegistryEvent.MissingMappings.Action WARN
public static final RegistryEvent.MissingMappings.Action FAIL
public static final RegistryEvent.MissingMappings.Action REMAP
public static RegistryEvent.MissingMappings.Action[] values()
for (RegistryEvent.MissingMappings.Action c : RegistryEvent.MissingMappings.Action.values()) System.out.println(c);
public static RegistryEvent.MissingMappings.Action 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