Topic category: Help with MCreator software
Hello! I know the title sounds weird, but hear me out!
Today, I made a new sword, which is a little special.
-On right-click, it shoots a fireball that creates a small explosion and damages any mob/player, at the cost of 10 durability (that's why it's a ranged item; ammunition is the fireball)
- The sword is also intended for closed-ranged combat, but the problem is when I hit (left-click) another entity (mob or player), the sword doesn't lose durability, and I'm wondering how I could make it lose 1 durability on hit.
Help would be appreciated, thanks!