Interface IRecipeEvent

    • Method Detail

      • getRecipe

        Object getRecipe()
        Returns the recipe object associated with this event. This can be a custom recipe or an anvil recipe.
        Returns:
        the recipe object - IRecipe or IAnvilRecipe
      • getItems

        IItemStack[] getItems()
        Returns:
        the input item stacks used in the recipe.
      • isAnvil

        boolean isAnvil()
        Returns:
        true if this is an anvil recipe, false for crafting table.