Class BrewAction
java.lang.Object
me.mehboss.brewing.BrewAction
Represents a brewing action to perform when brewing completes.
Extend this class to define custom behavior for each brewing recipe.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidbrew(org.bukkit.inventory.BrewerInventory inventory, org.bukkit.inventory.ItemStack item, org.bukkit.inventory.ItemStack ingredient) Called when brewing completes.
-
Constructor Details
-
BrewAction
public BrewAction()
-
-
Method Details
-
brew
public abstract void brew(org.bukkit.inventory.BrewerInventory inventory, org.bukkit.inventory.ItemStack item, org.bukkit.inventory.ItemStack ingredient) Called when brewing completes.- Parameters:
inventory- the brewing stand inventoryitem- the potion/output slot itemingredient- the ingredient used for brewing
-