org.bukkit.inventory
Interface FurnaceInventory

All Superinterfaces:
Inventory, Iterable<ItemStack>

public interface FurnaceInventory
extends Inventory


Method Summary
 ItemStack getFuel()
          Get the current fuel.
 Furnace getHolder()
          Gets the block or entity belonging to the open inventory
 ItemStack getResult()
          Get the current item in the result slot.
 ItemStack getSmelting()
          Get the item currently smelting.
 void setFuel(ItemStack stack)
          Set the current fuel.
 void setResult(ItemStack stack)
          Set the current item in the result slot.
 void setSmelting(ItemStack stack)
          Set the item currently smelting.
 
Methods inherited from interface org.bukkit.inventory.Inventory
addItem, all, all, all, clear, clear, contains, contains, contains, contains, contains, contains, containsAtLeast, first, first, first, firstEmpty, getContents, getItem, getMaxStackSize, getName, getSize, getTitle, getType, getViewers, iterator, iterator, remove, remove, remove, removeItem, setContents, setItem, setMaxStackSize
 

Method Detail

getResult

ItemStack getResult()
Get the current item in the result slot.

Returns:
The item

getFuel

ItemStack getFuel()
Get the current fuel.

Returns:
The item

getSmelting

ItemStack getSmelting()
Get the item currently smelting.

Returns:
The item

setFuel

void setFuel(ItemStack stack)
Set the current fuel.

Parameters:
stack - The item

setResult

void setResult(ItemStack stack)
Set the current item in the result slot.

Parameters:
stack - The item

setSmelting

void setSmelting(ItemStack stack)
Set the item currently smelting.

Parameters:
stack - The item

getHolder

Furnace getHolder()
Description copied from interface: Inventory
Gets the block or entity belonging to the open inventory

Specified by:
getHolder in interface Inventory
Returns:
The holder of the inventory; null if it has no holder.


Copyright © 2013. All Rights Reserved.