001 package org.bukkit.block; 002 003 import org.bukkit.inventory.FurnaceInventory; 004 005 /** 006 * Represents a furnace. 007 */ 008 public interface Furnace extends BlockState, ContainerBlock { 009 010 /** 011 * Get burn time. 012 * 013 * @return Burn time 014 */ 015 public short getBurnTime(); 016 017 /** 018 * Set burn time. 019 * 020 * @param burnTime Burn time 021 */ 022 public void setBurnTime(short burnTime); 023 024 /** 025 * Get cook time. 026 * 027 * @return Cook time 028 */ 029 public short getCookTime(); 030 031 /** 032 * Set cook time. 033 * 034 * @param cookTime Cook time 035 */ 036 public void setCookTime(short cookTime); 037 038 public FurnaceInventory getInventory(); 039 }