Skip to content

CampfireCookEvent ​

class · pocketmine\event\block\CampfireCookEvent · source

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\Campfire

getInput() ​

php
public function getInput() : \pocketmine\item\Item

getResult() ​

php
public function getResult() : \pocketmine\item\Item

getSlot() ​

php
public function getSlot() : int

setResult() ​

php
public function setResult(\pocketmine\item\Item $result) : void

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