Uses of Class
dev.jorel.commandapi.Tooltip
Packages that use Tooltip
Package
Description
Classes to be used as arguments for commands
-
Uses of Tooltip in dev.jorel.commandapi
Methods in dev.jorel.commandapi that return TooltipModifier and TypeMethodDescriptionstatic <S> Tooltip<S>[]Constructs aTooltip<S>[] from an array ofTooltip<S>via varargs.static <S> Tooltip<S> Tooltip.none(S object) Constructs aTooltip<S>with a suggestion and no tooltipstatic <S> Tooltip<S> Tooltip.ofMessage(S object, com.mojang.brigadier.Message tooltip) Constructs aTooltip<S>with a suggestion and a tooltipstatic <S> Tooltip<S> Constructs aTooltip<S>with a suggestion and a tooltipMethods in dev.jorel.commandapi that return types with arguments of type TooltipModifier and TypeMethodDescriptionstatic <S> Function<Tooltip<S>, StringTooltip> Constructs a function that maps the currentTooltip<S>into a StringTooltip, using a standard mapping function which is defined for a given argument.protected static <S,T> Collection <Tooltip<S>> Tooltip.generate(Function<S, T> tooltipGenerator, BiFunction<S, T, Tooltip<S>> tooltipWrapper, Collection<S> suggestions) Internal base method for the other generation types, for processing collectionsprotected static <S,T> Collection <Tooltip<S>> Tooltip.generate(Function<S, T> tooltipGenerator, BiFunction<S, T, Tooltip<S>> tooltipWrapper, S... suggestions) Internal base method for the other generation types, for processing arraysstatic <S> Collection<Tooltip<S>> Tooltip.generateMessages(Function<S, com.mojang.brigadier.Message> tooltipGenerator, Collection<S> suggestions) static <S> Collection<Tooltip<S>> Tooltip.generateMessages(Function<S, com.mojang.brigadier.Message> tooltipGenerator, S... suggestions) static <S> Collection<Tooltip<S>> Tooltip.generateStrings(Function<S, String> tooltipGenerator, Collection<S> suggestions) static <S> Collection<Tooltip<S>> Tooltip.generateStrings(Function<S, String> tooltipGenerator, S... suggestions) static <S> Collection<Tooltip<S>> Tooltip.none(Collection<S> suggestions) static <S> Collection<Tooltip<S>> Tooltip.none(S... suggestions) Methods in dev.jorel.commandapi with parameters of type TooltipModifier and TypeMethodDescriptionstatic <S> Tooltip<S>[]Constructs aTooltip<S>[] from an array ofTooltip<S>via varargs.Method parameters in dev.jorel.commandapi with type arguments of type TooltipModifier and TypeMethodDescriptionprotected static <S,T> Collection <Tooltip<S>> Tooltip.generate(Function<S, T> tooltipGenerator, BiFunction<S, T, Tooltip<S>> tooltipWrapper, Collection<S> suggestions) Internal base method for the other generation types, for processing collectionsprotected static <S,T> Collection <Tooltip<S>> Tooltip.generate(Function<S, T> tooltipGenerator, BiFunction<S, T, Tooltip<S>> tooltipWrapper, S... suggestions) Internal base method for the other generation types, for processing arrays -
Uses of Tooltip in dev.jorel.commandapi.arguments
Methods in dev.jorel.commandapi.arguments with parameters of type TooltipModifier and TypeMethodDescriptionstatic <T,CommandSender>
SafeSuggestions<T, CommandSender> Suggest an array of hardcoded values with tooltipsMethod parameters in dev.jorel.commandapi.arguments with type arguments of type TooltipModifier and TypeMethodDescriptionstatic <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> SafeSuggestions.tooltips(Collection<Tooltip<T>> suggestions) Suggest a collection of hardcoded values with tooltips