mojira.dev
MC-78

Villagers crowd into a single building

Villagers are not using houses made for them. They are staing in 2 or 3 houses ( of aprx. 150)
You can see on a pic, how they behave

What I suggest to do:

  • make an array of doors in village

  • make an array of villagers

  • order every villager in villagers array to choose one door from doors array

For example, there are 10 villagers (1,2,3 ...9, 10) and 10 doors in the village (A, B, C);

Then each villager have to use 1 door, for example:
1 villager - A door
2 villager - B door
...
10 villager - J door

So, if the house contains 5 doors, there will be 5 villagers

I think, it's realy easy to realize, and I didn't get, why you haven't made this yet.

Thanks for attention.

Linked issues

Attachments

Comments 171

I've noticed this too.

I also agree. I have a village with 66 houses and they all try to cram into one. Eventually I worked around this by adding tunnels from house to house for 'overflow'. Also adding ladders to the roof with fence around it.

Wouldn't it be a bit better if houses are the arrays, instead of the doors, and the space in the houses determining how many villagers can be in them? This way you will have "families" so as to say, instead of a-social villagers πŸ˜ƒ

BillyBob McFrenchFri

I just want them to have sounds, longer pregnancies, and to hold hoes and farm realisticly.

Logically, there can be more than 1 villager in a house, like how there are families in a real life house. I think an alternative way is to limit the max number of villager in a house, so that they dont over flow. This will possibly disable the infinite breeding, which I think is considered cheating.

161 more comments
[Mod] redstonehelper

See MC-89509 for the current iteration of this bug.

Fix Version/s:Minecraft 14w21b

this is incorrect, this bug is supposed to be fixed with 1.4.2 villager update, please confirm

No, this bug is even confirmed for that exact version and many after it. And 1.4.2 was not villager themed, Are you sure you're really talking about MCJava?

This bug actually returned during 1.9. the math behind Villager AI would have them all eventually all go to one corner of the village after several hours. I think it had something to do with how floating points work or something. Either way, it should still be fixed again.

If they crowd to one specific corner of the village i.e. always on an edge of the village, even worse if it is the same edge and the same edge in every village, then it is another bug, not this one (e.g. MC-89509 or MC-3944, both of which were of the north-west tendency -kind).

If they tend to crowd in to one or few random houses (in larger village), possibly different houses each night, then it could be this bug (with possibly different root cause but the same symptoms, but this technical detail doesn't matter to us players).

Vit Musienko

(Unassigned)

Confirmed

AI, door, village, villager

Minecraft 1.4.2, Minecraft 1.4.4, Minecraft 1.4.7, Snapshot 13w07a, Snapshot 13w10a, ..., Minecraft 13w42a, Minecraft 13w42b, Minecraft 1.7.2, Minecraft 1.7.4, Minecraft 1.7.5

Minecraft 14w21b

Retrieved