Uses of Record Class
dev.jorel.commandapi.arguments.parser.Result
Packages that use Result
-
Uses of Result in dev.jorel.commandapi.arguments.parser
Methods in dev.jorel.commandapi.arguments.parser that return ResultModifier and TypeMethodDescription<R> Result<R> Result.continueWith(Function<T, Result<R>> success) This method works the same ascontinueWith(Function, Function), but thefailureFunctionis given asResult::withException.<R> Result<R> Result.continueWith(Function<T, Result<R>> success, Function<com.mojang.brigadier.exceptions.CommandSyntaxException, Result<R>> failure) Parser.getResult(com.mojang.brigadier.StringReader reader) Parses the given input.ParserArgument.getResult(com.mojang.brigadier.StringReader reader) ParserArgument.WithSuggestions.getResult(com.mojang.brigadier.StringReader reader) default Result<Result.Void> ParserLiteral.getResult(com.mojang.brigadier.StringReader reader) ParserLiteral.WithSuggestions.getResult(com.mojang.brigadier.StringReader reader) static <T> Result<T> Result.withException(@NotNull com.mojang.brigadier.exceptions.CommandSyntaxException exception) 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.withValue(T value) static <T> Result<T> Result.withValueAndSuggestions(T value, int suggestionsStart, SuggestionProvider suggestions) static Result<Result.Void> Result.withVoidValue()static Result<Result.Void> Result.withVoidValueAndSuggestions(int suggestionsStart, SuggestionProvider suggestions) Methods in dev.jorel.commandapi.arguments.parser that return types with arguments of type ResultModifier and TypeMethodDescriptionResult.wrapFunctionResult(Result.ThrowableFunction<T, R> original) Method parameters in dev.jorel.commandapi.arguments.parser with type arguments of type ResultModifier and TypeMethodDescription<R> Result<R> Result.continueWith(Function<T, Result<R>> success) This method works the same ascontinueWith(Function, Function), but thefailureFunctionis given asResult::withException.<R> Result<R>