Modifier and Type | Method and Description |
---|---|
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.
|
addItem, all, all, clear, clear, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContents
forEach, spliterator
@Nullable ItemStack getResult()
@Nullable ItemStack getFuel()
@Nullable ItemStack getSmelting()
void setFuel(@Nullable ItemStack stack)
stack
- The itemvoid setResult(@Nullable ItemStack stack)
stack
- The itemvoid setSmelting(@Nullable ItemStack stack)
stack
- The itemCopyright © 2022. All rights reserved.