public enum EnumRestartRequirement extends java.lang.Enum<EnumRestartRequirement>
Modifier and Type | Method and Description |
---|---|
boolean |
hasBeenRestarted(EnumRestartRequirement requirement) |
void |
setTo(net.minecraftforge.common.config.Property prop) |
static EnumRestartRequirement |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumRestartRequirement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumRestartRequirement NONE
public static final EnumRestartRequirement WORLD
public static final EnumRestartRequirement GAME
public static EnumRestartRequirement[] values()
for (EnumRestartRequirement c : EnumRestartRequirement.values()) System.out.println(c);
public static EnumRestartRequirement 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 nullpublic void setTo(net.minecraftforge.common.config.Property prop)
public boolean hasBeenRestarted(EnumRestartRequirement requirement)