I need to know, is it possible to create an underground village? I know villagers need food and enough beds to breed, so it should be possible right? I've been thinking of making a dwarvern city inside a hollowed out mountain, and of course, you can't have a city without someone living in it.
Villagers only spawn as part of the village structure (of which there are currently no underground variants) or as part of the breeding cycle. You can't just build it and expect villagers to show up eventually...you have to pipe them in somehow.
I thought they spawned based on that block that they work from.
No, they just gain a profession from the workplace blocks, if they didn't already have one.
They are generated along with villages, they can breed if they have food and extra beds, and you can cure zombie villagers (which spawn as a certain percentage of zombies or can be the result of villagers being attacked by zombies.)