Minecraft wiki entry for Daylight_detector, associated text: The daylight sensor can easily be used to signal things at different times of day. With command blocks in the game, it can do many more things, like broadcast messages or change everyone's gamemodes. Below are different methods for it.