As you can see from the image, I'm working on a cherry blossom / japanese / medieval style village. My main issue is that I want this to be functional. Currently, villagers wander too far from workstations and lock to different beds or lose their jobs. I need a way to keep villagers in their houses while still allowing player access and without making some ugly entry with fence gates or something. Commands won't work since there's no way to load all the command blocks constantly, borders and barriers keep players out, and void blocks let the villagers walk through. My second issue is that farmers are planting crops in the wrong areas, but I'm thinking of removing them entirely because of the housing issue out in the fields.
How do I keep villagers in designated areas?