接口 EntityApplyDamageByProjectileOptions实验性

Additional options for when damage has been applied via a projectile.

interface EntityApplyDamageByProjectileOptions {
    damagingEntity?: Entity;
    damagingProjectile: Entity;
}

属性

damagingEntity?: Entity

Optional entity that fired the projectile.

damagingProjectile: Entity

Projectile that caused damage.