Started by
Mangust
on
Topic category: Help with MCreator software
Hello, I need help with a procedure. The fashion I do has levels. By increasing them, the player gets more hp, more speed and the like (I increase the attributes). The problem is that with each level, hunger is spent faster and faster, and it's simply impossible to play normally at 5. I tried to make a procedure, thanks to which I will slow down hunger, but she does not want to work normally. I have it instructed to wait 300 ticks, after which, if the food level is less than 20, add 1 food level. She, instead, after 300 ticks instantly fills the entire bar of hunger, after which the hunger is no longer reduced.
I'm sorry for my bad english
Edited by Mangust on Mon, 05/23/2022 - 16:42
Figure it out myself. I was able to make a working procedure that adds 1 hunger level every 300 ticks. If anyone needs it, I can upload it here. Just tell me how to attach the file (there will be a lot of screenshots, the procedure is quite long)