Delays for a procedure with certain circumstances.

Started by uhmshadow on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Delays for a procedure with certain circumstances.

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 ^

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
THE WAIT PROCEDURE EXIST  In…
Sat, 02/26/2022 - 13:37

THE WAIT PROCEDURE EXIST 

In the newest version to date