CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
Consolidates the results of parsing a command in an object. More...
Public Member Functions | |
ParseResults (final CommandContextBuilder< S > context, final ImmutableStringReader reader, final Map< CommandNode< S >, CommandSyntaxException > exceptions) | |
ParseResults (final CommandContextBuilder< S > context) | |
CommandContextBuilder< S > | getContext () |
The CommandContext that was created. More... | |
ImmutableStringReader | getReader () |
An immutable version of the string reader that was used to read the input. More... | |
Map< CommandNode< S >, CommandSyntaxException > | getExceptions () |
Returns all exceptions that occurred while parsing together with the node that caused them. More... | |
Consolidates the results of parsing a command in an object.
<S> | the type of the command source |
CommandContextBuilder< S > com.mojang.brigadier.ParseResults< S >.getContext | ( | ) |
The CommandContext
that was created.
Map< CommandNode< S >, CommandSyntaxException > com.mojang.brigadier.ParseResults< S >.getExceptions | ( | ) |
Returns all exceptions that occurred while parsing together with the node that caused them.
ImmutableStringReader com.mojang.brigadier.ParseResults< S >.getReader | ( | ) |
An immutable version of the string reader that was used to read the input.