Elementium Sign in
Contents

World & blocks · Check

Time is between

Whether a world's clock is inside a range of ticks, even one that runs past midnight, like 13000 to 23000 for night.

Basic plan m.world.time_between

In a flow

“When a player joins → If Time is between 13000 and 23000 → Give night vision.”

When a player joins → If Time is between 13000 and 23000 → Give night vision.

What it does

Whether a world's clock is inside a range of ticks, even one that runs past midnight, like 13000 to 23000 for night. It's a check: put it in an If, and the flow goes one way when it's true and the other when it isn't. Find it under World & blocks in the palette.

When to use it

Use it when the flow needs to: whether a world's clock is inside a range of ticks, even one that runs past midnight, like 13000 to 23000 for night.

When not to

To pick between more than two outcomes, Switch or Random reads better than a chain of checks.

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

From Number

The first tick. 0 is sunrise, 6000 noon, 13000 dusk, 18000 midnight.

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 13000.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

To Number

The last tick. If it is lower than From, the range runs past midnight into the next day.

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 23000.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Often next

Related in World & blocks

Wires and sockets · Data values · Plans