Package org.bukkit.inventory
Interface FurnaceInventory
Interface to the inventory of a Furnace.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanCheck if an item can be smelted in this furnace containergetFuel()Get the current fuel.Gets the block or entity belonging to the open inventoryGet the current item in the result slot.Get the item currently smelting.booleanCheck if an item can be used as a fuel source in this furnace containervoidSet the current fuel.voidSet the current item in the result slot.voidsetSmelting(@Nullable ItemStack stack) Set the item currently smelting.Methods inherited from interface org.bukkit.inventory.InventoryaddItem, all, all, clear, clear, close, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Method Details- 
getResultGet the current item in the result slot.- Returns:
- The item
 
- 
getFuelGet the current fuel.- Returns:
- The item
 
- 
getSmeltingGet the item currently smelting.- Returns:
- The item
 
- 
setFuelSet the current fuel.- Parameters:
- stack- The item
 
- 
setResultSet the current item in the result slot.- Parameters:
- stack- The item
 
- 
setSmeltingSet the item currently smelting.- Parameters:
- stack- The item
 
- 
isFuelCheck if an item can be used as a fuel source in this furnace container- Parameters:
- item- Item to check
- Returns:
- True if a valid fuel source
 
- 
canSmeltCheck if an item can be smelted in this furnace container- Parameters:
- item- Item to check
- Returns:
- True if can be smelt
 
- 
getHolderDescription copied from interface:InventoryGets the block or entity belonging to the open inventory
 
-