Class ItemDespawnEvent

All Implemented Interfaces:

public class ItemDespawnEvent
extends EntityEvent
implements Cancellable
This event is called when a Item is removed from the world because it has existed for 5 minutes.

Cancelling the event results in the item being allowed to exist for 5 more minutes. This behavior is not guaranteed and may change in future versions.