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