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