Denizen Script Mechanisms


Mechanisms are found in object properties, the 'adjust' command, and similar. These are used to change the state of an object.
Learn about how mechanisms work in The Beginner's Guide.


Showing 1 out of 681 mechanisms...
Nameclock
ObjectWorldTag
InputMapTag
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 Tag:WorldTag.clock_time.
<WorldTag.clock_rate[<clock>]> Returns how many ticks the specified world clock advances per game tick in this world. See Tag:WorldTag.clock_time.
DescriptionAdjusts a world clock (see Tag: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]
Grouppaper
RequiresPaper
Sourcehttps://github.com/MINEZ/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperWorldExtensions.java#L258