Script API - v1.26.10
    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.

    export class DataDrivenEntityTriggerAfterEvent {
    private constructor();
    readonly entity: Entity;
    readonly eventId: string;
    getModifiers(): DefinitionModifier[];
    }
    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