Working Command Block StopwatchClock in Minecraft 117
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=lpE4aGCibUE
Today I am going to show you a working clock/stopwatch that works in 1.17. • What should I do next? Let me know in the comments! • -- Command -- • Put the command blocks in a line • Start/setup: • #1 Normal: • /scoreboard objectives add Time dummy • #2 Chain, Always active: • /scoreboard objectives add hiddenTime dummy • #3 Chain, Always active: • /scoreboard objectives setdisplay sidebar Time • #4 (add when the clock is done) Chain, Always active: • /setblock (coordinates of the block that the redstone torch sits on) stone • Armor stands (don't need to be in command blocks): • #1: • /summon armor_stand ~ ~ ~ {NoGravity:1b,CustomName: {\\ text\\ :\\ Seconds\\ } ,CustomNameVisible:1b} • #2: • /summon armor_stand ~ ~ ~ {NoGravity:1b,CustomName: {\\ text\\ :\\ Minutes\\ } ,CustomNameVisible:1b} • #3: • /summon armor_stand ~ ~ ~ {NoGravity:1b,CustomName: {\\ text\\ :\\ Hours\\ } ,CustomNameVisible:1b} • Clock setup, put on a redstone one second clock. • Line #1: • #1 Normal: • /scoreboard players add @e[limit=1,name=Seconds] hiddenTime 1 • #2 Chain, Always active: • /scoreboard players add Seconds Time 1 • Line #2: • #1 Normal: • /execute as @e[type=minecraft:armor_stand,limit=1,name=Seconds,scores={hiddenTime=59..}] run scoreboard players add Minutes Time 1 • #2 Chain, Always active, Conditional: • /scoreboard players set @e[type=minecraft:armor_stand,limit=1,name=Seconds,scores={hiddenTime=59..}] hiddenTime -1 • #3 Chain, Always active, Conditional: • /scoreboard players set Seconds Time -1 • #4 Chain, Always active, Conditional: • /scoreboard players set @e[type=minecraft:armor_stand,limit=1,name=Minutes,scores={hiddenTime=59..}] hiddenTime 1 • Line #3: • #1 Normal: • /execute as @e[type=minecraft:armor_stand,limit=1,name=Minutes,scores={hiddenTime=59..}] run scoreboard players add Hours Time 1 • #2 Chain, Always active, Conditional: • /scoreboard players set @e[type=minecraft:armor_stand,limit=1,name=Minutes,scores={hiddenTime=59..}] hiddenTime -1 • #3 Chain, Always active, Conditional: • /scoreboard players set Minutes Time -1 • Stop the clock: • #1 Normal: • /scoreboard objectives remove Time • #2 Chain, Always active: • scoreboard objectives remove hiddenTime • #3 Chain, Always active: • setblock (coordinates of the block that the redstone torch sits on) minecraft:redstone_block • -- Timestamps -- • 0:00 Intro • 0:12 Setup • 0:29 The Clock • 0:56 Stopping Starting • 1:04 Outro • -- Music -- • Ambulo - In Orbit • • Video • -- Tags -- • minecraft clock,stopwatch,minecraft clock tutorial,minecraft stopwatch,minecraft stopwatch tutorial,minecraft,minecraft tutorial,minecraft command block tutorial,minecraft command tutorial,command block,command block tutorial,/title,/title tutorial,minecraft /title tutorial
#############################
