BrewingStand
Extends Spawnable
Implements ComparatorReadableContainer, Nameable
Constants
BREW_TIME_TICKS
php
public const BREW_TIME_TICKS = 400Methods
__construct()
php
public function __construct(\pocketmine\world\World $world, \pocketmine\math\Vector3 $pos)addAdditionalSpawnData() protected
php
protected function addAdditionalSpawnData(\pocketmine\nbt\tag\CompoundTag $nbt) : voidclose()
php
public function close() : voidgetDefaultName()
php
public function getDefaultName() : stringgetInventory()
php
public function getInventory() : \pocketmine\block\inventory\BrewingStandInventorygetRealInventory()
php
public function getRealInventory() : \pocketmine\block\inventory\BrewingStandInventoryonUpdate()
php
public function onUpdate() : boolreadSaveData()
php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : voidwriteSaveData() protected
php
protected function writeSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void