Combat Events
Trigger actions during combat scenarios.
Event Library
- Shield Block — Triggers upon a successful block.
- Trident Throw — Triggers when a trident is launched.
- Trident Recall — Triggers when a Loyalty trident returns.
- Crossbow Reload — Triggers when reloading a crossbow.
Configuration
shield_block_event
Triggers when a player successfully blocks damage with a shield.
minDamage — Double
Minimum damage required to trigger event.
damageType — DamageCause
Source of damage (e.g. ENTITY_ATTACK, PROJECTILE).
trident_throw_event
Triggers when a player throws a trident.
hasRiptide — Boolean
If true, only triggers for Riptide tridents.
hasLoyalty — Boolean
If true, only triggers for Loyalty tridents.
trident_recall_event
Triggers when a Loyalty trident returns to the thrower.
informação
No additional configuration.
crossbow_reload_event
Triggers when a projectile is loaded into a crossbow.
projectileType — Material
Material of projectile loaded (ARROW, FIREWORK_ROCKET).
Examples
shield_block_event:
minDamage: 5.0
damageType: PROJECTILE
actions:
- sound_action:
sound: ITEM_SHIELD_BLOCK
pitch: 0.5
crossbow_reload_event:
projectileType: FIREWORK_ROCKET
actions:
- message_action:
message: "<yellow>Rocket loaded! Ready to blast."