public interface InventoryOperationResult
Modifier and Type | Interface and Description |
---|---|
static class |
InventoryOperationResult.Type |
Modifier and Type | Method and Description |
---|---|
Optional<Collection<ItemStack>> |
getRejectedItems()
If items were supplied to the operation, this collection will return any
items which were rejected by the target inventory.
|
Optional<Collection<ItemStack>> |
getReplacedItems()
If the operation replaced items in the inventory, this collection returns
the ItemStacks which were replaced.
|
InventoryOperationResult.Type |
getType()
Get the type of result.
|
InventoryOperationResult.Type getType()
Optional<Collection<ItemStack>> getRejectedItems()
Optional<Collection<ItemStack>> getReplacedItems()