public static interface CraftItemEvent.Craft extends CraftItemEvent, ClickInventoryEvent
CraftItemEvent.Craft, CraftItemEvent.Preview
ClickInventoryEvent.Creative, ClickInventoryEvent.Double, ClickInventoryEvent.Drag, ClickInventoryEvent.Drop, ClickInventoryEvent.Middle, ClickInventoryEvent.NumberPress, ClickInventoryEvent.Primary, ClickInventoryEvent.Recipe, ClickInventoryEvent.Secondary, ClickInventoryEvent.Shift
ChangeInventoryEvent.Equipment, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand, ChangeInventoryEvent.Transfer
InteractInventoryEvent.Close, InteractInventoryEvent.Open
Modifier and Type | Method and Description |
---|---|
ItemStackSnapshot |
getCrafted()
The item crafted with this event.
|
Optional<Slot> |
getSlot()
Returns the crafting output Slot.
|
getCraftingInventory, getRecipe
filter, getTransactions
isCancelled, setCancelled
getCursorTransaction
getTargetInventory
getCause, getContext, getSource
ItemStackSnapshot getCrafted()
Optional<Slot> getSlot()
getSlot
in interface ClickInventoryEvent