Started by
AlexisAngel
on
Topic category: Help with Minecraft modding (Java Edition)
Hey!
I've recently started making a new mod and I have added a status effect, as of now it doesn't do anything but what I want it to do is to disable the players healing, kindof like when you don't have enough food to heal
I haven't found a way to do this, does anyone have an idea on how I can do it?
I tested it 1 time it works unless you are talking about other variables. if you are talking about vanilla healing this should work.
Remember that you need to change the active potion defined in the picture to whatever potion you will be using.
Also this will be it's own procedure, DO NOT PUT THIS IN THE EFFECTS OF A POTION. This won't work in Any of the triggers for the potion. Hope this helps :)
Thank you so much! That works just as i wanted it to!