public static interface DropItemEvent.Destruct extends DropItemEvent, SpawnEntityEvent
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.Break
or
DestructEntityEvent.Death
.
DropItemEvent.Close, DropItemEvent.Custom, DropItemEvent.Destruct, DropItemEvent.Dispense, DropItemEvent.Pre
SpawnEntityEvent.ChunkLoad, SpawnEntityEvent.Custom, SpawnEntityEvent.Spawner
filterEntities, filterEntityLocations, getEntities, getEntitySnapshots
getCause, getContext, getSource
isCancelled, setCancelled