Started by
Valsier
on
Topic category: Help with Minecraft modding (Java Edition)
So, I was trying to create an enchantment called Zeus' Wrath that would go on a sword and strike a lightning on the entity being attacked upon critical hit. I used a Procedure to test if the weapon was a diamond sword and if it had the enchantment, it would deal 10 damage and strike a lightning, but for some reason it doesnt work. Even if the diamond sword has the custom enchantment, it's in no way different from an unenchanted sword. Can someone explain to me why that is and possibly show me a solution? Thanks in andvance.
I don't know why, but the image doesn't show. To see the proof right click on the image icon and open it in a new tab.
I solved this, but then another problem appeared. I want the lightning to appear only on critical hit, but it does even when its a normal one.
hmm... i dont know how to change that