Skip to main content

Interface: EntityDamageSource

Provides information about how damage has been applied to an entity.

Properties

cause

cause: EntityDamageCause

Remarks

Cause enumeration of damage.


damagingEntity?

optional damagingEntity: Entity

Remarks

Optional entity that caused the damage.


damagingProjectile?

optional damagingProjectile: Entity

Remarks

Optional projectile that may have caused damage.