public interface TabCompleter
Modifier and Type | Method and Description |
---|---|
List<String> |
onTabComplete(CommandSender sender,
Command command,
String alias,
String[] args)
Requests a list of possible completions for a command argument.
|
List<String> onTabComplete(CommandSender sender, Command command, String alias, String[] args)
sender
- Source of the command. For players tab-completing a
command inside of a command block, this will be the player, not
the command block.command
- Command which was executedalias
- The alias usedargs
- The arguments passed to the command, including final
partial argument to be completed and command labelCopyright © 2021. All rights reserved.