Additional descriptions and metadata for a damage event.

interface EntityApplyDamageOptions {
    cause: EntityDamageCause;
    damagingEntity?: Entity;
}

Properties

Underlying cause of the damage.

damagingEntity?: Entity

Optional entity that caused the damage.