public class CommandParam
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static CommandParam |
BLOCK_POSITION |
static CommandParam |
COMMAND |
static CommandParam |
FILE_PATH |
static CommandParam |
FLOAT |
static CommandParam |
INT |
static CommandParam |
INT_RANGE |
static CommandParam |
JSON |
static CommandParam |
MESSAGE |
static CommandParam |
OPERATOR |
static CommandParam |
POSITION |
static CommandParam |
STRING |
static CommandParam |
TARGET |
static CommandParam |
TEXT |
static CommandParam |
VALUE |
static CommandParam |
WILDCARD_INT |
static CommandParam |
WILDCARD_TARGET |
| Constructor and Description |
|---|
CommandParam(CommandParamType paramType) |
CommandParam(CommandParamType paramType,
int defaultValue) |
CommandParam(int defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultValue() |
CommandParamType |
getParamType() |
int |
getValue(org.cloudburstmc.protocol.common.util.TypeMap<CommandParam> typeMap) |
java.lang.String |
toString() |
public static final CommandParam INT
public static final CommandParam FLOAT
public static final CommandParam VALUE
public static final CommandParam WILDCARD_INT
public static final CommandParam OPERATOR
public static final CommandParam TARGET
public static final CommandParam WILDCARD_TARGET
public static final CommandParam FILE_PATH
public static final CommandParam INT_RANGE
public static final CommandParam STRING
public static final CommandParam POSITION
public static final CommandParam BLOCK_POSITION
public static final CommandParam MESSAGE
public static final CommandParam TEXT
public static final CommandParam JSON
public static final CommandParam COMMAND
public CommandParam(CommandParamType paramType)
public CommandParam(int defaultValue)
public CommandParam(CommandParamType paramType, int defaultValue)
public int getValue(org.cloudburstmc.protocol.common.util.TypeMap<CommandParam> typeMap)
public java.lang.String toString()
toString in class java.lang.Objectpublic CommandParamType getParamType()
public int getDefaultValue()