World & blocks · Step
Set the clock to
Set a world's time of day to an exact tick, from 0 to 23999, without changing which day it is.
m.world.set_clock
In a flow
“When a player uses a command → Set the clock to 6000 in the lobby world.”
When a player uses a command → Set the clock to 6000 in the lobby world.
What it does
Set a world's time of day to an exact tick, from 0 to 23999, without changing which day it is. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under World & blocks in the palette.
When to use it
Use it when the flow needs to: set a world's time of day to an exact tick, from 0 to 23999, without changing which day it is.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- World Text
-
The world's name, like world or world_nether. Variables allowed.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, it uses world.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
- Ticks Number
-
The time of day, from 0 (sunrise) to 23999. 6000 is noon.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 6000.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more