Uses of Interface
dev.jorel.commandapi.arguments.parser.SuggestionProvider
Packages that use SuggestionProvider
-
Uses of SuggestionProvider in dev.jorel.commandapi.arguments.parser
Methods in dev.jorel.commandapi.arguments.parser that return SuggestionProviderModifier and TypeMethodDescriptionParserArgument.WithSuggestions.suggestions()Returns the value of thesuggestionsrecord component.ParserLiteral.WithSuggestions.suggestions()Returns the value of thesuggestionsrecord component.Result.suggestions()Returns the value of thesuggestionsrecord component.Methods in dev.jorel.commandapi.arguments.parser with parameters of type SuggestionProviderModifier and TypeMethodDescriptiondefault ParserArgument.WithSuggestions<T> ParserArgument.suggests(SuggestionProvider suggestions) Adds suggestions to theResultof thisParserArgument.ParserArgument.WithSuggestions.suggests(SuggestionProvider suggestions) default ParserLiteral.WithSuggestionsParserLiteral.suggests(SuggestionProvider suggestions) Adds suggestions to theResultof thisParserLiteral.ParserLiteral.WithSuggestions.suggests(SuggestionProvider suggestions) static <T> Result<T> Result.withExceptionAndSuggestions(@NotNull com.mojang.brigadier.exceptions.CommandSyntaxException exception, int suggestionsStart, SuggestionProvider suggestions) Result.withSuggestions(int suggestionsStart, SuggestionProvider suggestions) Keeps the same value or exception but overrides any suggestions information.static <T> Result<T> Result.withValueAndSuggestions(T value, int suggestionsStart, SuggestionProvider suggestions) static Result<Result.Void> Result.withVoidValueAndSuggestions(int suggestionsStart, SuggestionProvider suggestions) Constructors in dev.jorel.commandapi.arguments.parser with parameters of type SuggestionProviderModifierConstructorDescriptionResult(T value, com.mojang.brigadier.exceptions.CommandSyntaxException exception, int suggestionsStart, SuggestionProvider suggestions) Creates an instance of aResultrecord class.WithSuggestions(ParserArgument<T> base, SuggestionProvider suggestions) Creates an instance of aWithSuggestionsrecord class.WithSuggestions(ParserLiteral base, SuggestionProvider suggestions) Creates an instance of aWithSuggestionsrecord class.