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