I have a relatively new survival world going on in peaceful.
I had about 20 villagers all either enclosed in fences or in minecarts. I also had in the same area about 20 sheep - of every colour - also enclosed in fencing - the corners carpeted so I can jump in.
I left the world AFK for two weeks. When I came back most of the villagers have all gone....have they just despawned. Do I need to name them to stop this?
Then I left the sheep overnight, and now ALL the sheep are gone. They lasted the two weeks but not overnight. My feeling is a wolf spawned inside the fencing. Could this have happened? What is the best way to protect sheep from this - have a set of cells 1 grass wide?
I dont think these are bugs I just think I've been unlucky.
The villagers could have been attacked by zombies. They do not despawn unless you have over 50 in one spot, and they stop despawning when the count gets to 50.
The only fool proof way to keep wolves out of the sheep is to keep them in a biome where wolves do not spawn. Small enclosures lower the probability of a wolf spawning inside with them, but it isn't 100%. Mobs can now spawn inside the hitbox of another mob, so even the blocks the sheep are standing on are spawnable.
Thanks for the inputs guys, For the sheep I think it was a wolf. I've been more diligent and have seen pigs/chicken and other sheep spawn in the 6x10 enclosure so a wolf would not be impossible. Going forward I am going to create some form of "battery sheep" set up with a single cell/single grass block per sheep inside somewhere. That should stop the randoms.
With the villagers disappearing I think its more they just despawned. I was probably more than 50 but less that 250 away from them but they were not named. I have seen a villager struck by lightning inside a trading cell (only had a glass roof) so this could have also happened to them in the 14 real days they were left there.
I think if I want to keep them I'll have to name them,
Now if only I could get useful librarians - keep getting the cartographers....
This might seem far fetched but if the ground around the villagers is dirt a enderman might have picked up the block and set it down near the fence edge. Then the villagers could jump out. This happened to my horse pen. Was super annoying and it took forever to figure out how they all got out. Another enderman ended up picking up the same block they got out with. I only noticed all this when I saw the temporary dirt wall I had up was missing a spot