|
CommandAPI 12.1.0
An API for the command UI introduced in Minecraft 1.13
|
An argument that represents multiple LiteralArguments. More...
Public Member Functions | |
| MultiLiteralArgument (String nodeName, String... literals) | |
| A multiliteral argument. | |
| Class< String > | getPrimitiveType () |
| String[] | getLiterals () |
| Returns the literals that are present in this argument. | |
| CommandAPIArgumentType | getArgumentType () |
| Argument< T > | instance () |
| Returns the instance of this class with the class Impl. | |
| Impl | instance () |
| Returns the instance of this class with the class Impl. | |
An argument that represents multiple LiteralArguments.
| dev.jorel.commandapi.arguments.MultiLiteralArgument.MultiLiteralArgument | ( | String | nodeName, |
| String... | literals ) |
A multiliteral argument.
Takes in string literals which cannot be modified
| nodeName | the node name for this argument |
| literals | the literals that this argument represents |
| String[] dev.jorel.commandapi.arguments.MultiLiteralArgument.getLiterals | ( | ) |
Returns the literals that are present in this argument.
|
inherited |
Returns the instance of this class with the class Impl.
Used for chaining builder methods.
|
inherited |
Returns the instance of this class with the class Impl.
Used for chaining builder methods.