Contains information related to a triggering of a custom item definition change.

Hierarchy (View Summary)

Properties

cancel: boolean

If set to true, will cancel the application of this item definition change.

eventName: string

Name of the data-driven item event that is triggering this change.

itemStack: ItemStack

Related item stack that the definitional change has been triggered upon.

source?: Player

Returns the source entity that triggered this item event.