When a mob is struck by lightning
Starts when lightning hits an entity and changes it, like a villager becoming a witch.
A Minecraft element (starts a flow) in Starts when. Needs the Basic plan or higher to go live; building and testing are free.
Example
When lightning strikes an entity → Broadcast {trigger.entity_type}
Also called
lightning, thunder, transform, witch
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What it gives back
- Bolt
- Entity
- Entity type
- Replacement entity
- Transform reason
- Transformed entity