Values · Value
Chunk and region
Which Minecraft chunk, region file and in-chunk position a block coordinate falls in.
math.chunk_region
In a flow
“Works out chunk and region whenever a step wired to it needs the answer.”
x 100, z -50 → chunk 6,-4
What it does
Which Minecraft chunk, region file and in-chunk position a block coordinate falls in. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 5 values later steps can use. Find it under Values in the palette.
When to use it
Use it when a step needs a value worked out first: which Minecraft chunk, region file and in-chunk position a block coordinate falls in.
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
- Block x Number
-
Block x.
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 100.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
- Block z Number
-
Block z.
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 -50.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
Values it gives
- Chunk x Number
-
Chunk column. e.g. 6
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 718 more
- Chunk z Number
-
Chunk row. e.g. -4
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 718 more
- Region file Text
-
Like r.0.-1.mca. e.g. r.0.-1.mca
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- x in chunk Number
-
0 to 15. e.g. 4
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 718 more
- z in chunk Number
-
0 to 15. e.g. 14
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 718 more