Interface CraftItemEvent

All Superinterfaces:
AffectItemStackEvent, AffectSlotEvent, Cancellable, ChangeInventoryEvent, Event
All Known Subinterfaces:
ClickContainerEvent.Recipe, ClickContainerEvent.Recipe.All, ClickContainerEvent.Recipe.Single, CraftItemEvent.Craft, CraftItemEvent.Preview

public interface CraftItemEvent extends ChangeInventoryEvent
  • Method Details

    • craftingInventory

      CraftingInventory craftingInventory()
      Returns the crafting inventory.

      This includes the crafting grid and one output slot

      Returns:
      The crafting inventory
    • recipe

      Returns the Recipe used for crafting
      Returns:
      The recipe