If another entity (even another villager) is nearby and gets struck by lightning, being set on fire, the Surge Protector advancement is still granted if a villager was nearby.
Steps to reproduce:
Summon 2 villagers
Wait for them to separate
Summon a lightning bolt above one of them
-> ❌ If the lightning bolt only hit one of the villagers, the advancement will be granted even though the bolt caused damage/fire
Comments 6
Only if another villager is nearby though, because the villager turns into a witch if it is the only one.
Seems to grant the advancement even if the villager is struck by lightning.