public static interface DropItemEvent.Close extends DropItemEvent, SpawnEntityEvent
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!
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.PreSpawnEntityEvent.ChunkLoad, SpawnEntityEvent.Custom, SpawnEntityEvent.SpawnerfilterEntities, filterEntityLocations, getEntities, getEntitySnapshotsgetCause, getContext, getSourceisCancelled, setCancelled