Uses of Class
dev.ua.theroer.magicutils.commands.CommandResult
Packages that use CommandResult
-
Uses of CommandResult in dev.ua.theroer.magicutils.commands
Methods in dev.ua.theroer.magicutils.commands that return CommandResultModifier and TypeMethodDescriptionCommandExecutor.execute(CommandExecution<S> execution) Executes the command with the given execution context.Executes a command by name.HelpCommandBase.execute(MagicSender sender, String commandName, String subCommand) Executes the help command.CommandManager.executeOrThrow(String name, S sender, List<String> args) Executes a command, optionally bubbling unexpected failures.static CommandResultCommandResult.failure(boolean sendMessage) Creates a failed CommandResult with a sendMessage option.static CommandResultCreates a failed CommandResult with a message.static CommandResultCreates a failed CommandResult with a message and prefix option.static CommandResultCommandResult.notFound()Creates a CommandResult for a not found command.static CommandResultCommandResult.success()Creates a successful CommandResult with no message.static CommandResultCreates a successful CommandResult with message and sendMessage option.static CommandResultCreates a successful CommandResult with a message.static CommandResultCreates a successful CommandResult with a message and prefix option.Methods in dev.ua.theroer.magicutils.commands that return types with arguments of type CommandResultModifier and TypeMethodDescriptionExecutes a command asynchronously on the provided executor. -
Uses of CommandResult in dev.ua.theroer.magicutils.diagnostics
Methods in dev.ua.theroer.magicutils.diagnostics that return CommandResultModifier and TypeMethodDescriptionMagicUtilsBundleCommand.execute(MagicSender sender) MagicUtilsBundleCommand.mod(MagicSender sender, String modName) MagicUtilsBundleCommand.mods(MagicSender sender)