Uses of Interface
dev.jorel.commandapi.arguments.SafeSuggestions
Packages that use SafeSuggestions
-
Uses of SafeSuggestions in dev.jorel.commandapi.arguments
Methods in dev.jorel.commandapi.arguments that return SafeSuggestionsModifier and TypeMethodDescriptionstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.empty()Create an empty SafeSuggestions object.static <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.suggest(Collection<T> suggestions) Hardcode a collection of values to suggeststatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.suggest(Function<SuggestionInfo<CommandSender>, T[]> suggestions) Suggest an array of values as the result of a functionstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.suggest(T... suggestions) Hardcode an array of values to suggeststatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.suggestAsync(Function<SuggestionInfo<CommandSender>, CompletableFuture<T[]>> suggestions) Suggest an array of values provided asynchronouslystatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.suggestCollection(Function<SuggestionInfo<CommandSender>, Collection<T>> suggestions) Suggest a collection of values as the result of a functionstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.suggestCollectionAsync(Function<SuggestionInfo<CommandSender>, CompletableFuture<Collection<T>>> suggestions) Suggest a collection of values provided asynchronouslystatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.tooltipCollection(Function<SuggestionInfo<CommandSender>, Collection<Tooltip<T>>> suggestions) Suggest a collection of values with tooltips as the result of a functionstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.tooltipCollectionAsync(Function<SuggestionInfo<CommandSender>, CompletableFuture<Collection<Tooltip<T>>>> suggestions) Suggest a collection of values with tooltips asynchronouslystatic <T,CommandSender>
SafeSuggestions<T, CommandSender> Suggest an array of hardcoded values with tooltipsstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.tooltips(Collection<Tooltip<T>> suggestions) Suggest a collection of hardcoded values with tooltipsstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.tooltips(Function<SuggestionInfo<CommandSender>, Tooltip<T>[]> suggestions) Suggest an array of values with tooltips as the result of a functionstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> SafeSuggestions.tooltipsAsync(Function<SuggestionInfo<CommandSender>, CompletableFuture<Tooltip<T>[]>> suggestions) Suggest an array of values with tooltips asynchronouslyMethods in dev.jorel.commandapi.arguments with parameters of type SafeSuggestionsModifier and TypeMethodDescriptiondefault ImplSafeOverrideable.includeSafeSuggestions(SafeSuggestions<S, CommandSender> suggestions) Includes the suggestions provided with the existing suggestions for this argument.default ImplSafeOverrideable.replaceSafeSuggestions(SafeSuggestions<S, CommandSender> suggestions) Replaces the suggestions with a safeSafeSuggestionsobject.