World & blocks · Step
Set a block state
Change one detail of a block, like which way it faces, without replacing the block.
m.world.set_block_state
In a flow
“When a player right-clicks → Set a block state: facing = south on the clicked block.”
When a player right-clicks → Set a block state: facing = south on the clicked block.
What it does
Change one detail of a block, like which way it faces, without replacing the block. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under World & blocks in the palette.
When to use it
Use it when the flow needs to: change one detail of a block, like which way it faces, without replacing the block.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Where Location
-
Where: wire a location in, like Location from Player location, or type world x y z.
What goes there: Type it in the side panel, or wire in a location. e.g. world 10.5 64 -3.2
If it's empty: Optional. Left empty and unwired, the step runs without it.
- Property Text
-
The block state to use, like facing, open, lit, powered, waterlogged or age.
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 facing.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more
- Value Text
-
What to set it to, like north, true or 3.
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 north.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 more