Contains information related to an item being used.

Hierarchy

Constructors

Properties

Constructors

Properties

cancel: boolean

Remarks

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

itemStack: ItemStack

Remarks

The impacted item stack that is being used.

source: Player

Remarks

Returns the source entity that triggered this item event.