EntityCommandSender 5.46.0
Extends CommandSender
A command sender acting for an entity that isn't a command sender itself (e.g. a command block minecart): target selectors and relative coordinates are evaluated from that entity (@s is the entity).
Methods
getExecutingEntity()
php
public function getExecutingEntity() : \pocketmine\entity\EntityReturns the entity the commands are run as.
