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