To keep the zombies from getting your villagers, make sure their houses are lit up inside so the zombies don't spawn there. Zombies can't open doors (though they can break them down on hard) so the villagers should be mostly safe inside their homes at night (sometimes they will open the door and let a zombie in by accident.) Lighting up the
You can disable zombies being aggressive towards villagers. I have read that you can use MCEDIT to make zombies only aggressive towards green villagers which to me would be a neat feature. :-) I haven't tried. I play bedrock so a quick “/effect @e [type=villagers] resistance 99999 255 true” always works for me. . 235 134 80 15 144 317 371 57 324