4 2x2 blocks wide and 3 blocks high containers were made to contain villagers. Water was added to the floor and a torch to an upper wall. 3 villagers were added to each container and then it was sealed off (no light apart from the torch. Each container was identical and each was given the same number of villagers.
Doors were added near the villagers to count as a village for the purpose of spawning iron golems.
Over several days of game play (real time) many stacks of iron were collected. Yay. Then the spawning rate of the golems appeared to change.
Nothing had changed in terms of doors, other villages, etc.
When I looked in the containers, 2 of the 4 had only 1 villager and the other 2 had probably a dozen or so.
I built a second golem farm and filled 2 of the 4 containers with villagers and only added about half the needed doors before leaving it for a while (to grow more wood for doors). When I came back and checked, both containers had only 1 villager.
This issue appears to be reliably duplicated.
Comments 12
I have since duplicated this issue in creative mode as well, though it does take a long time for the villagers to start disappearing.
One odd thing I've noticed, in my creative mode duplication, I did not add enough doors for the villagers to start "replicating," and when they started disappearing I only ever noticed pods with 3, 1 of 0 villagers...never 2. It's probably just a coincidence, but I figured I'd mention it.
Oh, and another thing, the seed I'm using is 060474...there's a nearby desert village with a cobblestone well (I thought those wells were for the other type of village).
Okay, I have a test set up now and will let it run (off and on) for a few days before saying that there is any definitive results. That said, I've already noticed a strange behaviour that may or may not be intentional. But first, the parameters of the test....
In creative mode on PC version of game (1.8) I created 16 containers, (pods) to hold 3 villagers each.
The first 4 pods were designed from cobblestone as follows:
level 1 2X2 square on the ground
level 2, 3, and 4 were 4X4 square with the center hollow and no corners
level 5 was another 2X2 square capping off the pod
This created a 2X2X3 (3 being the height) enclosed area in which I could contain the villagers. On the bottom level inside the pod I filled all four squares with water, and on one square on the top of the inside I added a torch (so the torch was at level 4).
The next 4 pods were designed the same as the first 4, but out of glass. I had to leave 1 square as cobblestone (on level 4) so that I could still add the torch.
The next 4 pods were designed from cobblestone as 6X6X7 cubes (7 being the height) with a hallow (2X2X3) center. This gave a minimum 2 block thickness at all points. To this I also added the water and torch (and villagers, of course).
The next 4 pods were the same as the last 4 (the 6X6X7 ones) but made from glass with the exception of the one square I had to leave as cobblestone to hold the torch (this being at level 5 in these larger pods).
So, there's the parameters of the test. I should note that I am doing this on a randomly generated map, not a flat map, though I did not enter a seed (so I'm not sure what it is). I flew around after creating the pods checking for any other nearby villages that might cause funny results but I saw none.
After finishing with creating all the pods I decided to take a quick peak in the cobblestone ones. The smaller pods were doing just fine (all still had 3 villagers), but 2 of the four larger pods now also had a child in them.
NOTE: There are NO DOORS present at all anywhere unless one managed to somehow spawn underground (which I don't think is possible.....is it?) This means that doors are NOT a requirement for spawning villagers. Interesting.
We will see where things stand after letting this simulation run for a bit.
After leaving the simulation running for a while I came back and the pod with the missing villager now had a villager zombie. I added 12 more small glass pods to see if the same thing happened again and let it run for 2 days. When I came back two of the 12 new pods now had 4 villagers, not the 3 they started with, but no one had disappeared.
After watching the behavior of the zombies for a bit I decided to do a test. Up to this point the pods were slightly elevated off the ground by the bottom block of the pod. I added some dirt around the pod I saw most of the mini-zombies around to bring the villagers to the same level as the zombies and almost instantly the zombies started attacking through the corners of the pod and all three villagers were killed.
I guess this must mean that this occasionally happens when a zombie jumps up at one of these pods - which would explain the seemingly randomness of it and how long it takes to reproduce. Mystery solved...I guess. It's a little deflating, though. I had hoped for an obscure bug that was a challenge to work out. Oh well. At least you also now have another issue to look into....the mysteriously appearing villagers!
(Is the fact that zombies can attack through the corners actually a bug? Probably one you already knew about.)
I have noticed the same problem with all villagers. I think that the chunks are unloading and the villagers just aren't rendering. They seem to still be there though.
same isssue villagers around Golem farm Villagers start of and breed in same area 20 villagers are healthy and inclosed no problems iron comes in strong then I leave area a suddenly all villagers are gone all 20 or more just gone no trace of them this problem for me has been worse since the new recent update
For reference, I was building the golem farm detailed at the end of the page located here: http://minecraft.gamepedia.com/Tutorials/Iron_golem_farm
The differences were:
1) I put 4 blocks of water in the villager containers, not 1
2) I added a torch to the containers for light
3) I "capped" the villager containers with a cobblestone roof as well (the instructions don't say to do this, but I figured it was a pretty obvious thing that should be done).