Interface TransferInventoryEvent.Post
-
- All Superinterfaces:
Event
,TransferInventoryEvent
- Enclosing interface:
- TransferInventoryEvent
public static interface TransferInventoryEvent.Post extends TransferInventoryEvent
Fires after anInventory
transferred an item into an other inventory.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.TransferInventoryEvent
TransferInventoryEvent.Post, TransferInventoryEvent.Pre
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Slot
sourceSlot()
Returns the source slot of this item transfer.Slot
targetSlot()
Returns the target slot of this item transfer.ItemStackSnapshot
transferredItem()
The item getting transferred.-
Methods inherited from interface org.spongepowered.api.event.item.inventory.TransferInventoryEvent
sourceInventory, targetInventory
-
-
-
-
Method Detail
-
transferredItem
ItemStackSnapshot transferredItem()
The item getting transferred.- Returns:
- The item getting transferred
-
sourceSlot
Slot sourceSlot()
Returns the source slot of this item transfer.- Returns:
- The source slot of this item transfer
-
targetSlot
Slot targetSlot()
Returns the target slot of this item transfer.- Returns:
- The target slot of this item transfer
-
-