Class BeforeDataDrivenEntityTriggerEvent

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

Hierarchy

  • BeforeDataDrivenEntityTriggerEvent

Constructors

Properties

Constructors

Properties

cancel: boolean

If set to true, this entity event is not triggered.

entity: Entity

Entity that the event triggered on.

id: string

Name of the data driven event being triggered.

modifiers: DefinitionModifier[]

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