public enum PacketIdServer extends java.lang.Enum<PacketIdServer> implements IPacketId
| Enum Constant and Description |
|---|
CHEAT_PERMISSION_REQUEST |
DELETE_ITEM |
GIVE_ITEM |
RECIPE_TRANSFER |
SET_HOTBAR_ITEM |
| Modifier and Type | Field and Description |
|---|---|
static PacketIdServer[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static PacketIdServer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PacketIdServer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketIdServer RECIPE_TRANSFER
public static final PacketIdServer DELETE_ITEM
public static final PacketIdServer GIVE_ITEM
public static final PacketIdServer SET_HOTBAR_ITEM
public static final PacketIdServer CHEAT_PERMISSION_REQUEST
public static final PacketIdServer[] VALUES
public static PacketIdServer[] values()
for (PacketIdServer c : PacketIdServer.values()) System.out.println(c);
public static PacketIdServer 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 null