Package org.spongepowered.api.command
Interface CommandCompletion.Factory
- Enclosing interface:
- CommandCompletion
public static interface CommandCompletion.Factory
A factory for constructing
CommandCompletion
s-
Method Summary
Modifier and TypeMethodDescriptioncompletion
(String completion, @Nullable Component tooltip) Creates aCommandCompletion
-
Method Details
-
completion
Creates aCommandCompletion
- Parameters:
completion
- The completiontooltip
- TheComponent
to display, if any- Returns:
- A
CommandCompletion
-