Package org.bukkit.inventory
Interface BrewerInventory
Interface to the inventory of a Brewing Stand.
-
Method Summary
Modifier and TypeMethodDescriptiongetFuel()
Get the current fuel for brewing.Gets the block or entity belonging to the open inventoryGet the current ingredient for brewing.void
Set the current fuel for brewing.void
setIngredient(@Nullable ItemStack ingredient)
Set the current ingredient for brewing.Methods inherited from interface org.bukkit.inventory.Inventory
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
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
getIngredient
Get the current ingredient for brewing.- Returns:
- The ingredient.
-
setIngredient
Set the current ingredient for brewing.- Parameters:
ingredient
- The ingredient
-
getFuel
Get the current fuel for brewing.- Returns:
- The fuel
-
setFuel
Set the current fuel for brewing. Generally onlyMaterial.BLAZE_POWDER
will be of use.- Parameters:
fuel
- The fuel
-
getHolder
Description copied from interface:Inventory
Gets the block or entity belonging to the open inventory
-