Interface TabCompleter
- All Known Implementing Classes:
MaterialsCompleter,MethodInvocationCompleter,OnlinePlayersCompleter,StaticSuggestionsCompleter,WorldsCompleter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Strategy interface for providing tab completion suggestions.
Implementations can provide different types of suggestions based on context.
- Since:
- 6.2.0
- Version:
- 1.0.0
- Author:
- wisdomme
-
Method Summary
Modifier and TypeMethodDescriptioncomplete(TabCompletionContext context) Generates completion suggestions based on the given context.
-
Method Details
-
complete
Generates completion suggestions based on the given context.- Parameters:
context- the tab completion context containing command state- Returns:
- list of suggestions, never null
-