Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains optional parameters for registering an entity hurt after event.
Properties
allowedDamageCauses
allowedDamageCauses?: EntityDamageCause[];
If this value is set, this event will only fire for damage causes that match.
Type: EntityDamageCause[]
entities
entities?: Entity[];
If this value is set, this event will only fire for entities that match the entities within this collection.
Type: Entity[]
entityFilter
entityFilter?: EntityFilter;
If this value is set, this event will only fire for entities that match.
Type: EntityFilter
entityTypes
entityTypes?: string[];
If this value is set, this event will only fire if the impacted entities' type matches this parameter.
Type: string[]