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

    接口 EntityApplyDamageOptions

    Additional descriptions and metadata for a damage event.

    interface EntityApplyDamageOptions {
        cause: EntityDamageCause;
        damagingEntity?: Entity;
    }
    索引

    属性

    Underlying cause of the damage.

    damagingEntity?: Entity

    Optional entity that caused the damage.