|
CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
The interface for resulting command executors. More...
Inheritance diagram for dev.jorel.commandapi.executors.ResultingExecutor< CommandSender, WrapperType >:Public Member Functions | |
| 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... | |
| default ExecutorType | getType () |
| Returns the type of the sender of the current executor. More... | |
The interface for resulting command executors.
| <CommandSender> | The CommandSender for this executor |
| <WrapperType> | The AbstractCommandSender that wraps the CommandSender |
| default int dev.jorel.commandapi.executors.ResultingExecutor< CommandSender, WrapperType >.executeWith | ( | ExecutionInfo< CommandSender, WrapperType > | info | ) | throws WrapperCommandSyntaxException |
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 |
Implements dev.jorel.commandapi.executors.TypedExecutor< CommandSender, WrapperType >.
|
inherited |
Returns the type of the sender of the current executor.
| int dev.jorel.commandapi.executors.ResultingExecutor< CommandSender, WrapperType >.run | ( | ExecutionInfo< CommandSender, WrapperType > | info | ) | throws WrapperCommandSyntaxException |
Executes the command.
| info | The ExecutionInfo for this command |
| WrapperCommandSyntaxException | if an error occurs during the execution of this command |