public enum CommandOriginType extends Enum<CommandOriginType>
| Enum Constant and Description |
|---|
AUTOMATION_PLAYER |
BLOCK |
CLIENT_AUTOMATION |
DEDICATED_SERVER |
DEV_CONSOLE |
ENTITY |
ENTITY_SERVER |
GAME_ARGUMENT |
GAME_DIRECTOR_ENTITY_SERVER |
MINECART_BLOCK |
PLAYER |
PRECOMPILED |
SCRIPT |
TEST |
VIRTUAL |
| Modifier and Type | Method and Description |
|---|---|
static CommandOriginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandOriginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandOriginType PLAYER
public static final CommandOriginType BLOCK
public static final CommandOriginType MINECART_BLOCK
public static final CommandOriginType DEV_CONSOLE
public static final CommandOriginType TEST
public static final CommandOriginType AUTOMATION_PLAYER
public static final CommandOriginType CLIENT_AUTOMATION
public static final CommandOriginType DEDICATED_SERVER
public static final CommandOriginType ENTITY
public static final CommandOriginType VIRTUAL
public static final CommandOriginType GAME_ARGUMENT
public static final CommandOriginType ENTITY_SERVER
public static final CommandOriginType PRECOMPILED
public static final CommandOriginType GAME_DIRECTOR_ENTITY_SERVER
public static final CommandOriginType SCRIPT
public static CommandOriginType[] values()
for (CommandOriginType c : CommandOriginType.values()) System.out.println(c);
public static CommandOriginType 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.