CartographyRenameTransaction 5.47.0
Extends InventoryTransaction
Renaming a map in the name field of the cartography table (Bedrock) without a map operation: the whole map stack in the input slot is used up and given back renamed, for free. A name given together with an operation is part of the CartographyTransaction instead.
Methods
__construct()
php
public function __construct(\pocketmine\player\Player $source, \pocketmine\item\Item $input, \pocketmine\item\Item $result, array $actions = [])getInput()
php
public function getInput() : \pocketmine\item\ItemgetResult()
php
public function getResult() : \pocketmine\item\Itemvalidate()
php
public function validate() : void