Modifier and Type | Method | 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, contains, contains, contains, contains, containsAtLeast, first, first, firstEmpty, getContents, getHolder, getItem, getLocation, getMaxStackSize, getSize, getStorageContents, getType, getViewers, iterator, iterator, remove, remove, removeItem, removeItemAnySlot, setContents, setItem, setMaxStackSize, setStorageContents
forEach, spliterator
@Nullable @Nullable ItemStack getResult()
@Nullable @Nullable ItemStack getFuel()
@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 © 2020. All rights reserved.