Interface FurnaceInventory
Interface to the inventory of a Furnace.
-
Method Summary
Modifier and TypeMethodDescriptiongetFuel()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.voidSet the current fuel.voidSet the current item in the result slot.voidsetSmelting(ItemStack stack) Set the item currently smelting.Methods inherited from interface Inventory
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, isEmpty, iterator, iterator, remove, remove, removeItem, setContents, setItem, setMaxStackSize, setStorageContentsMethods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
getResult
-
getFuel
-
getSmelting
-
setFuel
-
setResult
Set the current item in the result slot.- Parameters:
stack- The item
-
setSmelting
Set the item currently smelting.- Parameters:
stack- The item
-
getHolder
-