How far do beds have to be for villagers to breed?
Ensure that the building where your villagers are going to breed has at least three beds with two or more empty blocks above them. Trade at least once with your villagers.
If a villager doesn't sleep for two nights in a row, it becomes tired. It gets little two-pixel circles under its eyes to make the change visible. It works more slowly and tends to restock less often.
The player can also throw bread, carrots, beetroots, or potatoes at the villagers themselves to encourage breeding. Villagers consume the required food upon becoming willing. In short, throwing the villagers food could encourage them to mate.
Yes, villagers spawn in villages, and mate anywhere there's enough wooden doors around to sustain the population.
Villagers emit green particles if they join a village, set a bed or acquire a job site/profession.
The location of a bed is the block where its pillows are. After this the villager will remember the coordinates of its bed.
All of the villagers must be linked to a bed. A player must be within 80 blocks of the village horizontally and within 44 blocks vertically.
If the population cap is met, or the beds are obstructed, angry particles appear above their heads (along with the heart particles), preventing them from mating.
Villagers do, on the other hand, need to be happy in order to breed. Hitting them will lower their happiness, so in order to fix that, you will need to trade with them in order to raise it again.
Once villagers have enough food in their personal inventory, they'll become willing to breed and do so as long as there are enough unclaimed beds. These beds (and the doors near them) will need skylights/holes to ensure that the offspring has a place to go once it spawns.
Do villagers sell out forever?
Villagers will deactivate an offer if the offer has been used some number of times and it is not the villager's only offer. The chance of an offer's deactivation is random, but an offer must be used at least 3 times before it is eligible for deactivation.
If a villager travels more than 128 blocks away then they will despawn. This can also happen if they are not name tagged or holding on to a picked-up item. We hope we have answered your question if villagers despawn in Minecraft.

Leads can now be used on polar bears, ocelots, parrots, dolphins and old villagers.
Minecraft: How To Breed Villagers
4 Reasons Why Your Villagers Aren't Breeding in Minecraft 4 ...
Minecraft Villager Breeding: Everything players need to know
To breed villagers in Minecraft, you need to have at least two "willing" villagers and at least three beds. You can increase your villagers' "willingness" to breed by giving them food.
Breeding Area
The second requirement to breed villagers is a proper space. You need to place a bed for each villager while leaving two empty blocks above each bed.
These need to have at least four blocks of floor space each: Two for a bed, one for a job site block, and one for the villager to stand. The open space should be between the head of the bed and the fence gate.