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