When a pig is struck by lightning
Starts when lightning turns a pig into a zombified piglin.
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 pig zap → Broadcast {trigger.entity_type}
Also called
pig, lightning, zombie pigman, zombified piglin
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What it gives back
- Bolt
- Entity
- Entity type
- Lightning
- Replacement entity
- Transform reason
- Transformed entity