Players · Value
Player location
Where a player is: the location, its world and numbers, and the block under their feet.
m.player.location
In a flow
“When a player uses a command → Answer: You're at {node.loc.x}, {node.loc.y}, {node.loc.z}.”
When a player uses a command → Answer: You're at {node.loc.x}, {node.loc.y}, {node.loc.z}.
What it does
Where a player is: the location, its world and numbers, and the block under their feet. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 6 values later steps can use. Find it under Players in the palette.
When to use it
Use it when the flow needs to: where a player is: the location, its world and numbers, and the block under their feet.
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
- Player Player
-
Leave unwired for the player who started the flow, or wire one in, like Player from When a player joins.
What goes there: Type it in the side panel, or wire in a player. e.g. Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.
Values it gives
- Location Location
-
Where they stand, facing included. e.g. world 10.5 64 -3.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 toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more
- World World
-
The world they're in. e.g. world
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 554 more
- X Number
-
East and west. e.g. 10.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
- Y Number
-
Height. e.g. 64
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
- Z Number
-
North and south. e.g. -3.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
- Block below Text
-
The type of block they stand on. e.g. minecraft:grass_block
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