Set time of day
set_timeSet or advance the main Minecraft world's time of day with tick values or presets such as day, noon, sunset, night, midnight, and sunrise.
Instructions
Set or advance the time of day in the main world.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>"
},
"name": "set_time"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Set the time, or advance it by value ticks. | set |
| value | Yes | Ticks (20 per second, 24000 per day; 0-24000 when mode is 'set') or a preset: day=1000, noon=6000, sunset=12000, night=13000, midnight=18000, sunrise=23000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||