Started by
sekret
on
Topic category: Help with Minecraft modding (Java Edition)
Please help me. How to make a sword that will cause additional damage to certain mobs. For example, when a zombie is hit with a sword, it will deal 6 damage and the Summoner 8.
Make a procedure that activates when a mob is hit that id it is a certain mob it deals however much extra damage
You didn't answer my question
That's not what I meant.I asked how to do sword damage to different mobs different
that's what they said, make a procedure that activates when a mob is hit and check if it's the specific mob you're looking for and do how much damage you want
Thank you
And how to implement it?
And how to implement this in the procedure?
It's very simple. Make a global procedure that doesn't need external calling except for when a mob is hit. Just do what everyone else said.
I know how, give me a sec...
Okay, I now how to do it:
Here's a video: https://drive.google.com/file/d/1BCCL4jkDnn1R3v-Glq6yqCXEhqnpwtEE/view?…
I tested this so I know its works.