Interface CraftItemEvent.Preview

All Superinterfaces:
AffectItemStackEvent, AffectSlotEvent, Cancellable, ChangeInventoryEvent, ClickContainerEvent, CraftItemEvent, Event, InteractContainerEvent
All Known Subinterfaces:
ClickContainerEvent.Recipe, ClickContainerEvent.Recipe.All, ClickContainerEvent.Recipe.Single
Enclosing interface:

public static interface CraftItemEvent.Preview extends CraftItemEvent, ClickContainerEvent
This event is fired before the item is taken out of the output slot but after completing the recipe in the grid.
  • Method Details

    • preview

      SlotTransaction preview()
      The SlotTransaction on the output slot.

      Setting a custom Item here changes the result of the recipe replacing the default result

      The output SlotTransaction