Starts when · Starts a flow
When a villager changes job
Starts when a villager takes a new profession or loses it.
m.on.villager_career_change
In a flow
“When a villager changes job, the steps wired after it run.”
When villager career change → Broadcast {trigger.entity_type}
What it does
Starts when a villager takes a new profession or loses it. 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 villager changes job.
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
- Entity Entity
-
The entity of the villager career change. 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 villager career change. 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
- Profession Text
-
The profession of the villager career change. 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
- Reason Text
-
The reason of the villager career change. 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