Skip to content

BrewingStand ​

class · pocketmine\block\BrewingStand · source

Extends Transparent

Properties ​

$slots protected ​

php
protected array $slots

Methods ​

describeBlockOnlyState() protected ​

php
protected function describeBlockOnlyState(\pocketmine\data\runtime\RuntimeDataDescriber $w) : void

getSlots() ​

php
public function getSlots() : array

getSupportType() ​

php
public function getSupportType(int $facing) : \pocketmine\block\utils\SupportType

hasSlot() ​

php
public function hasSlot(\pocketmine\block\utils\BrewingStandSlot $slot) : bool

onInteract() ​

php
public function onInteract(\pocketmine\item\Item $item, int $face, \pocketmine\math\Vector3 $clickVector, ?\pocketmine\player\Player $player = null, array &$returnedItems = []) : bool

onScheduledUpdate() ​

php
public function onScheduledUpdate() : void

recalculateCollisionBoxes() protected ​

php
protected function recalculateCollisionBoxes() : array

setSlot() ​

php
public function setSlot(\pocketmine\block\utils\BrewingStandSlot $slot, bool $occupied) : self

setSlots() ​

php
public function setSlots(array $slots) : self

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