Class EntityHurtEventBeta

Contains information related to an entity getting hurt by another entity.

Hierarchy

  • EntityHurtEvent

Constructors

Properties

Constructors

Properties

damage: number

Describes the amount of damage caused.

damageSource: EntityDamageSource
hurtEntity: Entity

Entity that was hurt.