Contains information related to an entity getting hurt.

Properties

damage: number

Describes the amount of damage caused.

damageSource: EntityDamageSource

Source information on the entity that may have applied this damage.

hurtEntity: Entity

Entity that was hurt.