CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
Public Member Functions | |
Impl | replaceSuggestions (ArgumentSuggestions< CommandSender > suggestions) |
Impl | includeSuggestions (ArgumentSuggestions< CommandSender > suggestions) |
Function< S, String > | getMapper () |
default Impl | replaceSafeSuggestions (SafeSuggestions< S, CommandSender > suggestions) |
Replaces the suggestions with a safe SafeSuggestions object. More... | |
default Impl | includeSafeSuggestions (SafeSuggestions< S, CommandSender > suggestions) |
Includes the suggestions provided with the existing suggestions for this argument. More... | |
Impl | instance () |
Returns the instance of this class with the class Impl. More... | |
default Impl dev.jorel.commandapi.arguments.SafeOverrideable< T, S, Impl, Argument, CommandSender >.includeSafeSuggestions | ( | SafeSuggestions< S, CommandSender > | suggestions | ) |
Includes the suggestions provided with the existing suggestions for this argument.
Use the static methods in SafeSuggestions
to create safe suggestions.
suggestions | The safe suggestions to use |
|
inherited |
Returns the instance of this class with the class Impl.
Used for chaining builder methods.
Implemented in dev.jorel.commandapi.arguments.Argument< T >.
default Impl dev.jorel.commandapi.arguments.SafeOverrideable< T, S, Impl, Argument, CommandSender >.replaceSafeSuggestions | ( | SafeSuggestions< S, CommandSender > | suggestions | ) |
Replaces the suggestions with a safe SafeSuggestions
object.
Use the static methods in SafeSuggestions
to create safe suggestions.
suggestions | The safe suggestions to use |