BrewItemEvent
Extends BlockEvent
Implements Cancellable
Methods
__construct()
php
public function __construct(\pocketmine\block\tile\BrewingStand $brewingStand, int $slot, \pocketmine\item\Item $input, \pocketmine\item\Item $result, \pocketmine\crafting\BrewingRecipe $recipe)getBrewingStand()
php
public function getBrewingStand() : \pocketmine\block\tile\BrewingStandgetInput()
php
public function getInput() : \pocketmine\item\ItemgetRecipe()
php
public function getRecipe() : \pocketmine\crafting\BrewingRecipegetResult()
php
public function getResult() : \pocketmine\item\ItemgetSlot()
php
public function getSlot() : intReturns which slot of the brewing stand's inventory the potion is in.
setResult()
php
public function setResult(\pocketmine\item\Item $result) : void