@minecraft/server / EntityDataDrivenTriggerEventOptions
Interface: EntityDataDrivenTriggerEventOptions ​
Defined in: @minecraft/server/index.d.ts:23187
Specifies additional filters that are used in registering a data driven trigger event for entities.
Properties ​
entities? ​
optionalentities?:Entity[]
Defined in: @minecraft/server/index.d.ts:23194
Remarks ​
If this value is set, this event will only fire for entities that match the entities within this collection.
entityTypes? ​
optionalentityTypes?:string[]
Defined in: @minecraft/server/index.d.ts:23201
Remarks ​
If this value is set, this event will only fire if the impacted entities' type matches this parameter.
eventTypes? ​
optionaleventTypes?:string[]
Defined in: @minecraft/server/index.d.ts:23209
Remarks ​
If this value is set, this event will only fire if the impacted triggered event matches one of the events listed in this parameter.