Interface ChangeInventoryEvent.Drop
- All Superinterfaces:
AffectEntityEvent
,AffectItemStackEvent
,AffectSlotEvent
,Cancellable
,ChangeInventoryEvent
,DropItemEvent
,DropItemEvent.Dispense
,Event
,SpawnEntityEvent
- All Known Subinterfaces:
ChangeInventoryEvent.Drop.Full
,ChangeInventoryEvent.Drop.Single
- Enclosing interface:
ChangeInventoryEvent
public static interface ChangeInventoryEvent.Drop
extends ChangeInventoryEvent, DropItemEvent.Dispense
An interaction resulting in dropping an item.
Note this is for dropping items with no container open.
See ClickContainerEvent.Drop
for events with a container open.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
An interaction dropping an entire stack.static interface
An interaction dropping a single item.Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.ChangeInventoryEvent
ChangeInventoryEvent.Drop, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand
Nested classes/interfaces inherited from interface org.spongepowered.api.event.item.inventory.DropItemEvent
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.Pre
Nested classes/interfaces inherited from interface org.spongepowered.api.event.entity.SpawnEntityEvent
SpawnEntityEvent.Custom, SpawnEntityEvent.Pre
-
Method Summary
Methods inherited from interface org.spongepowered.api.event.entity.AffectEntityEvent
entities, entitySnapshots, filterEntities, filterEntityLocations
Methods inherited from interface org.spongepowered.api.event.item.inventory.AffectSlotEvent
filter, transactions
Methods inherited from interface org.spongepowered.api.event.Cancellable
isCancelled, setCancelled
Methods inherited from interface org.spongepowered.api.event.item.inventory.ChangeInventoryEvent
inventory
-
Method Details
-
slot
Slot slot()The current active hand slot- Returns:
- the current active hand slot.
-