EnderChest
Extends Spawnable
Properties
$viewerCount protected
php
protected int $viewerCountMethods
addAdditionalSpawnData() protected
php
protected function addAdditionalSpawnData(\pocketmine\nbt\tag\CompoundTag $nbt) : voidgetViewerCount()
php
public function getViewerCount() : intreadSaveData()
php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : voidsetViewerCount()
php
public function setViewerCount(int $viewerCount) : voidwriteSaveData() protected
php
protected function writeSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void