Skip to content

ChestInventory ​

class · pocketmine\block\inventory\ChestInventory · source

Extends SimpleInventory
Implements BlockInventory

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\Position $holder)

animateBlock() ​

php
public function animateBlock(bool $isOpen) : void

getCloseSound() protected ​

php
protected function getCloseSound() : \pocketmine\world\sound\Sound

getOpenSound() protected ​

php
protected function getOpenSound() : \pocketmine\world\sound\Sound

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