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
Nested Classes Modifier and Type Interface Description static interface
ChangeInventoryEvent.Drop.Full
An interaction dropping an entire stack.static interface
ChangeInventoryEvent.Drop.Single
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Slot
slot()
The current active hand slot-
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 Detail
-
slot
Slot slot()
The current active hand slot- Returns:
- the current active hand slot.
-
-