ChiseledBookshelf
Extends Tile
Implements Container
Methods
__construct()
php
public function __construct(\pocketmine\world\World $world, \pocketmine\math\Vector3 $pos)getInventory()
php
public function getInventory() : \pocketmine\inventory\SimpleInventorygetLastInteractedSlot()
php
public function getLastInteractedSlot() : ?\pocketmine\block\utils\ChiseledBookshelfSlotgetRealInventory()
php
public function getRealInventory() : \pocketmine\inventory\SimpleInventoryloadItems() protected
php
protected function loadItems(\pocketmine\nbt\tag\CompoundTag $tag) : voidreadSaveData()
php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : voidsaveItems() protected
php
protected function saveItems(\pocketmine\nbt\tag\CompoundTag $tag) : voidsetLastInteractedSlot()
php
public function setLastInteractedSlot(?\pocketmine\block\utils\ChiseledBookshelfSlot $lastInteractedSlot) : voidwriteSaveData() protected
php
protected function writeSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void