Interface InventoryTransactionResult.Poll
- All Superinterfaces:
InventoryTransactionResult
- Enclosing interface:
InventoryTransactionResult
The InventoryTransactionResult for a single
Inventory.poll()
operation.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult
InventoryTransactionResult.Builder, InventoryTransactionResult.Poll, InventoryTransactionResult.Type
-
Method Summary
Modifier and TypeMethodDescriptionReturns the item polled by the operationMethods inherited from interface org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult
and, polledItems, rejectedItems, revert, revertOnFailure, slotTransactions, type
-
Method Details
-
polledItem
ItemStackSnapshot polledItem()Returns the item polled by the operation- Returns:
- the item polled by the operation
-