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