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