Starts when · Starts a flow
When a player places a block
Starts when a player places a block. Cancel the event to stop it being placed.
m.event.block_place
In a flow
“When a player places a block, the steps wired after it run.”
When a player places a block → If Block type is minecraft:tnt → Cancel the event.
What it does
Starts when a player places a block. Cancel the event to stop it being placed. It starts a flow, and gives the steps after it values about what happened. It gives 4 values later steps can use. Find it under Starts when in the palette.
When to use it
Use it to start a flow when a player places a block.
When not to
If the flow should start from a click or a command instead, pick that trigger: a flow has exactly one.
Typical wiring
Values it gives
- Player Player
-
The player it's about. Wire it into any Player pin. e.g. Alex
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
- Block Block
-
The block, with its type and location. e.g. Stone
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
- Block type Text
-
The block's type, like minecraft:stone. e.g. minecraft:stone
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
- Location Location
-
Where it happened. e.g. world 10 64 -3
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