| Name | clock |
| Object | WorldTag |
| Input | MapTag |
| Related Tags | <WorldTag.clock_time[<clock>]> Returns the total ticks of the specified world clock (for example "minecraft:overworld", or one defined by a datapack) in this world. (...)
<WorldTag.clock_paused[<clock>]> Returns whether the specified world clock is paused in this world. See WorldTag.clock_time.
<WorldTag.clock_rate[<clock>]> Returns how many ticks the specified world clock advances per game tick in this world. See WorldTag.clock_time.
|
| Description | Adjusts a world clock (see WorldTag.clock_time) in this world, like the vanilla "/time of <clock>" command.
The input map needs the key "clock", the ID of the clock (for example "minez:blood_moon"), and may have any of the following keys: - "time", the total ticks to set the clock to. - "paused", whether the clock is paused. - "rate", how many ticks the clock advances per game tick. For example: - adjust <world[world]> clock:[clock=minez:blood_moon;time=24000;paused=false] |
| Group | paper |
| Requires | Paper |
| Source | https://github.com/MINEZ/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperWorldExtensions.java#L258 |