Edit: (28/07/2024) This design still works for 1.21 after some testing!
Any Problems let me know and we can try and sort them out together!
Here's the links and commands you need in order!
To make the objectives:
scoreboard objectives add Minute dummy
scoreboard objectives add Second dummy
scoreboard objectives add Tick dummy
Link to website: www.minecraftj...
To make the numbers show up:
scoreboard players add 1 Tick 0
scoreboard players add 0 Second 0
scoreboard players add 1 Second 0
scoreboard players add 0 Minute 0
scoreboard players add 1 Minute 0
For the command tower:
1: execute if score 1 Tick matches 20.. run scoreboard players set 1 Tick 0
2: scoreboard players remove 1 Second 1
3: execute if score 1 Second matches -1 run scoreboard players set 1 Second 9
4: scoreboard players remove 0 Second 1
5: execute if score 0 Second matches -1 run scoreboard players set 0 Second 5
6: scoreboard players remove 1 Minute 1
7: execute if score 1 Minute matches -1 run scoreboard players set 1 Minute 9
8: scoreboard players remove 0 Minute 1
8.5: scoreboard players add 1 Tick 1
9: execute if score 1 Second matches 0 if score 0 Second matches 0 if score 1 Minute matches 0 if score 0 Minute matches 0 run fill (your own cords) air
To set the timer to whatever you want or reset it:
scoreboard players set 1 Tick 0
scoreboard players set 0 Second 0
scoreboard players set 1 Second 0
scoreboard players set 0 Minute 0
scoreboard players set 1 Minute 0
Hopefully this helped you and see ya soon!
Негізгі бет Simple scoreboard action bar countdown timer using command blocks! - Java edition 1.15 - 1.21+
No video
Пікірлер: 146