CommandAPI 9.5.2
An API for the command UI introduced in Minecraft 1.13
|
An argument that represents multiple LiteralArguments. More...
Classes | |
enum | MyEnum |
interface | Nameable |
Public Member Functions | |
EnumArgument (String nodeName, T[] values) | |
EnumArgument (String nodeName, String... literals) | |
A multiliteral argument. More... | |
EnumArgument (final String[] literals) | |
A multiliteral argument. More... | |
EnumArgument (String nodeName, final List< String > literals) | |
A multiliteral argument. More... | |
Class< String > | getPrimitiveType () |
String[] | getLiterals () |
Returns the literals that are present in this argument. More... | |
CommandAPIArgumentType | getArgumentType () |
Argument< T > | instance () |
Returns the instance of this class with the class Impl. More... | |
An argument that represents multiple LiteralArguments.
dev.jorel.commandapi.arguments.EnumArgument< T extends Enum >.EnumArgument | ( | 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 |
dev.jorel.commandapi.arguments.EnumArgument< T extends Enum >.EnumArgument | ( | final String[] | literals | ) |
A multiliteral argument.
Takes in string literals which cannot be modified
literals | the literals that this argument represents |
dev.jorel.commandapi.arguments.EnumArgument< T extends Enum >.EnumArgument | ( | String | nodeName, |
final List< 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 |
CommandAPIArgumentType dev.jorel.commandapi.arguments.EnumArgument< T extends Enum >.getArgumentType | ( | ) |
Reimplemented from dev.jorel.commandapi.arguments.MultiLiteralArgument.
String[] dev.jorel.commandapi.arguments.EnumArgument< T extends Enum >.getLiterals | ( | ) |
Returns the literals that are present in this argument.
Reimplemented from dev.jorel.commandapi.arguments.MultiLiteralArgument.
Class< String > dev.jorel.commandapi.arguments.EnumArgument< T extends Enum >.getPrimitiveType | ( | ) |
Reimplemented from dev.jorel.commandapi.arguments.MultiLiteralArgument.
|
inherited |
Returns the instance of this class with the class Impl.
Used for chaining builder methods.