The EntityApplyDamageByProjectileOptions interface in @minecraft/server.
Interface in @minecraft/server
import type { EntityApplyDamageByProjectileOptions } from '@minecraft/server';Properties
Section titled “Properties”damagingEntity
Section titled “damagingEntity”optional
damagingEntity?: Entity;Types
damagingProjectile
Section titled “damagingProjectile”damagingProjectile: Entity;Types