类 EntityHurtAfterEvent实验性

Contains information related to an entity getting hurt.

属性

damage: number

Describes the amount of damage caused.

damageSource: EntityDamageSource

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

hurtEntity: Entity

Entity that was hurt.