/stopwatch
< Commands
This article is a stub.
You can help by expanding it. The talk page may contain suggestions.
/stopwatch| Permission level required |
3 |
|---|---|
| Restrictions |
None |
{
"title": "<code>/stopwatch</code>",
"rows": [
{
"field": "3",
"label": "(link to Permission level article, displayed as Permission level<br>required)"
},
{
"field": "None",
"label": "(link to Commands#Restrictions article, displayed as Restrictions)"
}
],
"invimages": [],
"images": []
}
Allows manipulation of stopwatches to keep track of time.
Time is in seconds with three decimal points of accuracy (Ex: 0.961s)
Is not affected by pausing or by /tick.
Syntax
- Java Edition
stopwatch create <id>- Creates a stopwatchstopwatch query <id> scale- Gets the value of the stopwatch (scaledoes not affect the displayed value in chat, but does otherwise work)stopwatch restart <id>- Resets a stopwatchstopwatch remove <id>- Removes a stopwatch
History
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.21.11 | 25w41a | Added /stopwatch. | |||||
| 25w42a | Switched the order of the id argument. | ||||||
query now returns the queried value.
| |||||||
Added the scale argument to query. | |||||||