Minecraft wiki entry for Defeating_a_village_raid, associated text: Place cobwebs in a line in front of you so the mobs get stuck there. Shoot them safely with a bow or kill them with your axe or sword. This trap won't work for pillagers, since they can still shoot from cobwebs. While in the cobwebs, evokers can also summon vexes or evoker fangs that can still attack the player. Make sure you kill the ranged mobs before moving to melee mobs, as the ranged mobs can still shoot.