Daylight Detector

A Daylight Sensor is a special redstone mechanism which emits a redstone signal if it is bright enough (sunlight level) to do so. The strength of the redstone signal varies by the time of day. For example, the sensor will emit redstone for 15 blocks at midday but roughly 5 blocks at evening. The daylight detector emits a redstone current to any/all blocks placed directly (within 1 block) above/below/next to it.

If the Daylight Sensor has a block above it, then it will emit a weaker, or no signal, as it is directly proportional to the sky light, which can be useful for controlling light levels with redstone lamps and pistons to cover and uncover the sensor. Using a NOT gate (also known as an inverted Redstone signal) will reverse the sensor's signal, creating a "night sensor." This can, for example, allow redstone lamps to come on at night and off during daytime.

The daylight sensor block has not yet been implemented into the game, however a player can build a daylight sensor themselves by following these steps. First the player must build a structure in which as many grass blocks as possible are in centered around a dirt block in a way that they can all transfer grass to the aforementioned dirt block. Second, a block of water must be placed on top of the center dirt block. Thirdly, a BUD switch must be placed adjacent to the dirt block in the center. Fourth, a piston must be place where it can block the water from touching the center dirt block, and then a redstone wire must go from the output of the budswitch to the piston. Finally, your output wire will come from the BUD switch.

When the sun sets the grass that has grown onto the center dirt block dies from lack sunlight because of the water, as a result the bud switch senses the block update caused by grass dying and triggers. When it senses the grass dying, the BUD switch will power the piston preventing the water from blocking light and allowing the grass to grow back once it becomes day. As with the daylight sensing block the signal can be inverted to created a night sensor.

Trivia

 * Daylight Sensors only work by sunlight and cannot be activated by other light sources such as luminescent blocks or torches.
 * Covering the Daylight Sensor and blocking out all light will cause the sensor to invert.

Gallery
 File:daylightsensorscomparison.png|A comparison of Sensor outputs, depending on conditions.

Tageslichtdetektor Daylight Sensor/es Détecteur de lumière du jour Датчик света 阳光探测器