Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicCrucible MythicCrucible
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicCrucibleMythicCrucible
  • Wiki
    • Skills
    • Mechanics
  • ProjectileHit

Last edited by Lxlp May 03, 2025
Page history

ProjectileHit

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

  • the ArrowDamage attribute
  • ~onShoot trigger for bows
  • projectile mechanics

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
Clone repository
Home
Changelogs
Commands / Permissions
API
FAQ / Common Issues
Guides

Usage
  • Installation
  • Items
    • Item Options
    • Item Skills
    • Item Durability
  • Augments
  • Item Sets
  • Crafting Recipes
    • Workbenches
  • Item Updater
  • Ammo System / Guns
  • Dynamic Lore Generation
  • World Generation
  • Loot Generation

ResourcePack Generator

Item Types
  • Blocks
  • Furniture
    • Paint Brush
  • Bags
  • Hats
  • Augments

Mechanics
  • Mechanics
  • Targeters
  • Triggers
  • Conditions

Placeholders
  • Placeholders