getBlock()); } public function getFurnace() : Furnace{ return $this->furnace; } public function getFuel() : Item{ return $this->fuel; } /** * Returns the number of ticks that the furnace will be powered for. */ public function getBurnTime() : int{ return $this->burnTime; } /** * Sets the number of ticks that the given fuel will power the furnace for. */ public function setBurnTime(int $burnTime) : void{ $this->burnTime = $burnTime; } /** * Returns whether the fuel item will be consumed. */ public function isBurning() : bool{ return $this->burning; } /** * Sets whether the fuel will be consumed. If false, the furnace will smelt as if it consumed fuel, but no fuel * will be deducted. */ public function setBurning(bool $burning) : void{ $this->burning = $burning; } }