CampfireCookEvent
Extends BlockEvent
Implements Cancellable
Methods
__construct()
php
public function __construct(\pocketmine\block\Campfire $campfire, int $slot, \pocketmine\item\Item $input, \pocketmine\item\Item $result)getCampfire()
php
public function getCampfire() : \pocketmine\block\CampfiregetInput()
php
public function getInput() : \pocketmine\item\ItemgetResult()
php
public function getResult() : \pocketmine\item\ItemgetSlot()
php
public function getSlot() : intsetResult()
php
public function setResult(\pocketmine\item\Item $result) : void