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