Package dev.jorel.commandapi.executors
Interface ExecutionInfo<Sender,WrapperType extends AbstractCommandSender<? extends Sender>>
- Type Parameters:
Sender- The type of the sender of a command this ExecutionInfo belongs to
public interface ExecutionInfo<Sender,WrapperType extends AbstractCommandSender<? extends Sender>>
This interface represents an ExecutionInfo for a command. It provides the sender of a command, as well as it's arguments
-
Method Details
-
sender
Sender sender()- Returns:
- The sender of this command
-
senderWrapper
WrapperType senderWrapper()This is not intended for public use and is only used internally. Thesender()method should be used instead!- Returns:
- The wrapper type of this command
-
args
CommandArguments args()- Returns:
- The arguments of this command
-