Effects on gameplay
During the daytime, the Sun shines on the surface, providing an optimal view of a player's surroundings, allowing them to explore the environment with ease.
During the day, hostile mobs will not spawn on the surface, though they will still spawn underground in places such as caves, or in some other dark places such as roofed forests. Zombies and skeletons will burn in direct sunlight, but they can take shelter in the shade of a tree, an overhanging structure or landmass, or in water. Spiders are neutral during the day unless attacked or encountered in darkness. Endermen typically do not spawn in the daytime and they will teleport back to the End at the beginning of the day. However, if an Enderman happens to still be around in the early morning before it has teleported back to the End, it will avoid a player, even when looked at or attacked. Other hostile mobs, such as Creepers, will be unaffected by daylight and are just as dangerous as they are in the dark.
During the day, villagers will come out of their houses as soon as dawn has ended, and will remain outside for the remainder of the day until dusk. At dusk, villagers go back into their houses to wait out the night.
During the day, if it rains, the light level will be lowered significantly by 5 levels. Thunderstorms will lower light the most, allowing monsters to spawn even during the day. Rain also allows zombies and skeletons to survive the day without shade or water bodies.