Class BrewAction

java.lang.Object
me.mehboss.brewing.BrewAction

public abstract class BrewAction extends Object
Represents a brewing action to perform when brewing completes. Extend this class to define custom behavior for each brewing recipe.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract void
    brew(org.bukkit.inventory.BrewerInventory inventory, org.bukkit.inventory.ItemStack item, org.bukkit.inventory.ItemStack ingredient)
    Called when brewing completes.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 inventory
      item - the potion/output slot item
      ingredient - the ingredient used for brewing