|
CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
A builder to create a MapArgument.
More...
Classes | |
| class | MapArgumentBuilderValueMapper |
An intermediary class for the MapArgumentBuilder. More... | |
Public Member Functions | |
| MapArgumentBuilder (String nodeName) | |
| Creates a new MapArgumentBuilder with a specified node name. More... | |
| MapArgumentBuilder (String nodeName, char delimiter) | |
| Creates a new MapArgumentBuilder with a specified node name. More... | |
| MapArgumentBuilder (String nodeName, char delimiter, String separator) | |
| Creates a new MapArgumentBuilder with a specified node name. More... | |
| MapArgumentBuilderValueMapper | withKeyMapper (StringParser< K > keyMapper) |
This starts the builder for the MapArgument. More... | |
A builder to create a MapArgument.
| <K> | The type of keys this map should contain |
| <V> | The type of values this map should contain |
| dev.jorel.commandapi.arguments.MapArgumentBuilder< K, V >.MapArgumentBuilder | ( | String | nodeName | ) |
Creates a new MapArgumentBuilder with a specified node name.
Defaults the delimiter for each key/value pair to a colon
| nodeName | the name of the node for this argument |
| dev.jorel.commandapi.arguments.MapArgumentBuilder< K, V >.MapArgumentBuilder | ( | String | nodeName, |
| char | delimiter | ||
| ) |
Creates a new MapArgumentBuilder with a specified node name.
| nodeName | the name of the node for this argument |
| delimiter | the separator for each key/value pair |
| dev.jorel.commandapi.arguments.MapArgumentBuilder< K, V >.MapArgumentBuilder | ( | String | nodeName, |
| char | delimiter, | ||
| String | separator | ||
| ) |
Creates a new MapArgumentBuilder with a specified node name.
| nodeName | the name of the node for this argument |
| delimiter | the separator for each key/value pair |
| separator | the separator between a key and a value |
| MapArgumentBuilderValueMapper dev.jorel.commandapi.arguments.MapArgumentBuilder< K, V >.withKeyMapper | ( | StringParser< K > | keyMapper | ) |
This starts the builder for the MapArgument.