Package org.bukkit.inventory
Interface BrewerInventory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable ItemStackgetFuel()Get the current fuel for brewing.@Nullable BrewingStandgetHolder()Gets the block or entity belonging to the open inventory@Nullable ItemStackgetIngredient()Get the current ingredient for brewing.voidsetFuel(@Nullable ItemStack fuel)Set the current fuel for brewing.voidsetIngredient(@Nullable 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
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getIngredient
@Nullable @Nullable ItemStack getIngredient()
Get the current ingredient for brewing.- Returns:
- The ingredient.
-
setIngredient
void setIngredient(@Nullable @Nullable ItemStack ingredient)Set the current ingredient for brewing.- Parameters:
ingredient- The ingredient
-
getFuel
@Nullable @Nullable ItemStack getFuel()
Get the current fuel for brewing.- Returns:
- The fuel
-
setFuel
void setFuel(@Nullable @Nullable ItemStack fuel)Set the current fuel for brewing. Generally onlyMaterial.BLAZE_POWDERwill be of use.- Parameters:
fuel- The fuel
-
getHolder
@Nullable @Nullable BrewingStand getHolder()
Description copied from interface:InventoryGets the block or entity belonging to the open inventory
-
-