public static enum SPlayerPositionLookPacket.Flags extends java.lang.Enum<SPlayerPositionLookPacket.Flags>
Modifier and Type | Field and Description |
---|---|
private int |
bit |
Modifier and Type | Method and Description |
---|---|
private int |
getMask() |
private boolean |
isSet(int flags) |
static int |
pack(java.util.Set<SPlayerPositionLookPacket.Flags> flags) |
static java.util.Set<SPlayerPositionLookPacket.Flags> |
unpack(int flags) |
static SPlayerPositionLookPacket.Flags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SPlayerPositionLookPacket.Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPlayerPositionLookPacket.Flags X
public static final SPlayerPositionLookPacket.Flags Y
public static final SPlayerPositionLookPacket.Flags Z
public static final SPlayerPositionLookPacket.Flags Y_ROT
public static final SPlayerPositionLookPacket.Flags X_ROT
public static SPlayerPositionLookPacket.Flags[] values()
for (SPlayerPositionLookPacket.Flags c : SPlayerPositionLookPacket.Flags.values()) System.out.println(c);
public static SPlayerPositionLookPacket.Flags 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 nullprivate int getMask()
private boolean isSet(int flags)
public static java.util.Set<SPlayerPositionLookPacket.Flags> unpack(int flags)
public static int pack(java.util.Set<SPlayerPositionLookPacket.Flags> flags)