Package net.orbyfied.j8.command.impl
Class SystemParameterType
java.lang.Object
net.orbyfied.j8.command.impl.SystemParameterType
Standard, 'system' parameter types that
can be applied to Java and common values
as a whole. This includes things like
integers, floats, strings, vectors, etc.
Also contains methods for creating variable
type lists and maps.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classClass for safely resolving system types. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ParameterType<Boolean>static final ParameterType<Byte>static final ParameterType<Character>static final ParameterType<Class>static final ParameterType<Double>static final ParameterType<Path>PathParses a path from a string.static final ParameterType<Float>static final ParameterType<net.orbyfied.j8.registry.Identifier>IdentifierUtilizesSTRINGfor parsing the initial text.static final ParameterType<Integer>static final Stringstatic final GenericParameterType<List>A list of any other parameter type (generic).static final ParameterType<Long>static final ParameterType<Short>static final ParameterType<String>StringEither parses the string until it is met with a space, or if the string starts with a", it parses until the end of the string.static final ParameterType<ParameterType>static final ParameterType<TypeIdentifier>static final SystemParameterType.SystemTypeResolverThe singleton type resolver.static final ParameterType<UUID>static final ParameterType<org.bukkit.util.Vector> -
Method Summary
-
Field Details
-
typeResolver
The singleton type resolver. -
KEY_PROVIDER_OPTION
- See Also:
-
BOOLEAN
-
BYTE
-
SHORT
-
INT
-
LONG
-
FLOAT
-
DOUBLE
-
STRING
StringEither parses the string until it is met with a space, or if the string starts with a", it parses until the end of the string. (the closing quote) -
CHAR
-
IDENTIFIER
IdentifierUtilizesSTRINGfor parsing the initial text. -
FILE_PATH
PathParses a path from a string. UtilizesSTRINGfor reading actual data and then parses it usingPath.of(String, String...) -
LIST
A list of any other parameter type (generic). Notation:[elem1, elem2, ...] -
VECTOR_3F
-
TYPE_IDENTIFIER
-
TYPE
-
UUID
-
CLASS
-