public static enum IslandChangeLevelBonusEvent.Reason extends java.lang.Enum<IslandChangeLevelBonusEvent.Reason>
Enum Constant and Description |
---|
COMMAND
The level bonus was changed due to a command by a player or console.
|
SCHEMATIC
The level bonus was changed due to schematic that was placed in the world for the island.
|
Modifier and Type | Method and Description |
---|---|
static IslandChangeLevelBonusEvent.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IslandChangeLevelBonusEvent.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IslandChangeLevelBonusEvent.Reason COMMAND
public static final IslandChangeLevelBonusEvent.Reason SCHEMATIC
public static IslandChangeLevelBonusEvent.Reason[] values()
for (IslandChangeLevelBonusEvent.Reason c : IslandChangeLevelBonusEvent.Reason.values()) System.out.println(c);
public static IslandChangeLevelBonusEvent.Reason 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