Started by
Extracted_Rage
on
Topic category: Help with Minecraft modding (Java Edition)
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
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.