Uses of Class
dev.jorel.commandapi.arguments.AbstractArgument
Packages that use AbstractArgument
Package
Description
Classes to be used as arguments for commands
Classes which are the exceptions raised during the execution of the Command API
-
Uses of AbstractArgument in dev.jorel.commandapi
Classes in dev.jorel.commandapi with type parameters of type AbstractArgumentModifier and TypeClassDescriptionclassAbstractArgumentTree<Impl extends AbstractArgumentTree<Impl,Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> This is a base class for arguments, allowing them to behave as tree nodes in aAbstractCommandTreeclassAbstractCommandAPICommand<Impl extends AbstractCommandAPICommand<Impl,Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> A builder used to create commands to be registered by the CommandAPI.classAbstractCommandTree<Impl extends AbstractCommandTree<Impl,Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> This is the root node for creating a command as a treeclassCommandAPIHandler<Argument extends AbstractArgument<?,?, Argument, CommandSender>, CommandSender, Source> The "brains" behind the CommandAPI.interfaceCommandAPIPlatform<Argument extends AbstractArgument<?,?, Argument, CommandSender>, CommandSender, Source> classExecution<CommandSender,Argument extends AbstractArgument<?, ?, Argument, CommandSender>> A list of arguments which results in an execution.Methods in dev.jorel.commandapi with type parameters of type AbstractArgumentModifier and TypeMethodDescriptionstatic <Argument extends AbstractArgument<?,?, Argument, ?>>
com.mojang.brigadier.builder.RequiredArgumentBuilderBrigadier.fromArgument(Argument argument) Constructs a RequiredArgumentBuilder from a given argumentstatic <Argument extends AbstractArgument<?,?, Argument, ?>>
com.mojang.brigadier.builder.RequiredArgumentBuilderBrigadier.fromArgument(List<Argument> args, Argument argument) Constructs a RequiredArgumentBuilder from a given argument within a command declaration.static <Argument extends AbstractArgument<?,?, Argument, CommandSender>, CommandSender>
com.mojang.brigadier.CommandBrigadier.fromCommand(AbstractCommandAPICommand<?, Argument, CommandSender> command) Converts a CommandAPICommand into a Brigadier Commandstatic <CommandSender,Argument extends AbstractArgument<String, ?, ?, CommandSender>>
com.mojang.brigadier.builder.LiteralArgumentBuilderBrigadier.fromLiteralArgument(Literal<Argument> literalArgument) Creates a new literal argument builder from a CommandAPI LiteralArgumentstatic <CommandSender,Argument extends AbstractArgument<?, ?, Argument, CommandSender>>
com.mojang.brigadier.RedirectModifierBrigadier.fromPredicate(BiPredicate<CommandSender, Object[]> predicate, List<Argument> args) Constructs a RedirectModifier from a predicate that uses a command sender and some arguments.static <Argument extends AbstractArgument<?,?, Argument, ?>>
Object[]Brigadier.parseArguments(com.mojang.brigadier.context.CommandContext cmdCtx, List<Argument> args) Parses arguments into their respective objects with a given command context.static <Argument extends AbstractArgument<?,?, Argument, ?>>
com.mojang.brigadier.suggestion.SuggestionProviderBrigadier.toSuggestions(Argument argument, List<Argument> args) Converts an argument and a list of arguments to a Brigadier SuggestionProviderMethods in dev.jorel.commandapi with parameters of type AbstractArgumentModifier and TypeMethodDescriptionfinal ImplAbstractCommandAPICommand.withArguments(Argument... args) Appends the argument(s) to the current command builderfinal ImplAbstractCommandAPICommand.withOptionalArguments(Argument... args) Appends the optional arguments to the current command builder. -
Uses of AbstractArgument in dev.jorel.commandapi.arguments
Classes in dev.jorel.commandapi.arguments with type parameters of type AbstractArgumentModifier and TypeClassDescriptionclassAbstractArgument<T,Impl extends AbstractArgument<T, Impl, Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> The core abstract class for Command API argumentsclassAbstractArgument<T,Impl extends AbstractArgument<T, Impl, Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> The core abstract class for Command API argumentsinterfaceLiteral<Impl extends AbstractArgument<String,?, ?, ?>> interfaceMultiLiteral<Impl extends AbstractArgument<String,?, ?, ?>> interfacePreviewable<T extends AbstractArgument<?,?, ?, ?>, A> An interface representing that the argument can be previewed using Minecraft's chat preview feature.interfaceSafeOverrideable<T,S, Impl extends AbstractArgument<T, Impl, Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> interfaceSafeOverrideable<T,S, Impl extends AbstractArgument<T, Impl, Argument, CommandSender>, Argument extends AbstractArgument<?, ?, Argument, CommandSender>, CommandSender> Methods in dev.jorel.commandapi.arguments with parameters of type AbstractArgumentModifier and TypeMethodDescriptionfinal ImplAbstractArgument.combineWith(Argument... combinedArguments) Adds combined arguments to this argument. -
Uses of AbstractArgument in dev.jorel.commandapi.exceptions
Constructors in dev.jorel.commandapi.exceptions with parameters of type AbstractArgumentModifierConstructorDescriptionGreedyArgumentException(AbstractArgument<?, ?, ?, ?>[] arguments) Creates a GreedyArgumentException