BlockCommandSender 5.47.0
Extends CommandSender
A command sender acting for a block (e.g. a command block): target selectors and distances are evaluated from the centre of that block, and there is no executing entity (@s selects nothing).
Methods
getExecutingPosition()
php
public function getExecutingPosition() : \pocketmine\world\PositionReturns the centre of the block the commands are run by.
