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 interfaceChangeInventoryEvent.DropAn interaction resulting in dropping an item.static interfaceChangeInventoryEvent.Heldstatic interfaceChangeInventoryEvent.PickupFires after anItemhas been picked up.static interfaceChangeInventoryEvent.SwapHandFired when aPlayerswaps it's hands.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Inventoryinventory()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
-
-