001 package org.bukkit.inventory;
002
003 import org.bukkit.block.Furnace;
004
005 /**
006 * Interface to the inventory of a Furnace.
007 */
008 public interface FurnaceInventory extends Inventory {
009
010 /**
011 * Get the current item in the result slot.
012 *
013 * @return The item
014 */
015 ItemStack getResult();
016
017 /**
018 * Get the current fuel.
019 *
020 * @return The item
021 */
022 ItemStack getFuel();
023
024 /**
025 * Get the item currently smelting.
026 *
027 * @return The item
028 */
029 ItemStack getSmelting();
030
031 /**
032 * Set the current fuel.
033 *
034 * @param stack The item
035 */
036 void setFuel(ItemStack stack);
037
038 /**
039 * Set the current item in the result slot.
040 *
041 * @param stack The item
042 */
043 void setResult(ItemStack stack);
044
045 /**
046 * Set the item currently smelting.
047 *
048 * @param stack The item
049 */
050 void setSmelting(ItemStack stack);
051
052 Furnace getHolder();
053 }