Modifier and Type | Method and Description |
---|---|
ItemStack |
getFuel()
Get the current fuel for brewing.
|
BrewingStand |
getHolder()
Gets the block or entity belonging to the open inventory
|
ItemStack |
getIngredient()
Get the current ingredient for brewing.
|
void |
setFuel(ItemStack fuel)
Set the current fuel for brewing.
|
void |
setIngredient(ItemStack ingredient)
Set the current ingredient for brewing.
|
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 getIngredient()
void setIngredient(@Nullable ItemStack ingredient)
ingredient
- The ingredient@Nullable ItemStack getFuel()
void setFuel(@Nullable ItemStack fuel)
Material.BLAZE_POWDER
will be of use.fuel
- The fuel@Nullable BrewingStand getHolder()
Inventory
Copyright © 2022. All rights reserved.