Interface ChangeInventoryEvent
-
- All Superinterfaces:
AffectItemStackEvent
,AffectSlotEvent
,Cancellable
,Event
- All Known Subinterfaces:
ChangeInventoryEvent.Drop
,ChangeInventoryEvent.Drop.Full
,ChangeInventoryEvent.Drop.Single
,ChangeInventoryEvent.Held
,ChangeInventoryEvent.Pickup
,ChangeInventoryEvent.SwapHand
,ClickContainerEvent
,ClickContainerEvent.Creative
,ClickContainerEvent.Creative.Drop
,ClickContainerEvent.Creative.Set
,ClickContainerEvent.Double
,ClickContainerEvent.Drag
,ClickContainerEvent.Drag.Middle
,ClickContainerEvent.Drag.Primary
,ClickContainerEvent.Drag.Secondary
,ClickContainerEvent.Drop
,ClickContainerEvent.Drop.Full
,ClickContainerEvent.Drop.Outside
,ClickContainerEvent.Drop.Outside.Primary
,ClickContainerEvent.Drop.Outside.Secondary
,ClickContainerEvent.Drop.Single
,ClickContainerEvent.Middle
,ClickContainerEvent.NumberPress
,ClickContainerEvent.Primary
,ClickContainerEvent.Recipe
,ClickContainerEvent.Recipe.All
,ClickContainerEvent.Recipe.Single
,ClickContainerEvent.Secondary
,ClickContainerEvent.SelectTrade
,ClickContainerEvent.Shift
,ClickContainerEvent.Shift.Primary
,ClickContainerEvent.Shift.Secondary
,CraftItemEvent
,CraftItemEvent.Craft
,CraftItemEvent.Preview
,EnchantItemEvent.Post
,InteractContainerEvent.Close
public interface ChangeInventoryEvent extends Event, AffectSlotEvent
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ChangeInventoryEvent.Drop
An interaction resulting in dropping an item.static interface
ChangeInventoryEvent.Held
static interface
ChangeInventoryEvent.Pickup
Fires after anItem
has been picked up.static interface
ChangeInventoryEvent.SwapHand
Fired when aPlayer
swaps it's hands.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Inventory
inventory()
Gets theInventory
.-
Methods inherited from interface org.spongepowered.api.event.item.inventory.AffectSlotEvent
filter, transactions
-
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
-
-