Contains information related to an entity getting hurt.

Hierarchy

  • EntityHurtAfterEvent

Constructors

Properties

Constructors

Properties

damage: number

Remarks

Describes the amount of damage caused.

damageSource: EntityDamageSource

Remarks

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

hurtEntity: Entity

Remarks

Entity that was hurt.