CommandAPI 8.8.0
An API for the command UI introduced in Minecraft 1.13
|
The interface for resulting command executors. More...
Public Member Functions | |
default int | executeWith (CommandSender sender, Object[] args) throws WrapperCommandSyntaxException |
Executes the command executor with the provided command sender and the provided arguments. More... | |
int | run (T sender, Object[] args) throws WrapperCommandSyntaxException |
Executes the command. More... | |
default ExecutorType | getType () |
Returns the type of the sender of the current executor. More... | |
The interface for resulting command executors.
<T> | the commandsender |
default int dev.jorel.commandapi.executors.IExecutorResulting< T extends CommandSender >.executeWith | ( | CommandSender | sender, |
Object[] | args | ||
) | throws WrapperCommandSyntaxException |
Executes the command executor with the provided command sender and the provided arguments.
sender | the command sender for this command |
args | the arguments provided to this command |
WrapperCommandSyntaxException | if an error occurs during the execution of this command |
Implements dev.jorel.commandapi.executors.IExecutorTyped.
|
inherited |
Returns the type of the sender of the current executor.
int dev.jorel.commandapi.executors.IExecutorResulting< T extends CommandSender >.run | ( | T | sender, |
Object[] | args | ||
) | throws WrapperCommandSyntaxException |
Executes the command.
sender | the command sender for this command |
args | the arguments provided to this command |
WrapperCommandSyntaxException | if an error occurs during the execution of this command |