How to make a countdown gui that appears when igniting tnt?

Started by Scrimblo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a countdown gui that appears when igniting tnt?

I would like to make a countdown timer gui at the top of the screen that counts down to 0 when igniting some tnt. Anyone know how to do this?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You would use the overlay…
Thu, 02/20/2025 - 00:37

You would use the overlay mod element and make a procedure that changes the overlay from (say you're doing a 5-second timer) 5 to 4. In the procedure, you would do something like: Wait-20 ticks. (20 ticks is 1 second) and then make it switch from 5 to 4. Tell me if you need more help (screenshots, or a more in-depth guide. Also, I didn't do any testing or anything, so it might not be 100% accurate but I tried)