Started by
Kiko07
on
Topic category: Help with Minecraft modding (Java Edition)
I am new to MCreator and I would like to know how to put potion effects on a piece of armor, in this case a helmet. How do I put potion effects permanently when I wear the helmet and then when I take off my helmet the effects stop ?
Thanks for your time!
Edited by Kiko07 on Sun, 07/14/2019 - 18:44
You just have to make a procedure that tests for whether a certain piece of armor is in its slot, then if true then add potion effect duration 0 or 1. Then the potion effect will be given when armor on, but when taken off, will almost immediately run out.
Thanks, could you send me a picture please?