Interface DropItemEvent.Close

All Superinterfaces:
AffectEntityEvent, Cancellable, DropItemEvent, Event, SpawnEntityEvent
Enclosing interface:
DropItemEvent

public static interface DropItemEvent.Close extends DropItemEvent, SpawnEntityEvent
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!