@minecraft
    正在准备搜索索引...

    类 EntityHurtBeforeEvent实验性

    Contains information related to an entity that will be hurt.

    索引

    属性

    cancel: boolean
    damage: number

    Describes the amount of damage that will be caused.

    damageSource: EntityDamageSource

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

    hurtEntity: Entity

    Entity that will be hurt.