public static enum C02PacketUseEntity.Action extends java.lang.Enum<C02PacketUseEntity.Action>
Modifier and Type | Method and Description |
---|---|
static C02PacketUseEntity.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static C02PacketUseEntity.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final C02PacketUseEntity.Action INTERACT
public static final C02PacketUseEntity.Action ATTACK
public static C02PacketUseEntity.Action[] values()
for (C02PacketUseEntity.Action c : C02PacketUseEntity.Action.values()) System.out.println(c);
public static C02PacketUseEntity.Action 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