MinecartCommandSender 5.46.0
Implements EntityCommandSender
The sender of the commands of a command block minecart: an operator (like a vanilla command block) acting as the cart. Its output becomes the cart's last output.
Methods
__construct()
php
public function __construct(\pocketmine\entity\vehicle\MinecartCommandBlock $minecart)getExecutingEntity()
php
public function getExecutingEntity() : \pocketmine\entity\EntitygetLanguage()
php
public function getLanguage() : \pocketmine\lang\LanguagegetMinecart()
php
public function getMinecart() : \pocketmine\entity\vehicle\MinecartCommandBlockgetName()
php
public function getName() : stringgetScreenLineHeight()
php
public function getScreenLineHeight() : intgetServer()
php
public function getServer() : \pocketmine\ServersendMessage()
php
public function sendMessage(\pocketmine\lang\Translatable|string $message) : voidsetScreenLineHeight()
php
public function setScreenLineHeight(?int $height) : void