Started by
Scrimblo
on
Topic category: Help with Minecraft modding (Java Edition)
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?
Topic category: Help with Minecraft modding (Java Edition)
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?
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)