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(Function<SuggestionInfo, T[]> suggestions) Suggest values as the result of a functionstatic <T> SafeSuggestions<T>SafeSuggestions.suggest(T... suggestions) Hardcode values to suggeststatic <T> SafeSuggestions<T>SafeSuggestions.suggestAsync(Function<SuggestionInfo, CompletableFuture<T[]>> suggestions) Suggest values provided asynchronouslystatic <T> SafeSuggestions<T>Suggest hardcoded values with tooltipsstatic <T> SafeSuggestions<T>SafeSuggestions.tooltips(Function<SuggestionInfo, Tooltip<T>[]> suggestions) Suggest values with tooltips as the result of a functionstatic <T> SafeSuggestions<T>SafeSuggestions.tooltipsAsync(Function<SuggestionInfo, CompletableFuture<Tooltip<T>[]>> suggestions) Suggest 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.