Interface TransferInventoryEvent.Post
- All Superinterfaces:
Event
,TransferInventoryEvent
- Enclosing interface:
TransferInventoryEvent
Fires after an
Inventory
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
Modifier and TypeMethodDescriptionReturns the source slot of this item transfer.Returns the target slot of this item transfer.The item getting transferred.Methods inherited from interface org.spongepowered.api.event.item.inventory.TransferInventoryEvent
sourceInventory, targetInventory
-
Method Details
-
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
-