Weapons with custom abilities do not do the set damage, and only does the effects damage

Started by Extracted_Rage on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Weapons with custom abilities do not do the set damage, and only does the effects damage

I'm currently developing a mini mod for myself and I've been figuring things out fairly well so far, up until this point, I cannot seem to figure out why there is no damage being dealt using the items (in this case it would be both the axe and sword) but there is damage being dealt with the effects it inflicts on the entity / target (the effect damage is intentional)

here's a screenshot of the procedure:
https://imgur.com/a/JBtdtos

I have no other ideas so any help would be greatly appreciated!

-Extracted

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it not because you areā€¦
Thu, 01/26/2023 - 13:16

Is it not because you are canceling the global trigger? Removing that would probably fix the issue. 

Also, you could go to the swords triggers and select the "When right clicked" (if you have it as an activated ability) or "When living entity is hit with tool" to then damage the item with 1 point.