> 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/for-ultimatequest/configuration/triggers.md).

# Task Triggers

A trigger chooses which player action counts toward an objective. For example, `block_break` counts broken blocks, `kill` counts defeated entities, and `fish` counts fishing events. Add conditions to select the blocks, mobs, or items you want.

## Basic configuration

```yaml
source:
  trigger: block_place
  amount: 32
```

This objective requires 32 block placements. Put it in a normal task, or use the same source format in the other task types described in [Objectives and Sources](/for-ultimatequest/configuration/objectives.md).

Use the lowercase ID listed on the reference page, such as `block_place`. The full `ultimatequest:block_place` form is also accepted.

## Counting progress

By default, one matching event adds one progress point. A damage event does not automatically add the amount of damage, and a movement event does not measure an exact distance. Fishing objectives can use `count: items` to count the caught stack size. Each trigger page describes its behavior and available filters.

Cancelled events do not count. A normal task must be accepted before progress starts. See [Event Conditions](/for-ultimatequest/configuration/conditions.md) to narrow an objective and [Anti-abuse](/for-ultimatequest/features/anti-abuse.md) to control repeated actions.

## Platform availability

Some triggers require Paper or a particular server version. Check the availability on the individual page before using one. If a task refers to an unavailable trigger, correct the configuration or use a supported trigger before reloading.

## Reference

* [Tick and lifecycle](/for-ultimatequest/configuration/triggers/lifecycle.md): `tick`, `spawn`, `respawn`.
* [Combat and damage](/for-ultimatequest/configuration/triggers/combat.md): `attack`, `melee_attack`, `damage`, `damage_by_entity`, `kill`, `death`, `regain`, `shield_block`, `shield_disable`, `attempt_smash_attack`, `knockback`, `combust`, `creeper_explode`.
* [Projectiles and ranged attacks](/for-ultimatequest/configuration/triggers/projectiles.md): `projectile_launch`, `projectile_hit`, `projectile_tick`, `shoot`, `shoot_bow`, `load_crossbow`.
* [Blocks and interactions](/for-ultimatequest/configuration/triggers/blocks-interactions.md): `block_break`, `block_damage`, `block_drop_item`, `block_place`, `block_break_progress_update`, `interact`, `inside_block`, `vibration_receive`.
* [Items and equipment](/for-ultimatequest/configuration/triggers/items-equipment.md): `consume`, `enchant_item`, `item_damage`, `item_held`, `swap_hand`, `item_group_cooldown`, `name_entity`.
* [Movement and input](/for-ultimatequest/configuration/triggers/movement-input.md): `move`, `input`, `toggle_sneak`, `toggle_flight`, `riptide`, `jump`, `elytra_boost`, `lunge`.
* [Player state](/for-ultimatequest/configuration/triggers/player-state.md): `air_change`, `food_level_change`, `exp_change`, `potion_effect`, `effect_tick`, `exhaustion`, `pickup_experience`.
* [Fishing and trading](/for-ultimatequest/configuration/triggers/fishing-trading.md): `fish`, `piglin_barter`, `trade`, `purchase`.
* [Targeting and special entities](/for-ultimatequest/configuration/triggers/targeting-special.md): `target`, `untag`, `target_tick`, `enderman_attack_player`, `phantom_pre_spawn`, `warden_anger_change`.
