@minecraft/server
    Preparing search index...

    Interface EntityApplyDamageByProjectileOptionsBeta

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

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

    Properties

    damagingEntity?: Entity

    Optional entity that fired the projectile.

    damagingProjectile: Entity

    Projectile that caused damage.