Contains event registration related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken.
export class DataDrivenEntityTriggerAfterEventSignal { private constructor(); subscribe( callback: (arg0: DataDrivenEntityTriggerAfterEvent) => void, options?: EntityDataDrivenTriggerEventOptions, ): (arg0: DataDrivenEntityTriggerAfterEvent) => void; unsubscribe(callback: (arg0: DataDrivenEntityTriggerAfterEvent) => void): void;} Copy
export class DataDrivenEntityTriggerAfterEventSignal { private constructor(); subscribe( callback: (arg0: DataDrivenEntityTriggerAfterEvent) => void, options?: EntityDataDrivenTriggerEventOptions, ): (arg0: DataDrivenEntityTriggerAfterEvent) => void; unsubscribe(callback: (arg0: DataDrivenEntityTriggerAfterEvent) => void): void;}
Private
Optional
Adds a callback that will be called after a data driven entity event is triggered.
no-restricted-execution - This function can't be called in restricted-execution mode.
early-execution-allowed - This function can be called in early-execution mode.
Removes a callback that will be called after a data driven entity event is triggered.
Contains event registration related to firing of a data driven entity event - for example, the minecraft:ageable_grow_up event on a chicken.
Source