Every _ ticks - while __

Started by Tucky143 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Every _ ticks - while __
Sat, 09/21/2024 - 05:08 (edited)

How would I make it so every set seconds while something is true something happens? If I put a while and then inside a wait 1 tick it repeats on and-on-and doesn't wait 1 tick after 1 tick.

Edited by Tucky143 on Sat, 09/21/2024 - 05:08
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use an if and set the global…
Sat, 09/21/2024 - 06:00

Use an if and set the global trigger to one that activates every tick, like on world tick update or on player tick update depending on what you need to check