I've been searching tutorials, but nothing i've found seems to fit.
Here are the requirements.
1) should be scalable to any number of breeder villagers.
2) should require no player interaction once set up
3) all babies must be automatically separated before they grow up. If too many grow up and get trapped in the breeder. it will stall.
To breed, two villagers must be willing, able to pathfind to their beds, as well as an unclaimed bed with enough space above it for the baby to jump on without bonking their heads.
I've seen a design with a total of three villagers, but it doesn't scale. the output rate is way too low.
I've also seen a design with many breeding pairs that roam freely, but sometimes the babies grow up before leaving the breeder through trapdoors only they can pathfind over, and get trapped in and eventually it stalls due to villagers no wandering often enough, and you have to go in and kill some villagers.
I want a design that once set up requires zero input from the player after it's started and has a high output rate.
The idea here is to make a huge villager trading mall with over 700 villagers, with nearly 176 of them librarians, and all the other professions represented with 44 of each or so.
Village and Pillage mechanics make it very easy to choose professions in a villager mall. but the trick is how to get a lot of villagers fast. I wish to produce villagers fast enough to not have to wait around a lot while populating the mall in survival mode.
Solved my own problem. separate the farming/breeding area from all the beds by a trapdoor pit channel with blocks above it, but make a single spot blocked by a carpet stack at the end. this fools the adults into thinking they can get to the beds, which will make them breed. The babies will tend to pathfind across the trapdoors to the beds to go jump on them, while the adults will all go towards the carpet stack. Any that don't will pathfind to the beds at night to try and sleep, ensuring that every baby leaves the breeder.
tested using 12 adults and 18 beds, but should be scalable higher if needed.