I have a bunch of villagers for an iron farm and at night, instead of sleeping, they just walk around and usually huddle up around this corner. There is no beds (besides the ones in the room theyre in) in their line of sight, and they are entirely new villagers. Please help, thank you
Line of sight is not necessary for claiming beds (or WS); best current information puts the maximum distance at which claims may occur at 48 blocks taxicab.
If a villager has been moved into that location, it may be retaining a claim on a bed at or 'near' where it was spawned/bred or along the transit path as the distance at which a cliamed bed is relinquished appears to be 150+ blocks (reports vary).
If you have access to commands, /data get entity >UUID of villager< brain will show the coordinates and dimension of any claimed bed (among other things) [Villager UUID can be copied into the command if it is typed with the cursor on the villager.]
Rollback Post to RevisionRollBack
WARNING: I have an extemely "grindy" playstyle; YMMV — if this doesn't seem fun to you, mine what you can from it & bin the rest.