Enchantment Procedure not working (Double strike enchantment)

Started by TrynaGames on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enchantment Procedure not working (Double strike enchantment)

A bit hard to explain, but I have an enchantment that is supposed to deal extra damage to an attacked entity and swing the players main hand. However it does neither.

 

What its supposed to look like: https://ibb.co/dw0Hnqy9

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you can't damage a mob while…
Wed, 10/29/2025 - 20:39

you can't damage a mob while it's invulnerable, just after being attacked. You probably don't see the arm swinging again because this trigger is called the same tick you click the mob

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you for telling! I…
Wed, 12/17/2025 - 14:38

Thank you for telling! I added a wait function for just a second and it worked perfectly after that!