Minecraft wiki entry for Daylight_detector, associated text: Another way to detect nighttime is by right-clicking the daylight detector, which turns it into an inverted daylight sensor. Using the inverted daylight detector instead of a not gate to turn on lamps makes the lights turn on early evening to sunrise.