Interface DropItemEvent.Close
- All Superinterfaces:
AffectEntityEvent, Cancellable, DropItemEvent, Event, SpawnEntityEvent
- Enclosing interface:
DropItemEvent
Called whenever an
Item is dispensed by closing a Container.
e.g. The item on the cursor while closing the container or the contents of a crafting table with no free slots in the players inventory.
Canceling this event only prevents the items from being dropped. Affected inventories are not rolled back!
-
Nested Class Summary
Nested classes/interfaces inherited from interface DropItemEvent
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.PreNested classes/interfaces inherited from interface SpawnEntityEvent
SpawnEntityEvent.Custom, SpawnEntityEvent.Pre -
Method Summary
Methods inherited from interface AffectEntityEvent
entities, entitySnapshots, filterEntities, filterEntityLocationsMethods inherited from interface Cancellable
isCancelled, setCancelled