Class ItemDefinitionTriggeredBeforeEventBeta

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

Hierarchy

Constructors

Properties

Constructors

Properties

cancel: boolean

Remarks

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

eventName: string

Remarks

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

itemStack: ItemStack
source: Entity

Remarks

Returns the source entity that triggered this item event.