CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
A resulting command executor for a BlockCommandSender. More...
Public Member Functions | |
int | run (BlockCommandSender sender, CommandArguments args) throws WrapperCommandSyntaxException |
The code to run when this command is performed. More... | |
default int | run (ExecutionInfo< BlockCommandSender, BukkitBlockCommandSender > info) throws WrapperCommandSyntaxException |
The code to run when this command is performed. More... | |
default ExecutorType | getType () |
Returns the type of the sender of the current executor. More... | |
default int | executeWith (ExecutionInfo< CommandSender, WrapperType > info) throws WrapperCommandSyntaxException |
Executes the command executor with the provided command sender and the provided arguments. More... | |
int | run (ExecutionInfo< CommandSender, WrapperType > info) throws WrapperCommandSyntaxException |
Executes the command. More... | |
A resulting command executor for a BlockCommandSender.
|
inherited |
Executes the command executor with the provided command sender and the provided arguments.
info | The ExecutionInfo for this command |
WrapperCommandSyntaxException | if an error occurs during the execution of this command |
default ExecutorType dev.jorel.commandapi.executors.CommandBlockResultingCommandExecutor.getType | ( | ) |
Returns the type of the sender of the current executor.
int dev.jorel.commandapi.executors.CommandBlockResultingCommandExecutor.run | ( | BlockCommandSender | sender, |
CommandArguments | args | ||
) | throws WrapperCommandSyntaxException |
The code to run when this command is performed.
sender | The sender of this command (a player, the console etc.) |
args | The arguments given to this command. |
default int dev.jorel.commandapi.executors.CommandBlockResultingCommandExecutor.run | ( | ExecutionInfo< BlockCommandSender, BukkitBlockCommandSender > | info | ) | throws WrapperCommandSyntaxException |
The code to run when this command is performed.
info | The ExecutionInfo for this command |
|
inherited |
Executes the command.
info | The ExecutionInfo for this command |
WrapperCommandSyntaxException | if an error occurs during the execution of this command |