|
CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
Represents an argument that was parsed from the input. More...
Public Member Functions | |
| ParsedArgument (final int start, final int end, final T result) | |
| Creates a new ParsedArgument for a given string range with a given value. More... | |
| StringRange | getRange () |
| Returns the range this argument spans in the input string. More... | |
| T | getResult () |
| Returns the value of the argument. More... | |
| boolean | equals (final Object o) |
| int | hashCode () |
Represents an argument that was parsed from the input.
| <S> | the type of the command source |
| <T> | the type of the argument |
| com.mojang.brigadier.context.ParsedArgument< S, T >.ParsedArgument | ( | final int | start, |
| final int | end, | ||
| final T | result | ||
| ) |
Creates a new ParsedArgument for a given string range with a given value.
| start | the start of this argument in the input |
| end | the end of this argument in the input |
| result | the value of this argument |
| StringRange com.mojang.brigadier.context.ParsedArgument< S, T >.getRange | ( | ) |
Returns the range this argument spans in the input string.
| T com.mojang.brigadier.context.ParsedArgument< S, T >.getResult | ( | ) |
Returns the value of the argument.