|Catches fire from lava||
|Block entity ID||
See § Data values
See § Data values
See § Data values
|— Tom Stone|
Daylight detectors can be broken fairly easily by hand, but can be broken faster by using an axe. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. In Bedrock Edition the inverted sensor may be obtained via inventory editing.[Bedrock Edition only]
|Breaking time[note 1]|
- Times are for unenchanted tools in seconds. For more information, see Haste § Instant mining.
Nether Quartz +
Any wood Slab
A daylight detector can be used to produce redstone power in proportion to the daylight or night time.
A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by pistons.[Legacy Console and Bedrock editions only] Water and lava flows around daylight detectors without affecting them.
- To place a daylight detector, use the "Use Item/Place Block" control.
- A daylight detector can be "inverted", which reverses the power levels produced by the daylight detector. To invert a daylight detector, aim at the placed daylight detector and use the "Use Item/Place Block" control.
- A daylight detector activates when exposed to sufficient daylight (daylight detector mode) or when its sky light level drops to 0 (inverted daylight detector mode).
- An inverted daylight detector activates when exposure to daylight is low enough (inverted daylight detector mode).
- An active daylight detector:
- powers adjacent redstone dust, including below it, and redstone comparators facing away from the daylight detector, to a power level that depends on the time of day, the weather, and the daylight detector's sky light level (see tables below)
- powers adjacent redstone repeaters facing away from the daylight detector to power level 15
- activates adjacent redstone mechanisms, including above and below, such as pistons, redstone lamps, etc.
- A daylight detector has no effect on other adjacent blocks (for example, it cannot power a block the way a repeater can).
If a daylight detector has an opaque block above it, then it emits a weaker signal, or none at all, as it is directly proportional to the sky light.
The daylight detector power level should be 0 from time 13680 to 22340.
|Time reached||Time dissipates||Light levels||Time reached||Time dissipates||Light levels||Time reached||Time dissipates||Light levels|
Inverted Daylight Detector
Using a daylight detector inverts it. However, the output of the inverted detector is not a simple inversion of the daylight detector’s output; it uses a much simpler algorithm that depends only on the level of light from the sky. Specifically, it outputs a signal strength of 15 minus the current light level, meaning that an inverted daylight detector actually outputs a strength of 11 at midnight, if it has line of sight with the sky. The effects of shade are applied before inverting, so shade increases the signal strength when it isn't already full, and prevents it from reaching zero.
|Daylight Detector||Namespaced ID|
|Daylight Sensor||Namespaced ID||Numeric ID|
In Bedrock Edition, a daylight sensor's block data stores its power level:
|Four bits storing a value from 0 to 15 representing the daylight sensor's current redstone power level.|
|Name||Default value||Allowed values||Description|
|inverted||If true, the daylight detector is inverted.|
|power||The current redstone power level produced by the daylight sensor.|
A daylight detector has a block entity associated with it which stores only its entity ID and position (the minimum data for a block entity). Although the daylight detector's block entity stores no additional data, the block entity ensures that the daylight detector is updated every game tick.
- Block entity data
- Tags common to all block entities see Template:Nbt inherit/blockentity/template
|July 6, 2010||Notch suggests that he may implement daylight sensors (in the blog post mentioning Alpha 1.0.2_01).|
|November 24, 2012||Jeb stated that there may be a daylight sensor.|
|January 2, 2013||Jeb tweeted an image of the daylight sensor.|
|1.5||13w01a||Daylight sensors were added to the game.|
|1.8||14w31a||Daylight sensors can now be toggled between day/night by using them.|
|1.9||15w47a||Daylight sensors no longer emit signal during the night when sufficiently shaded.|
|Inverted daylight sensors now emits a variable signal at night.|
|1.11||16w32a||The block entity ID is changed from |
|1.13||17w47a||The different block IDs for the daylight detector got merged into one ID.|
|Added inverted block state.|
|Renamed to daylight detector.|
|Prior to The Flattening, these blocks' numeral IDs were 151 and 178.|
|Pocket Edition Alpha|
|0.13.0||build 1||Added daylight sensors.|
|0.15.0||build 1||Daylight sensors can now be moved by pistons.|
|Legacy Console Edition|
|TU19||CU7||1.12||Patch 1||Added daylight sensors.|
|TU25||CU14||1.17||Daylight sensors can now be toggled between day/night by using them.|
|New Nintendo 3DS Edition|
|0.1.0||Added Daylight Detectors.|
The 13w01a snapshot image released by Mojang.