Interface CraftItemEvent.Craft
- All Superinterfaces:
AffectItemStackEvent
,AffectSlotEvent
,Cancellable
,ChangeInventoryEvent
,ClickContainerEvent
,CraftItemEvent
,Event
,InteractContainerEvent
- Enclosing interface:
CraftItemEvent
This event is fired after the item is taken out of the output slot.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.ChangeInventoryEvent
ChangeInventoryEvent.Drop, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.ClickContainerEvent
ClickContainerEvent.Creative, ClickContainerEvent.Double, ClickContainerEvent.Drag, ClickContainerEvent.Drop, ClickContainerEvent.Middle, ClickContainerEvent.NumberPress, ClickContainerEvent.Primary, ClickContainerEvent.Recipe, ClickContainerEvent.Secondary, ClickContainerEvent.SelectTrade, ClickContainerEvent.Shift
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.CraftItemEvent
CraftItemEvent.Craft, CraftItemEvent.Preview
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
InteractContainerEvent.Close, InteractContainerEvent.Open
-
Method Summary
Methods inherited from interface org.spongepowered.api.event.item.inventory.AffectSlotEvent
filter, transactions
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
Methods inherited from interface org.spongepowered.api.event.item.inventory.container.ClickContainerEvent
inventory
Methods inherited from interface org.spongepowered.api.event.item.inventory.CraftItemEvent
craftingInventory, recipe, recipeKey
Methods inherited from interface org.spongepowered.api.event.item.inventory.container.InteractContainerEvent
container, cursorTransaction
-
Method Details
-
crafted
ItemStackSnapshot crafted()The item crafted with this event.- Returns:
- The crafting transaction
-
slot
Returns the crafting output Slot.- Specified by:
slot
in interfaceClickContainerEvent
- Returns:
- The crafting output Slot
-