Interface InventoryTransactionResult.Poll
-
- All Superinterfaces:
InventoryTransactionResult
- Enclosing interface:
- InventoryTransactionResult
public static interface InventoryTransactionResult.Poll extends InventoryTransactionResult
The InventoryTransactionResult for a singleInventory.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ItemStackSnapshot
polledItem()
Returns the item polled by the operation-
Methods inherited from interface org.spongepowered.api.item.inventory.transaction.InventoryTransactionResult
and, polledItems, rejectedItems, revert, revertOnFailure, slotTransactions, type
-
-
-
-
Method Detail
-
polledItem
ItemStackSnapshot polledItem()
Returns the item polled by the operation- Returns:
- the item polled by the operation
-
-