The Bug
If villagers initiate breeding before going to bed, they will continue to do so if their partner sleeps close to them, and if there are a surplus of beds, they will produce a baby villager. See this video: https://youtu.be/eVeWVGjMvJk
Steps to Reproduce
Place down many beds.
Spawn a lot of villagers, but make sure that there are more beds than villagers
/gamerule doDaylightCycle false
/time set midnight
Give the villagers lot of bread while they sleep. They will get up to grab it then go back to bed again.
Quickly set the time to noon and back to midnight.
The villagers will begin breeding, then go back to bed and continue breeding.
Observed Behavior
Villagers continue breeding and produce a baby if they sleep near their partner.
Expected Behavior
Once they fall asleep breeding would be cancelled.
Attachments
Comments 4
Avoma I'm able to replicate the bug exactly as per the video I included in the description in version 21w19a.
The bug is still present. If villagers are in the process of breeding when going to bed, the process will continue untill a baby villager is born (not that unrealistic 😛)
Which is a behaviour not described anywhere nor how it worked prior to this bug report being created.
I can confirm in 1.17.1. With a large amount of villagers and extra beds, it does happen. I don't think this is much of an issue though.
More information about the bug:
The Bug:
If villagers initiate breeding before going to bed, they will continue to do so if their partner sleeps close to them, and if there are a surplus of beds, they will produce a baby villager.
Steps to Reproduce:
Place down many beds.
Spawn a lot of villagers, but make sure that there are more beds than villagers
/gamerule doDaylightCycle false
/time set midnight
Give the villagers lot of bread while they sleep. They will get up to grab it then go back to bed again.
Quickly set the time to noon and back to midnight.
The villagers will begin breeding, then go back to bed and continue breeding.
Observed Behavior:
Villagers continue breeding and produce a baby if they sleep near their partner.
Expected Behavior:
Once they fall asleep breeding would be cancelled.
I am unable to reproduce this issue in 21w19a. I gave the villagers plenty of food and they began to breed as they should. I then set the time to night and all of the villagers went to sleep and stopped breeding. I've attached a screenshot.