Package dev.jorel.commandapi.arguments
Interface SafeOverrideable<T,S,Impl extends AbstractArgument<T,Impl,Argument,CommandSender>,Argument extends AbstractArgument<?,?,Argument,CommandSender>,CommandSender>
- All Superinterfaces:
ChainableBuilder<Impl>
public interface SafeOverrideable<T,S,Impl extends AbstractArgument<T,Impl,Argument,CommandSender>,Argument extends AbstractArgument<?,?,Argument,CommandSender>,CommandSender>
extends ChainableBuilder<Impl>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ImplincludeSafeSuggestions(SafeSuggestions<S, CommandSender> suggestions) Includes the suggestions provided with the existing suggestions for this argument.includeSuggestions(ArgumentSuggestions<CommandSender> suggestions) default ImplreplaceSafeSuggestions(SafeSuggestions<S, CommandSender> suggestions) Replaces the suggestions with a safeSafeSuggestionsobject.replaceSuggestions(ArgumentSuggestions<CommandSender> suggestions) Methods inherited from interface dev.jorel.commandapi.ChainableBuilder
instance
-
Method Details
-
replaceSuggestions
-
includeSuggestions
-
getMapper
-
replaceSafeSuggestions
Replaces the suggestions with a safeSafeSuggestionsobject. Use the static methods inSafeSuggestionsto create safe suggestions.- Parameters:
suggestions- The safe suggestions to use- Returns:
- the current argument
-
includeSafeSuggestions
Includes the suggestions provided with the existing suggestions for this argument. Use the static methods inSafeSuggestionsto create safe suggestions.- Parameters:
suggestions- The safe suggestions to use- Returns:
- the current argument
-