|
CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
Represents a CommandNode that was parsed from the input.
More...
Public Member Functions | |
| ParsedCommandNode (CommandNode< S > node, StringRange range) | |
| Creates a new ParsedCommandNode for the given node within the given string range. More... | |
| CommandNode< S > | getNode () |
| Returns the node that was parsed. More... | |
| StringRange | getRange () |
| Returns the range this command node spans in the input string. More... | |
| String | toString () |
| boolean | equals (Object o) |
| int | hashCode () |
Represents a CommandNode that was parsed from the input.
| <S> | the type of the command source |
| com.mojang.brigadier.context.ParsedCommandNode< S >.ParsedCommandNode | ( | CommandNode< S > | node, |
| StringRange | range | ||
| ) |
Creates a new ParsedCommandNode for the given node within the given string range.
| node | the node that was parsed |
| range | the string range in the input it was parsed from |
| CommandNode< S > com.mojang.brigadier.context.ParsedCommandNode< S >.getNode | ( | ) |
Returns the node that was parsed.
| StringRange com.mojang.brigadier.context.ParsedCommandNode< S >.getRange | ( | ) |
Returns the range this command node spans in the input string.