CommandAPI 9.6.0
An API for the command UI introduced in Minecraft 1.13
|
A normal command executor for a NativeProxyCommandSender. More...
Public Member Functions | |
void | run (NativeProxyCommandSender sender, CommandArguments args) throws WrapperCommandSyntaxException |
The code to run when this command is performed. More... | |
default void | run (ExecutionInfo< NativeProxyCommandSender, BukkitNativeProxyCommandSender > info) throws WrapperCommandSyntaxException |
Executes the command. 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... | |
void | run (ExecutionInfo< CommandSender, WrapperType > info) throws WrapperCommandSyntaxException |
Executes the command. More... | |
A normal command executor for a NativeProxyCommandSender.
|
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.ProxyCommandExecutor.getType | ( | ) |
Returns the type of the sender of the current executor.
|
inherited |
Executes the command.
info | The ExecutionInfo for this command |
WrapperCommandSyntaxException | if an error occurs during the execution of this command |
default void dev.jorel.commandapi.executors.ProxyCommandExecutor.run | ( | ExecutionInfo< NativeProxyCommandSender, BukkitNativeProxyCommandSender > | info | ) | throws WrapperCommandSyntaxException |
Executes the command.
info | The ExecutionInfo for this command |
WrapperCommandSyntaxException | if an error occurs during the execution of this command |
void dev.jorel.commandapi.executors.ProxyCommandExecutor.run | ( | NativeProxyCommandSender | 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. |