ShulkerBoxInventory
Extends SimpleInventory
Implements BlockInventory
Methods
__construct()
php
public function __construct(\pocketmine\world\Position $holder)animateBlock() protected
php
protected function animateBlock(bool $isOpen) : voidcanAddItem()
php
public function canAddItem(\pocketmine\item\Item $item) : boolgetCloseSound() protected
php
protected function getCloseSound() : \pocketmine\world\sound\SoundgetOpenSound() protected
php
protected function getOpenSound() : \pocketmine\world\sound\Sound