Class TabCompleter
java.lang.Object
me.lucko.luckperms.common.command.tabcomplete.TabCompleter
Utility for computing tab completion results
-
Method Summary
Modifier and TypeMethodDescriptionat(int position, CompletionSupplier supplier) Marks that the given completion supplier should be used to compute tab completions at the given index.static TabCompletercreate()from(int position, CompletionSupplier supplier) Marks that the given completion supplier should be used to compute tab completions at the given index and at all subsequent indexes infinitely.
-
Method Details
-
create
-
at
Marks that the given completion supplier should be used to compute tab completions at the given index.- Parameters:
position- the positionsupplier- the supplier- Returns:
- this
-
from
Marks that the given completion supplier should be used to compute tab completions at the given index and at all subsequent indexes infinitely.- Parameters:
position- the positionsupplier- the supplier- Returns:
- this
-
complete
-