Skip to content

EnderChest ​

class · pocketmine\block\tile\EnderChest · source

Extends Spawnable

Properties ​

$viewerCount protected ​

php
protected int $viewerCount

Methods ​

addAdditionalSpawnData() protected ​

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

getViewerCount() ​

php
public function getViewerCount() : int

readSaveData() ​

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

setViewerCount() ​

php
public function setViewerCount(int $viewerCount) : 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.