Contains information related to an item being used.

Hierarchy (View Summary)

Properties

cancel: boolean

If set to true, this will cancel the item use behavior.

itemStack: ItemStack

The impacted item stack that is being used.

source: Player

Returns the source entity that triggered this item event.