Started by
KykokosPro
on
Topic category: Help with Minecraft modding (Java Edition)
I have a procedure that triggers a countdown and then a bomb explosion. But I don't know how to make the countdown stop (and the bomb explosion) when I "disarm" the bomb.
Use a timer variable that is global. Make it so that when it hits 0 it will explode the bomb, but when you diffuse it set it to -1. if it is greater than 0 each tick it will decrease by one.
ok thx