public static enum SWorldBorderPacket.Action extends java.lang.Enum<SWorldBorderPacket.Action>
Enum Constant and Description |
---|
INITIALIZE |
LERP_SIZE |
SET_CENTER |
SET_SIZE |
SET_WARNING_BLOCKS |
SET_WARNING_TIME |
Modifier and Type | Method and Description |
---|---|
static SWorldBorderPacket.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SWorldBorderPacket.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SWorldBorderPacket.Action SET_SIZE
public static final SWorldBorderPacket.Action LERP_SIZE
public static final SWorldBorderPacket.Action SET_CENTER
public static final SWorldBorderPacket.Action INITIALIZE
public static final SWorldBorderPacket.Action SET_WARNING_TIME
public static final SWorldBorderPacket.Action SET_WARNING_BLOCKS
public static SWorldBorderPacket.Action[] values()
for (SWorldBorderPacket.Action c : SWorldBorderPacket.Action.values()) System.out.println(c);
public static SWorldBorderPacket.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