mojira.dev
MC-158987

Raid still continues after a villager turns into a witch

The bug

If all villagers are struck by lightning during a raid, the villagers will then become witches but the raid still continues. You can however get a raid victory with no villagers and can still achieve the "Hero of The Village" advancement and status effect.

To reproduce

  1. Cause a raid in a village

  2. Run the command to turn all villagers into witches

    /execute at @e[type=villager] run summon lightning_bolt

    → ❌ The bossbar then fills up as the villagers that are now witches join and raids the village

You can however end the raid in a defeat by just destroying the all of the nearby workstations/jobsites, beds and bells in the premises.

Linked issues

Attachments

Comments 3

You can see that I was using the /effect command and gave "all nearby villagers" Glowing, no actual entity was found as the witch near the lectern was the villager.

Reproduced on 1.15 Pre-5

 

Also affects when Villagers turn into Villager Zombies

DrownedZombie

coschevi

Community Consensus

Raids

1.14.4, 19w34a, 19w35a, 1.15.2, 1.16 Pre-release 8, 1.16.1, 20w30a

1.16.2 Pre-release 1

Retrieved