public enum CommandParamType extends Enum<CommandParamType>
| Enum Constant and Description |
|---|
BLOCK_POSITION |
COMMAND |
FILE_PATH |
FLOAT |
INT |
INT_RANGE |
JSON |
MESSAGE |
OPERATOR |
POSITION |
STRING |
TARGET |
TEXT |
VALUE |
WILDCARD_INT |
WILDCARD_TARGET |
| Modifier and Type | Method and Description |
|---|---|
static CommandParamType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandParamType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandParamType INT
public static final CommandParamType FLOAT
public static final CommandParamType VALUE
public static final CommandParamType WILDCARD_INT
public static final CommandParamType OPERATOR
public static final CommandParamType TARGET
public static final CommandParamType WILDCARD_TARGET
public static final CommandParamType FILE_PATH
public static final CommandParamType INT_RANGE
public static final CommandParamType STRING
public static final CommandParamType POSITION
public static final CommandParamType BLOCK_POSITION
public static final CommandParamType MESSAGE
public static final CommandParamType TEXT
public static final CommandParamType JSON
public static final CommandParamType COMMAND
public static CommandParamType[] values()
for (CommandParamType c : CommandParamType.values()) System.out.println(c);
public static CommandParamType 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.