Provides information about how damage has been applied to an entity.
export interface EntityDamageSource { cause: EntityDamageCause; damagingEntity?: Entity; damagingProjectile?: Entity;} Copy
export interface EntityDamageSource { cause: EntityDamageCause; damagingEntity?: Entity; damagingProjectile?: Entity;}
Cause enumeration of damage.
Optional
Optional entity that caused the damage.
Optional projectile that may have caused damage.
Provides information about how damage has been applied to an entity.
Source