Package org.bukkit.inventory
Interface BrewerInventory
public interface BrewerInventory extends Inventory
Interface to the inventory of a Brewing Stand.
-
Method Summary
Modifier and Type Method Description ItemStack
getFuel()
Get the current fuel for brewing.BrewingStand
getHolder()
Gets the block or entity belonging to the open inventoryItemStack
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.Methods inherited from interface org.bukkit.inventory.Inventory
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, setContents, setItem, setMaxStackSize, setStorageContents
-
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
-