Mechanic
time
Sets the world's absolute time
Aliases
setTime
Configuration Fields (4)
| Name | Type | Default | Description |
|---|---|---|---|
| mode m | Mode | — | |
| amount amt, ticks, t | PlaceholderInt | 20 | The amount to set |
| person | boolean | false | Sets whether to change the global time or the player's client time |
| relative | boolean | false | Sets whether to keep the player's time synchronized to its world time with an offset |
Universal Mechanic Options
Mentioned by
Conditiondawn
If the time is dawn, from 22000 to 2000 in-game time
Conditionday
If the time is day, from 2000 to 10000 in-game time
Conditiondusk
If the time is dusk, from 14000 to 18000 in-game time.
Conditionnight
If the time is night, from 14000 to 22000 in-game time
Conditionworldtime
Matches a range against the target location's world's time.
Mechanicanimatearmorstand
Makes an armor stand assume a pose over a specified time
Placeholderutils.epoch
Returns the current epoch time in seconds
Triggertimer
Periodic trigger fired by timer schedules.