public static enum FMLMissingMappingsEvent.Action extends java.lang.Enum<FMLMissingMappingsEvent.Action>
Enum Constant and Description |
---|
BLOCKONLY
Allow a block to exist without itemblock anymore
|
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 FMLMissingMappingsEvent.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FMLMissingMappingsEvent.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FMLMissingMappingsEvent.Action DEFAULT
public static final FMLMissingMappingsEvent.Action IGNORE
public static final FMLMissingMappingsEvent.Action WARN
public static final FMLMissingMappingsEvent.Action FAIL
public static final FMLMissingMappingsEvent.Action REMAP
public static final FMLMissingMappingsEvent.Action BLOCKONLY
public static FMLMissingMappingsEvent.Action[] values()
for (FMLMissingMappingsEvent.Action c : FMLMissingMappingsEvent.Action.values()) System.out.println(c);
public static FMLMissingMappingsEvent.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