On Projectile Hit

Description

Executes a skill when the mob's special projectile type (trident, snowball, wither skull, llama's spit etc) hits an entity.

The associated @trigger is the entity that has been hit

Implemented Placeholders
<skill.var.damage-amount>
<skill.var.damage-type>
<skill.var.damage-cause>

Compatible Projectiles

Casting Entity Type Projectile
BLAZE SMALL_FIREBALL
ENDER_DRAGON DRAGON_FIREBALL
GHAST FIREBALL
LLAMA LLAMA_SPIT
WITHER WITHER_SKULL
DROWNED TRIDENT
SNOW_GOLEM SNOWBALL

Examples

NotYourAverageDrowned:
  Type: DROWNED
  Equipment:
    - TRIDENT HAND
  Skills:
  - modifyDamage{a=3;modifier=MULTIPLY;sync=true} ~onProjectileHit

Aliases

  • onProjectile_Hit
  • onTrident_Hit
  • onTridentHit
Updated Aug 19, 2026