Skip to content

BrewingStand ​

class · pocketmine\block\tile\BrewingStand · source

Extends Spawnable
Implements ComparatorReadableContainer, Nameable

Constants ​

BREW_TIME_TICKS ​

php
public const BREW_TIME_TICKS = 400

Methods ​

__construct() ​

php
public function __construct(\pocketmine\world\World $world, \pocketmine\math\Vector3 $pos)

addAdditionalSpawnData() protected ​

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

close() ​

php
public function close() : void

getDefaultName() ​

php
public function getDefaultName() : string

getInventory() ​

php
public function getInventory() : \pocketmine\block\inventory\BrewingStandInventory

getRealInventory() ​

php
public function getRealInventory() : \pocketmine\block\inventory\BrewingStandInventory

onUpdate() ​

php
public function onUpdate() : bool

readSaveData() ​

php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : 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.