public static enum PacketPlayInClientStatus.StatusType extends Enum<PacketPlayInClientStatus.StatusType>
Enum Constant and Description |
---|
OPEN_INVENTORY_ACHEIVEMENT |
RESPAWN |
STATISTICS_REQUEST |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static PacketPlayInClientStatus.StatusType |
getStatus(int id) |
static PacketPlayInClientStatus.StatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketPlayInClientStatus.StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketPlayInClientStatus.StatusType RESPAWN
public static final PacketPlayInClientStatus.StatusType STATISTICS_REQUEST
public static final PacketPlayInClientStatus.StatusType OPEN_INVENTORY_ACHEIVEMENT
public static PacketPlayInClientStatus.StatusType[] values()
for (PacketPlayInClientStatus.StatusType c : PacketPlayInClientStatus.StatusType.values()) System.out.println(c);
public static PacketPlayInClientStatus.StatusType 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 nullpublic static PacketPlayInClientStatus.StatusType getStatus(int id)
public int getId()
Copyright © 2016. All rights reserved.