Interface DropItemEvent.Destruct

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

public static interface DropItemEvent.Destruct extends DropItemEvent, SpawnEntityEvent
Called when one or more Item drops are triggered by an object such as an Entity or BlockType destruction.

Canceling this event only prevents the items from being dropped. Inventories or blocks affected are not rolled back. You might want to listen to ChangeBlockEvent.Pre or DestructEntityEvent.Death.