public static enum PacketPlayOutPosition.PlayerTeleportFlag extends java.lang.Enum<PacketPlayOutPosition.PlayerTeleportFlag> implements WrappedData
| Modifier and Type | Method and Description |
|---|---|
static PacketPlayOutPosition.PlayerTeleportFlag |
fromVanillaPTF(java.lang.Object nms) |
java.lang.Object |
toNMS() |
static PacketPlayOutPosition.PlayerTeleportFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayOutPosition.PlayerTeleportFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayOutPosition.PlayerTeleportFlag X
public static final PacketPlayOutPosition.PlayerTeleportFlag Y
public static final PacketPlayOutPosition.PlayerTeleportFlag Z
public static final PacketPlayOutPosition.PlayerTeleportFlag Y_ROT
public static final PacketPlayOutPosition.PlayerTeleportFlag X_ROT
public static PacketPlayOutPosition.PlayerTeleportFlag[] values()
for (PacketPlayOutPosition.PlayerTeleportFlag c : PacketPlayOutPosition.PlayerTeleportFlag.values()) System.out.println(c);
public static PacketPlayOutPosition.PlayerTeleportFlag 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 static PacketPlayOutPosition.PlayerTeleportFlag fromVanillaPTF(java.lang.Object nms)
public java.lang.Object toNMS()
toNMS in interface WrappedData