Topic category: Help with Minecraft modding (Java Edition)
Hello! I'm trying to make a temperature mod. In this mod there is a procedure, this check what biome you are in, then if you are not wearing the "wool" armor, and then gives you an effect. But if i try to add a tick delay to that effect, and then the player goes out. It will go off anyway. Sooooo i tried to just duplicate the procedure so that in the tick delay it is the same thing, checking for the same thing. Surely this just checks again and if it isnt true it stops. Nope, it just does it anyway even if the player moves out of the biome. So i just looks dumb to go into a cold biome. Not freeze. Then go to a warm one, then 10 seconds later start freezing. Any fix or way that you guys could find away around?
https://pasteboard.co/XqZXqkQm7Ime.png
Image ^
THE WAIT PROCEDURE EXIST
In the newest version to date