Interface CommandSuggestionProcessor<C>

Type Parameters:
C - Command sender type
All Superinterfaces:
BiFunction<@NonNull CommandPreprocessingContext<C>,@NonNull List<String>,@NonNull List<String>>
All Known Implementing Classes:
FilteringCommandSuggestionProcessor

@API(status=STABLE) public interface CommandSuggestionProcessor<C> extends BiFunction<@NonNull CommandPreprocessingContext<C>,@NonNull List<String>,@NonNull List<String>>
Processor that formats command suggestions
  • Method Details

    • passThrough

      @API(status=STABLE, since="1.8.0") static <C> @NonNull CommandSuggestionProcessor<C> passThrough()
      Create a pass through CommandSuggestionProcessor that simply returns the input.
      Type Parameters:
      C - sender type
      Returns:
      new processor
      Since:
      1.8.0