World & blocks · Value
World border facts
A world's border: its width, its centre, the warning distance and time, and the damage outside it.
m.world.border_get
In a flow
“When a player joins → World border facts → Answer: The border is {node.v.size} wide.”
When a player joins → World border facts → Answer: The border is {node.v.size} wide.
What it does
A world's border: its width, its centre, the warning distance and time, and the damage outside it. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 7 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 border: its width, its centre, the warning distance and time, and the damage outside it.
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
- Width Number
-
How wide it is, in blocks. e.g. 1000
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
- Centre X Number
-
East-west centre. e.g. 0
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
- Centre Z Number
-
North-south centre. e.g. 0
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
- Warning distance Number
-
Blocks from the edge where the tint shows. e.g. 5
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
- Warning time Number
-
Seconds before the border reaches a player that warn them. e.g. 15
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
- Damage Number
-
Hearts a second per block beyond the buffer. e.g. 0.2
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
- Buffer Number
-
Safe blocks outside the edge. e.g. 5
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