I'm currently playing on a 1.15.2 multiplayer server. I have a farmer villager who I have expended all of his trades. It has been hours irl and the guy won't restock. He has direct access to his bed and to his workstation. There is only one composter within a 200 block radius and it's the one 1 block away from the dude. I'm not sure what to do. Any suggestions on how to get him to restock would be appreciated.
You say the composter is 1 block away, if the villager is confined to a 1X1 space he may not be able to use the composter, I think they need to be able to go to the workstation to use it, that means they have to be able to be somewhere else, even if that's only 2 blocks away.
Does he use the bed and workstation?
Villagers connection to their workstations and beds still seems flakey sometimes, try breaking it and replacing it.
And make sure there aren't any other villagers around that could claim it.
a) the villager has at least 2 squares to walk around it
that no other villager has claimed the block.
as near as I can tell, access to a bed is not required to restock, a i've been trapping villagers by just their work station, and it seems to work.
i use 1X3 spaces, with the profession block at the back, and a fence in front to keep them trapped, leaving the villager two full spaces to move in, and they restock just fine. and this tested with 1.15.2 paperspigot.
Not sure if it still works in 1.15 as I'm still playing 1.14.4 but I'm using the Trading hall system suggested by Pixlriffs as he changed it after the villager update. Seems to work very smoothly and the villagers are conveniently confined in a 1 block area . It's neat to watch a row of them in the trading hall as they all update at the same time by bending their heads over toward the workstations in complete unison.