Skip to content

Furnace ​

class · pocketmine\block\Furnace · source

Extends Opaque
Implements Lightable, HorizontalFacing

Properties ​

$furnaceType protected ​

php
protected \pocketmine\crafting\FurnaceType $furnaceType

Methods ​

__construct() ​

php
public function __construct(\pocketmine\block\BlockIdentifier $idInfo, string $name, \pocketmine\block\BlockTypeInfo $typeInfo, \pocketmine\crafting\FurnaceType $furnaceType)

describeBlockOnlyState() protected ​

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

getFurnaceType() ​

php
public function getFurnaceType() : \pocketmine\crafting\FurnaceType

getLightLevel() ​

php
public function getLightLevel() : int

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

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