Started by
Jaw10_
on
Topic category: Help with Minecraft modding (Java Edition)
How would i make a sword that deals +50% of my swords damge to only undead mobs?
Here is what ive gotten so far, i havent been able to figure out how to add a % to the "deal ____ damage" section,
Any help is appreciated! :D
why don't you just make it so the sword is enchanted with a higher-than-max level of smite by default?
I was thinking that, but i want players to be able to add Sharpness if they want as well, if smite is an enchantment, (If im correct) they wont be able to put sharpness on it :/
Hey yo, fine? Don't know if you still figuring out how to to that but it's very simple.
First, create a new procedure and make it to be equal to mine:
Then, go to your item, and edit it, go to the "Triggers" tab and select you procedure on "When living entity is hit with tool" and select your procedure.
For now you wont be able to calculte a percente like 50% damage on the procedure, so you will need to make it manually and then set the damage value on the procedure, you can create one procedure for each tool, or only one for all, like in my mod.