Yeah that is fine apart from the fact that the villager in question has its own bed and now I have about 5 extra villagers (and increasing) without a bed because at gossip time they are seeing 1 bed free or whatever.
I do not want to end up with a village stocked with hundreds of beds and hundreds of unemployed villagers all fighting over beds.
This bug needs addressing.
If beds = claimed then do not claim
if beds = occupied then do not reproduce
I'm having a similar issue in 1.15.0, Villagers are constantly fighting over/swapping beds and some beds will remain unoccupied (having previously been occupied) whilst the previous occupant will be standing on a bed that is already occupied by another villager. If I wake the current occupant the villager standing on the bed will quickly occupy that bed and so on. Its is extremely annoying.
Who said villagers sleeping was a bug? Should villagers claim a bed that has already been claimed? Should villagers reproduce when all beds have been claimed?