Furnace
Extends Spawnable
Implements ComparatorReadableContainer, Nameable
Constants
TAG_BURN_TIME
php
public const TAG_BURN_TIME = "BurnTime"TAG_COOK_TIME
php
public const TAG_COOK_TIME = "CookTime"TAG_MAX_TIME
php
public const TAG_MAX_TIME = "MaxTime"Properties
$inventory protected
php
protected \pocketmine\block\inventory\FurnaceInventory $inventoryMethods
__construct()
php
public function __construct(\pocketmine\world\World $world, \pocketmine\math\Vector3 $pos)checkFuel() protected
php
protected function checkFuel(\pocketmine\item\Item $fuel) : voidclose()
php
public function close() : voidgetDefaultName()
php
public function getDefaultName() : stringgetFurnaceType()
php
abstract public function getFurnaceType() : \pocketmine\crafting\FurnaceTypegetInventory()
php
public function getInventory() : \pocketmine\block\inventory\FurnaceInventorygetRealInventory()
php
public function getRealInventory() : \pocketmine\block\inventory\FurnaceInventoryonStartSmelting() protected
php
protected function onStartSmelting() : voidonStopSmelting() protected
php
protected function onStopSmelting() : voidonUpdate()
php
public function onUpdate() : boolreadSaveData()
php
public function readSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : voidwriteSaveData() protected
php
protected function writeSaveData(\pocketmine\nbt\tag\CompoundTag $nbt) : void