Starts when · Starts a flow
When a block hurts an entity
Starts when a block such as a cactus, magma or a berry bush damages an entity.
m.on.entity_damage_by_block
In a flow
“When a block hurts an entity, the steps wired after it run.”
When entity damage by block → Broadcast {trigger.cause}
What it does
Starts when a block such as a cactus, magma or a berry bush damages an entity. It starts a flow, and gives the steps after it values about what happened. It gives 6 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 block hurts an entity.
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
- Cause Text
-
The cause of the entity damage by block. 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
- Damage Number
-
The damage of the entity damage by block. e.g. 1
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
- Damager Block
-
The damager of the entity damage by block. 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
- Entity Entity
-
The entity of the entity damage by block. e.g. Zombie
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
- Entity type Text
-
The entity type of the entity damage by block. 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
- Final damage Number
-
The final damage of the entity damage by block. e.g. 1
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