MinecartCommandBlockInventory 5.46.0
Extends SimpleInventory
Implements TemporaryInventory
The command block screen of a command block minecart (window type COMMAND_BLOCK). It holds no items: the client sends the edited command in a CommandBlockUpdatePacket.
Methods
__construct()
php
public function __construct(\pocketmine\entity\vehicle\MinecartCommandBlock $minecart)getMinecart()
php
public function getMinecart() : \pocketmine\entity\vehicle\MinecartCommandBlock