mojira.dev
MC-182291

Villagers overbreed and end up with an overcrowded village

The bug

Villagers will breed more than there are free beds in the village, even if all the beds are close to the villagers (i.e. they should have no problem detecting them)

This is most likely to happen in the late afternoon right before the villagers goes to bed.
This has been a problem since version 1.14.4

How to reproduce

  1. Make a confined area with lets say 40 beds

  2. Spawn in one adult villager pr bed, in this case 40

  3. To ensure they are all bonded to a bed, make them sleep in the beds at least once (set time to 12000 ticks and when they are all sleeping set the time back to day again)

  4. Give them plenty of food to make sure they can breed

  5. Set the time to around 11000 ticks

  6. Observe some of the villagers right before bedtime (12000 tick) will produce a baby resulting in there being more villagers than beds.

Example

[media]

[media]

Attachments

Comments

fullfungo

Why do you think it is a bug? I could only find, that the natural minimum population is equal to the number of valid beds, nothing about the maximum. (source: https://minecraft.gamepedia.com/Village)

migrated

First of, this has been a confirmed bug before that was tried fixed in version 1.14.3 prerelease 1. MC-145863 But is not as I have stated in this bugreport including steps how to reproduce.

Secondly, if they keep multiplying like that, then you will end up with a village with overcrowding and potential lag from too many entities.
Also, villagers without a bed are unable to get to safety at night.

migrated

As of 20w19a they also seem to continue their breeding attemps for a while when they have gone to bed. i.e. they still show lovehearts despite laying in their beds.

[media]

migrated

If villagers without beds is normal behavior, then why do villagers without beds stand on on a sleeping villager's bed and moan? You know they are hoping to oust the sleeping villager. This behavior can be disturbing to the player.  So you make them a new house and a bed and the next day another baby is born.  Ad infinitum. Things sometimes can stabilize for a time with the number of villagers matching the number of beds and then all of a sudden another baby is born. What triggers it? The only way I can stop the overcrowding is to create a new village with all doors facing an open square with the bell in the middle. Therefore it is a bug.

migrated
migrated

I'm currently having this problem in a new 1.18 world. For a few days all of them were successfully claiming beds and had a single villager for each having a single job block. I then noticed they were breeding still; there were several Littles running around but no beds had been added at all.

I logged in today and it was evening. They were freaking out, sparkling nonstop and seemed to be pathing back and forth between all the beds. There were four unemployed villagers.

The next day, one of my scholars (who I had traded with) had lost his job block and I suddenly had two scholars. This is after I restored a village to default and began again with two villagers after the same thing happened once before.

 

The only way to stop them multiplying was to remove the farm/farmer, but even without that and with fewer beds, they still fail to sleep.

ZeNico13

@@unknown I can't reproduce the issue in 1.18.1 (singleplayer). Can you please give us more informations / screenshots / the map, so we can test?

compuparker86

I currently have a village with this issue on Bedrock with a realms world.  I will add a seed and basic info shortly.  Happy to provide anything else that is helpful.  Thought I was crazy, but the behavior seems to fit this perfectly.

compuparker86

My seed is -1241585566 and, specifically I am seeing this with a village near 642,80,-207.

 

I believe there are 20 beds in the village, but even with some recent “population control” I’m still at around 30 villagers.  They were appropriate numbers when I started, but after a few days spent in the area the population exploded with constant new villagers, 1-3 per day.  My observed high was around 40 when I started managing numbers.  Please let me know if there is anything further I can provide if you agree this seems to be the same issue.

migrated

@Jason Parker, this ticket is specifically for java edition and not bedrock edition of the game.

compuparker86

Sorry about that!  Set the filter on search, guess something went wrong.

migrated

I'm no longer able to reproduce this issue as per 1.18.1 with the steps listed in the ticket.

Villagers do however continue to breed past their bedtime including some will stay up and only go to bed when their breeding attempt is finished. This behaviour have existed since 20w19a which I also commented previously. This is a new behaviour that have not existed prior and is not one that is listed in the changelog so obviously a bug.
Should a seperate ticket about that be made?

wobst.michael

Closing this ticket as CR for now. As for the new behaviour, yes, please create a new ticket.

migrated

(Unassigned)

Confirmed

Normal

Mob behaviour, Village system

bed, villager, villager-breeding, villager-sleeping

1.15.2, 20w18a, 20w19a, 20w20a, 20w20b, ..., 21w06a, 21w07a, 21w11a, 1.17 Pre-release 2, 1.17.1

Retrieved