Started by
ErnBEY
on
Topic category: Help with Minecraft modding (Java Edition)
How can I make it so that when we hit an object or a person, it gives an effect, and then when we hit it again, it deletes the effect?
Topic category: Help with Minecraft modding (Java Edition)
How can I make it so that when we hit an object or a person, it gives an effect, and then when we hit it again, it deletes the effect?
I don't understand anything, what can I do?
Make a procedure that looks like this, and replace 'Poison' with the effect, duration, and power you want:
Then, in the 'Triggers' tab of your special item, choose your custom procedure here:
I have, again, tested this, and it should work when written and linked this way.
dosn`t work again :(
im use 1.12.2 generator
Oh, that is probably the issue, I am using 1.20. I'll look into the 1.12 generator and get back to you.
I tried the 1.12 generator, and it does not have the functions to add potion effects to entities, or the commands that can target entities. It is probably still possible to do this, but not using MCreator's regular tools. I am not totally sure how you would do this, because I do not use 1.12.
If you're not too far along developing your mod, you might want to consider installing a newer version of MCreator with more functions, if you are willing to update to a newer version of Minecraft.
no thanks , but my friend make in 1.12.2 and working my friend
How do I do it when I hit someone with a tool, a command is carried out, and when I hit it again, something else happens?