> For the complete documentation index, see [llms.txt](https://enchantedmobs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://enchantedmobs.superiormc.cn/configs/triggers/projectiles.md).

# Projectile and Ranged Triggers

Each trigger section uses the same Context terminology as the [Power Triggers](/configs/triggers.md) index.

## `on-shoot-bow`

Runs when the powered mob fires a bow/crossbow projectile.

| Context             | Value                                                                                           |
| ------------------- | ----------------------------------------------------------------------------------------------- |
| Entity roles        | `SOURCE` is shooter; `SKILL`/`TARGET` are projectile.                                           |
| Event-specific data | Provides bow, consumable, hand, force, and projectile context; can capture continuation powers. |

***

## `on-projectile-launch`

Runs for a projectile launched by the powered mob.

| Context             | Value                                                 |
| ------------------- | ----------------------------------------------------- |
| Entity roles        | `SOURCE` is shooter; `SKILL`/`TARGET` are projectile. |
| Event-specific data | Provides projectile and location context.             |

***

## `on-projectile-tick`

Runs for each tracked projectile update.

| Context             | Value                                                             |
| ------------------- | ----------------------------------------------------------------- |
| Entity roles        | `SOURCE` is shooter; `SKILL`/`TARGET` are tracked projectile.     |
| Event-specific data | Only captured power IDs execute; top-level limit is not rerolled. |

***

## `on-projectile-hit`

Runs when a tracked projectile hits.

| Context             | Value                                                                            |
| ------------------- | -------------------------------------------------------------------------------- |
| Entity roles        | `SOURCE` is shooter; `SKILL` is projectile; `TARGET` is hit entity when present. |
| Event-specific data | Hit location/block is supplied and tracking ends.                                |
