Bow enchantments

Started by Snewil on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bow enchantments

is there a way to make an enchantment work only if the entity was hit with the arrow and not the bow item? if you simply use "has enchantment", then it triggers from direct hits with a bow as well and if you equip any other item without that enchantment while the arrow is airborne, it wont trigger the enchantment when it hits the entity

Joined Jun 2026
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try creating a procedure for…
Mon, 06/08/2026 - 21:35

Try creating a procedure for "On entity tick update" and then checking if event/target entity is an arrow (or wahtever projectile your using) and then checking if the arrow has hit the player (idk how to do that) then check if source entity (the player/whatever is shooting it) has the bow with the enchant in there inventory. 

Its not perfect and does have some flaws (like if the player drops it before the projectile)