Class: EntityHurtAfterEvent
event entityBeta
包含与实体受到伤害相关的信息。
Contains information related to an entity getting hurt.
Properties
damage
readonlydamage:number
Beta
Remarks
描述造成的伤害量。
Describes the amount of damage caused.
damageSource
readonlydamageSource:EntityDamageSource
Beta
Remarks
可能施加此伤害的实体的来源信息。
Source information on the entity that may have applied this damage.
hurtEntity
readonlyhurtEntity:Entity
Beta
Remarks
受到伤害的实体。
Entity that was hurt.
