Script API - v1.19.70
    Preparing search index...

    Class BeforeItemDefinitionTriggeredEventBeta

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

    Index

    Constructors

    Properties

    Constructors

    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.

    item: ItemStack

    The impacted item stack that is being used.

    source: Entity

    Returns the source entity that triggered this item event.