public static enum NPCRequestPacket.RequestType extends Enum<NPCRequestPacket.RequestType>
| Enum Constant and Description |
|---|
EXECUTE_ACTION |
EXECUTE_CLOSING_COMMANDS |
EXECUTE_OPENING_COMMANDS |
SET_ACTIONS |
SET_INTERACTION_TEXT |
SET_NAME |
SET_SKIN |
| Modifier and Type | Method and Description |
|---|---|
static NPCRequestPacket.RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NPCRequestPacket.RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NPCRequestPacket.RequestType SET_ACTIONS
public static final NPCRequestPacket.RequestType EXECUTE_ACTION
public static final NPCRequestPacket.RequestType EXECUTE_CLOSING_COMMANDS
public static final NPCRequestPacket.RequestType SET_NAME
public static final NPCRequestPacket.RequestType SET_SKIN
public static final NPCRequestPacket.RequestType SET_INTERACTION_TEXT
public static final NPCRequestPacket.RequestType EXECUTE_OPENING_COMMANDS
public static NPCRequestPacket.RequestType[] values()
for (NPCRequestPacket.RequestType c : NPCRequestPacket.RequestType.values()) System.out.println(c);
public static NPCRequestPacket.RequestType 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 nullCopyright © 2022. All rights reserved.