Modifier and Type | Method and Description |
---|---|
@Nullable ItemStack |
getFuel()
Get the current fuel.
|
@Nullable Furnace |
getHolder()
Gets the block or entity belonging to the open inventory
|
@Nullable ItemStack |
getResult()
Get the current item in the result slot.
|
@Nullable ItemStack |
getSmelting()
Get the item currently smelting.
|
void |
setFuel(@Nullable ItemStack stack)
Set the current fuel.
|
void |
setResult(@Nullable ItemStack stack)
Set the current item in the result slot.
|
void |
setSmelting(@Nullable ItemStack stack)
Set the item currently smelting.
|
addItem, 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, setStorageContents
forEach, spliterator
@Nullable @Nullable ItemStack getResult()
@Nullable @Nullable ItemStack getSmelting()
void setFuel(@Nullable @Nullable ItemStack stack)
stack
- The itemvoid setResult(@Nullable @Nullable ItemStack stack)
stack
- The itemvoid setSmelting(@Nullable @Nullable ItemStack stack)
stack
- The itemCopyright © 2021. All rights reserved.