Hey all. Hoping anyone can answer why I have so many problems with villagers. Every time I've tried to capture a number of villagers they disappear. It's happened in a lot of my worlds and this time i was determined it wouldnt happen again, so this time i built a closed room with a roof and a small hut in it with a door plenty of light and iron doors to access it. no lightning, no mobs no water, no ledges, and no way for them to kill them selves as far as i could tell. there is a portal in there but im pretty sure they shouldnt despawn if they go through it. i had them trapped in there for about a week while i was working on some stuff for an iron farm and they have been content to stay put for the whole time but today i checked in on them and they were just gone. all of them. and i havnt been more than 150 blocks from them and they are in my spawn chunks, the portal on the hell side is enclosed, lit and has half slabs on the floor. is it simply that they went through and despawned? playing java edition.
Tl;dr: villagers are the most frustrating mob in MC.
If you have a door, then you have a village. If you have a village then there's the possibility of a zombie apocalypse.
Zombie sieges are in-game events that occur when many zombies spawn in a village, regardless of how well lit or walled off a village is.
At midnight each night (18000 in Minecraft time), there is a 10% chance that a zombie siege will be attempted that night. If a siege is to occur, attempts will be made each tick to start the siege until either a siege is successfully started, or the sun rises. Specifically, the siege attempt is abandoned when the sky light level reaches 12; however, inclement weather can allow siege start attempts to continue well past dawn, since it reduces the sky light level.
See the main article linked above for details.
If I want to stash villagers away in a safe bunker I always make sure there are no doors anywhere near them, so that they are NOT in a village.