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