T
- the type of the resultpublic interface ArgumentConverter<T> extends Converter<T>, SuggestionProvider
Modifier and Type | Method and Description |
---|---|
net.kyori.text.Component |
describeAcceptableArguments()
Describe the arguments that can be provided to this converter.
|
default java.util.List<java.lang.String> |
getSuggestions(java.lang.String input,
InjectedValueAccess context)
Given
input as the current input, provide some suggestions for the user. |
net.kyori.text.Component describeAcceptableArguments()
This information is displayed to the user.
default java.util.List<java.lang.String> getSuggestions(java.lang.String input, InjectedValueAccess context)
SuggestionProvider
input
as the current input, provide some suggestions for the user.getSuggestions
in interface SuggestionProvider
input
- the user's current inputcontext
- the context for the current command