Skip to content

ChiseledBookshelf ​

class · pocketmine\block\tile\ChiseledBookshelf · source

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\SimpleInventory

getLastInteractedSlot() ​

php
public function getLastInteractedSlot() : ?\pocketmine\block\utils\ChiseledBookshelfSlot

getRealInventory() ​

php
public function getRealInventory() : \pocketmine\inventory\SimpleInventory

loadItems() protected ​

php
protected function loadItems(\pocketmine\nbt\tag\CompoundTag $tag) : void

readSaveData() ​

php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void

saveItems() protected ​

php
protected function saveItems(\pocketmine\nbt\tag\CompoundTag $tag) : void

setLastInteractedSlot() ​

php
public function setLastInteractedSlot(?\pocketmine\block\utils\ChiseledBookshelfSlot $lastInteractedSlot) : void

writeSaveData() protected ​

php
protected function writeSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.