Class ItemDespawnEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.entity.EntityEvent
org.bukkit.event.entity.ItemDespawnEvent
All Implemented Interfaces:
Cancellable

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.