CommandAPI 9.7.0
An API for the command UI introduced in Minecraft 1.13
|
CommandAPIExecutor is the main executor implementation for command executors. More...
Public Member Functions | |
void | addNormalExecutor (NormalExecutor<?, ?> executor) |
void | addResultingExecutor (ResultingExecutor<?, ?> executor) |
int | execute (ExecutionInfo< CommandSender, WrapperType > info) throws CommandSyntaxException |
List< NormalExecutor< CommandSender, WrapperType > > | getNormalExecutors () |
List< ResultingExecutor< CommandSender, WrapperType > > | getResultingExecutors () |
boolean | hasAnyExecutors () |
boolean | isForceNative () |
void | setNormalExecutors (List< NormalExecutor< CommandSender, WrapperType > > normalExecutors) |
void | setResultingExecutors (List< ResultingExecutor< CommandSender, WrapperType > > resultingExecutors) |
CommandAPIExecutor is the main executor implementation for command executors.
It contains a list of all executors (normal and resulting executors) and switches its execution implementation based on the provided command executor types.
<CommandSender> | The CommandSender for this executor |
<WrapperType> | The AbstractCommandSender that wraps the CommandSender |