public static enum IslandEnterEvent.EnterCause extends java.lang.Enum<IslandEnterEvent.EnterCause>
Enum Constant and Description |
---|
INVALID |
PLAYER_JOIN |
PLAYER_MOVE |
PLAYER_TELEPORT |
PORTAL |
Modifier and Type | Method and Description |
---|---|
static IslandEnterEvent.EnterCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IslandEnterEvent.EnterCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IslandEnterEvent.EnterCause PLAYER_MOVE
public static final IslandEnterEvent.EnterCause PLAYER_TELEPORT
public static final IslandEnterEvent.EnterCause PLAYER_JOIN
public static final IslandEnterEvent.EnterCause PORTAL
public static final IslandEnterEvent.EnterCause INVALID
public static IslandEnterEvent.EnterCause[] values()
for (IslandEnterEvent.EnterCause c : IslandEnterEvent.EnterCause.values()) System.out.println(c);
public static IslandEnterEvent.EnterCause 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