Need help with tick timer

Started by w4rlock on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help with tick timer
Fri, 07/11/2025 - 13:41 (edited)

I tried to make a tick timer, at first glance everything is fine, but when I call the procedure, the game freezes. Tell me plz where I made a mistake?

upd: https://drive.google.com/file/d/12L0Qzp-jfW27Gq0ekA-HgFEKulRFTyI-/view?usp=sharing (sorry for this thing... image is not rendering)

Edited by w4rlock on Fri, 07/11/2025 - 13:41
While loop will block whole…
Sun, 07/13/2025 - 10:24

While loop will block whole game until it finished.

To count on ticks, you increment on tick triggered procedure.

I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei