Minecraft wiki entry for Villager, associated text: NPCs are also affected by any effects but cannot die from the wither effect or fatal poison. They also don't take any fall damage, fire damage, drowning damage, suffocation damage, or any external damage from another mob/player, but they can die in the void.