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