EntityHurtEvent
¶
文档版本:1.21.60.21
EntityHurtEvent
类。script_api.mojang-minecraft.entityhurtevent.description
属性¶
cause
cause
:string
- script_api.mojang-minecraft.entityhurtevent.cause.description
damage
damage
:float
- script_api.mojang-minecraft.entityhurtevent.damage.description
damagingEntity
damagingEntity
:Entity
|undefined
- script_api.mojang-minecraft.entityhurtevent.damagingentity.description
hurtEntity
hurtEntity
:Entity
- script_api.mojang-minecraft.entityhurtevent.hurtentity.description
projectile
projectile
:Entity
|undefined
- script_api.mojang-minecraft.entityhurtevent.projectile.description