public interface TabCompleter
Represents a class which can suggest tab completions for commands.
onTabComplete@Nullable @Nullable List<String> onTabComplete(@NotNull @NotNull CommandSender sender, @NotNull @NotNull Command command, @NotNull @NotNull String alias, @NotNull @NotNull String args)Requests a list of possible completions for a command argument.
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 executed
alias- The alias used
args- The arguments passed to the command, including final partial argument to be completed and command label
- A List of possible completions for the final argument, or null to default to the command executor