Minecraft /stopwatch command
Starts named stopwatches and checks the elapsed time; for timing parkour and race maps.
Syntax
/stopwatch create <id>
/stopwatch query <id> [<scale>]
/stopwatch restart <id>
/stopwatch remove <id>
Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.
Arguments
| Argument | What it does |
|---|---|
| <id> | A namespaced stopwatch name, for example og:parkour. |
| [<scale>] | Multiplies the result by this number; handy when writing to a score (type 20 to get ticks). |
Examples
/stopwatch create og:parkour
Starts the parkour stopwatch.
/stopwatch query og:parkour
Prints the time elapsed since the start, in seconds.
/execute if stopwatch og:parkour 60.. run say One minute has passed
Runs the command if the stopwatch has passed 60 seconds.
Good to know
- Added in 1.21.11.
- The execute if stopwatch condition checks the time as a range in seconds (60.. means 60 seconds or more).
How do I run this command?
Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).
Related commands
⚙️ More Advanced commands
Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.