World & blocks · Value
Time of day
A world's clock: the time of day in ticks, which day it is, and whether it's day or night.
m.world.time
In a flow
“When a player joins → If Is day → Show an action bar line: Good morning!”
When a player joins → If Is day → Show an action bar line: Good morning!
What it does
A world's clock: the time of day in ticks, which day it is, and whether it's day or night. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under World & blocks in the palette.
When to use it
Use it when the flow needs to: A world's clock: the time of day in ticks, which day it is, and whether it's day or night.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
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
Values it gives
- Time Number
-
The time of day, from 0 to 23999. 6000 is noon. e.g. 6000
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Day Number
-
How many days the world has run. e.g. 12
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- Is day Yes / no
-
True between sunrise and sunset. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more