Package org.spongepowered.api.command
Interface CommandCompletion.Factory
-
- Enclosing interface:
- CommandCompletion
public static interface CommandCompletion.Factory
A factory for constructingCommandCompletion
s
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CommandCompletion
completion(String completion, @Nullable Component tooltip)
Creates aCommandCompletion
-
-
-
Method Detail
-
completion
CommandCompletion completion(String completion, @Nullable Component tooltip)
Creates aCommandCompletion
- Parameters:
completion
- The completiontooltip
- TheComponent
to display, if any- Returns:
- A
CommandCompletion
-
-