Contains information related to an entity getting hurt.
export class EntityHurtAfterEvent { private constructor(); readonly damage: number; readonly damageSource: EntityDamageSource; readonly hurtEntity: Entity;} Copy
export class EntityHurtAfterEvent { private constructor(); readonly damage: number; readonly damageSource: EntityDamageSource; readonly hurtEntity: Entity;}
Private
Readonly
Describes the amount of damage caused.
This property can't be read in early-execution mode.
Source information on the entity that may have applied this damage.
Entity that was hurt.
Contains information related to an entity getting hurt.
Source