EnderChestInventory
Extends DelegateInventory
Implements BlockInventory
EnderChestInventory is not a real inventory; it's just a gateway to the player's ender inventory.
Methods
__construct()
php
public function __construct(\pocketmine\world\Position $holder, \pocketmine\inventory\PlayerEnderInventory $inventory)animateBlock() protected
php
protected function animateBlock(bool $isOpen) : voidgetCloseSound() protected
php
protected function getCloseSound() : \pocketmine\world\sound\SoundgetEnderInventory()
php
public function getEnderInventory() : \pocketmine\inventory\PlayerEnderInventorygetOpenSound() protected
php
protected function getOpenSound() : \pocketmine\world\sound\SoundgetViewerCount()
php
public function getViewerCount() : intonClose()
php
public function onClose(\pocketmine\player\Player $who) : void