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> SafeSuggestions<T>SafeSuggestions.empty()Create an empty SafeSuggestions object.static <T> SafeSuggestions<T>SafeSuggestions.suggest(Collection<T> suggestions) Hardcode a collection of values to suggeststatic <T> SafeSuggestions<T>SafeSuggestions.suggest(Function<SuggestionInfo, T[]> suggestions) Suggest an array of values as the result of a functionstatic <T> SafeSuggestions<T>SafeSuggestions.suggest(T... suggestions) Hardcode an array of values to suggeststatic <T> SafeSuggestions<T>SafeSuggestions.suggestAsync(Function<SuggestionInfo, CompletableFuture<T[]>> suggestions) Suggest an array of values provided asynchronouslystatic <T> SafeSuggestions<T>SafeSuggestions.suggestCollection(Function<SuggestionInfo, Collection<T>> suggestions) Suggest a collection of values as the result of a functionstatic <T> SafeSuggestions<T>SafeSuggestions.suggestCollectionAsync(Function<SuggestionInfo, CompletableFuture<Collection<T>>> suggestions) Suggest a collection of values provided asynchronouslystatic <T> SafeSuggestions<T>SafeSuggestions.tooltipCollection(Function<SuggestionInfo, Collection<Tooltip<T>>> suggestions) Suggest a collection of values with tooltips as the result of a functionstatic <T> SafeSuggestions<T>SafeSuggestions.tooltipCollectionAsync(Function<SuggestionInfo, CompletableFuture<Collection<Tooltip<T>>>> suggestions) Suggest a collection of values with tooltips asynchronouslystatic <T> SafeSuggestions<T>Suggest an array of hardcoded values with tooltipsstatic <T> SafeSuggestions<T>SafeSuggestions.tooltips(Collection<Tooltip<T>> suggestions) Suggest a collection of hardcoded values with tooltipsstatic <T> SafeSuggestions<T>SafeSuggestions.tooltips(Function<SuggestionInfo, Tooltip<T>[]> suggestions) Suggest an array of values with tooltips as the result of a functionstatic <T> SafeSuggestions<T>SafeSuggestions.tooltipsAsync(Function<SuggestionInfo, CompletableFuture<Tooltip<T>[]>> suggestions) Suggest an array of values with tooltips asynchronouslyMethods in dev.jorel.commandapi.arguments with parameters of type SafeSuggestionsModifier and TypeMethodDescriptionSafeOverrideableArgument.includeSafeSuggestions(SafeSuggestions<S> suggestions) Includes the suggestions provided with the existing suggestions for this argument.SafeOverrideableArgument.replaceSafeSuggestions(SafeSuggestions<S> suggestions) Replaces the suggestions with a safeSafeSuggestionsobject.