do villagers need to sleep in minecraft?
Villagers run inside at night or during rain, closing doors behind them. They attempt to sleep at night, but if they cannot claim a bed, they stay indoors until morning. In the morning, they head outside and resume normal behavior.