Projectile Hit

Description

Simulates an hit from a bow's projectile. Useful for creating bows with custom projectiles that deal damage consistent with minecraft's bow mechanics. Damage done will scale appropriately with the projectile's velocity and the Power enchant on the bow that fired it.

Similar in scope to the Hit Mechanic

Can notably be used with

Inherits every attribute of the Damage mechanic.

The damage cause used by this mechanic is PROJECTILE

Attributes

Attribute Aliases Description Default
triggerskills ts Whether the damage mechanic should also be able to trigger onBowHit related triggers true
multiplier m The percentage of damage to deal 1
forcedDamage fd, forced If this attribute is set, the one specified will be the amount of flat damage that will be inflicted, without consideration for attribute modifiers and similar other modifiers 0
poweraffectsdamage pad Whether the mechanic's power should affect damage false
critAtMaxPower doCrits, crit Whether a projectile shot at the maximum bow power should be able to become a critical one true
velocityaffectsdamage vad Whether a projectile's velocity should affect its damage true

Examples

SuperProjectile:
  Skills:
  - snapshotusedbow
  - projectile{...;onHit=SuperProjectile-Hit} @target

SuperProjectile-Hit:
  Skills:
  - projectilehit{m=1.2}

Aliases

  • projectileDamage
  • arrowhit
Updated Aug 19, 2026