public static enum PlayerPositionLookS2CPacket.Flag extends Enum<PlayerPositionLookS2CPacket.Flag>
Modifier and Type | Field and Description |
---|---|
private int |
shift |
Modifier and Type | Method and Description |
---|---|
static int |
getBitfield(Set<PlayerPositionLookS2CPacket.Flag> set) |
static Set<PlayerPositionLookS2CPacket.Flag> |
getFlags(int int2) |
private int |
getMask() |
private boolean |
isSet(int int2) |
static PlayerPositionLookS2CPacket.Flag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerPositionLookS2CPacket.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerPositionLookS2CPacket.Flag X
public static final PlayerPositionLookS2CPacket.Flag Y
public static final PlayerPositionLookS2CPacket.Flag Z
public static final PlayerPositionLookS2CPacket.Flag Y_ROT
public static final PlayerPositionLookS2CPacket.Flag X_ROT
public static PlayerPositionLookS2CPacket.Flag[] values()
for (PlayerPositionLookS2CPacket.Flag c : PlayerPositionLookS2CPacket.Flag.values()) System.out.println(c);
public static PlayerPositionLookS2CPacket.Flag valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullprivate int getMask()
private boolean isSet(int int2)
public static Set<PlayerPositionLookS2CPacket.Flag> getFlags(int int2)
public static int getBitfield(Set<PlayerPositionLookS2CPacket.Flag> set)