CommandAPI 12.1.0
An API for the command UI introduced in Minecraft 1.13
Loading...
Searching...
No Matches
dev.jorel.commandapi.CommandAPIExecutor< CommandSender, WrapperType > Class Template Reference

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)

Detailed Description

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.

Parameters
<CommandSender>The CommandSender for this executor
<WrapperType>The AbstractCommandSender that wraps the CommandSender