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

    Class DataDrivenEntityTriggerAfterEvent

    Contains information related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    entity: Entity

    Entity that the event triggered on.

    This property can't be read in early-execution mode.

    eventId: string

    Name of the data driven event being triggered.

    This property can't be read in early-execution mode.

    Methods

    • Returns DefinitionModifier[]

      An updateable list of modifications to component state that are the effect of this triggered event.

      This function can't be called in early-execution mode.