Minecraft:Daylight Detector: Difference between revisions
More actions
imported>MinecraftExp123 m Revert edits by ~2026-PickaxeCamelVex3862 (talk) already mentioned in body text + MCW:UPTODATE + MCW:TRIVIA |
Remove broken links to missing pages |
||
| Line 15: | Line 15: | ||
| lavasusceptible = Yes | | lavasusceptible = Yes | ||
}} | }} | ||
A '''daylight detector''' is a [[Minecraft:block]] that outputs a [[Minecraft:redstone]] signal based on its exposure to | A '''daylight detector''' is a [[Minecraft:block]] that outputs a [[Minecraft:redstone]] signal based on its exposure to sky light. | ||
{{Control|Using}} the detector inverts it, causing it instead to output a constant strong signal that weakens from exposure to sky light. | {{Control|Using}} the detector inverts it, causing it instead to output a constant strong signal that weakens from exposure to sky light. | ||
| Line 21: | Line 21: | ||
== Obtaining == | == Obtaining == | ||
=== Breaking === | === Breaking === | ||
Daylight detectors can be mined by hand or with any tool, but [[Minecraft:axe]]s are the quickest. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. {{IN|BE}}, the inverted detector may be obtained by using {{control|pick block}} in | Daylight detectors can be mined by hand or with any tool, but [[Minecraft:axe]]s are the quickest. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. {{IN|BE}}, the inverted detector may be obtained by using {{control|pick block}} in Creative mode<ref>MCPE-179063 – Pickblocking an inverted Daylight Sensor produces "tile.daylight_detector_inverted.name" block</ref>, or via inventory editing or add-ons. | ||
{{breaking row|horizontal=1|Daylight Detector|Axe|foot=1}} | {{breaking row|horizontal=1|Daylight Detector|Axe|foot=1}} | ||
| Line 44: | Line 44: | ||
{{see also|Redstone circuit}} | {{see also|Redstone circuit}} | ||
A daylight detector can be used to produce redstone power in proportion to the | A daylight detector can be used to produce redstone power in proportion to the daylight cycle. | ||
A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by [[Minecraft:piston]]s.{{only|bedrock}} [[Minecraft:Water]] and [[Minecraft:lava]] flow around daylight detectors without affecting them. | A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by [[Minecraft:piston]]s.{{only|bedrock}} [[Minecraft:Water]] and [[Minecraft:lava]] flow around daylight detectors without affecting them. | ||
| Line 60: | Line 60: | ||
; Behavior | ; Behavior | ||
: An active daylight detector: | : An active daylight detector: | ||
:*powers adjacent | :*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, the detector's exposure to the sky, and the internal sky light level (see tables below) | ||
:*powers adjacent | :*powers adjacent redstone repeaters facing away from the daylight detector to power level 15 | ||
:*activates adjacent [[Minecraft:Redstone components#Mechanism components|redstone mechanisms]], including above and below, such as [[Minecraft:piston]]s, | :*activates adjacent [[Minecraft:Redstone components#Mechanism components|redstone mechanisms]], including above and below, such as [[Minecraft:piston]]s, 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). | : A daylight detector has no effect on other adjacent blocks (for example, it cannot power a block the way a repeater can). | ||
| Line 69: | Line 69: | ||
==== Daylight detector ==== | ==== Daylight detector ==== | ||
In the [[Minecraft:Overworld]], a daylight detector's outputted | In the [[Minecraft:Overworld]], a daylight detector's outputted signal strength depends on the time of day, the weather, the detector's exposure to the sky, and the '''internal sky light level'''. | ||
{| class="wikitable" style="text-align:center" | {| class="wikitable" style="text-align:center" | ||
| Line 286: | Line 286: | ||
==== Inverted daylight detector ==== | ==== Inverted daylight detector ==== | ||
{{control|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 on the | {{control|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 on the '''internal sky light level'''. Specifically, it outputs a signal strength of 15 minus the current internal sky light level, where values over 15 or below 0 are taken as 15 or 0 respectively. This means that, in the Overworld, an inverted daylight detector actually outputs a strength of 11 at midnight when the weather is clear, 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 is not already full, and prevents it from reaching zero. Completely blocking an inverted daylight detector from exposure to the sky causes it to emit a signal strength of 15 at all times of day. | ||
{{In|Java}}, inverted daylight detectors in the Nether always produce a signal strength of 15; in the End, they work similarly to in the Overworld. {{In|Bedrock}}, inverted daylight detectors in the Nether or End never produce a signal under any circumstance. | {{In|Java}}, inverted daylight detectors in the Nether always produce a signal strength of 15; in the End, they work similarly to in the Overworld. {{In|Bedrock}}, inverted daylight detectors in the Nether or End never produce a signal under any circumstance. | ||
| Line 293: | Line 293: | ||
=== Fuel === | === Fuel === | ||
Daylight detectors can be used as a | Daylight detectors can be used as a fuel in [[Minecraft:furnace]]s, smelting 1.5 items per block. | ||
=== Note blocks === | === Note blocks === | ||
Daylight detectors can be placed under | Daylight detectors can be placed under note blocks to produce "bass" sounds. | ||
== Sounds == | == Sounds == | ||
| Line 374: | Line 374: | ||
=== Development === | === Development === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine||July 6, 2010|link=wordofnotch:776816446| | |{{HistoryLine||July 6, 2010|link=wordofnotch:776816446|Notch suggests that he may implement daylight sensors (in the blog post mentioning Alpha 1.0.2_01).}} | ||
|{{HistoryLine||November 24, 2012|link=Redstone Update| | |{{HistoryLine||November 24, 2012|link=Redstone Update|Jeb stated that there may be a daylight sensor.}} | ||
|{{HistoryLine||January 2, 2013|link={{tweet|jeb_|286493347756011520}}|Jeb tweeted an [https://web.archive.org/web/20230330102904/https://imgur.com/DmHt3 image] of the daylight sensor.}} | |{{HistoryLine||January 2, 2013|link={{tweet|jeb_|286493347756011520}}|Jeb tweeted an [https://web.archive.org/web/20230330102904/https://imgur.com/DmHt3 image] of the daylight sensor.}} | ||
}} | }} | ||
| Line 383: | Line 383: | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.5|dev=13w01a|[[File:Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}} | |{{HistoryLine||1.5|dev=13w01a|[[File:Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}} | ||
|{{HistoryLine||1.8|dev=14w31a|[[File:Inverted Daylight Detector JE1 BE1.png|32px]] Daylight sensors can now be toggled between | |{{HistoryLine||1.8|dev=14w31a|[[File:Inverted Daylight Detector JE1 BE1.png|32px]] Daylight sensors can now be toggled between day and night by {{control|using}} them.}} | ||
|{{HistoryLine||1.9|dev=15w47a|Daylight sensors no longer emit signal during the night when sufficiently shaded. | |{{HistoryLine||1.9|dev=15w47a|Daylight sensors no longer emit signal during the night when sufficiently shaded. | ||
|Inverted daylight sensors now emit a variable signal at night.}} | |Inverted daylight sensors now emit a variable signal at night.}} | ||
| Line 402: | Line 402: | ||
|{{HistoryLine|console}} | |{{HistoryLine|console}} | ||
|{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}} | |{{HistoryLine||xbox=TU19|xbone=CU7|ps3=1.12|psvita=1.12|ps4=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Daylight Detector JE1 BE1.png|32px]] Added daylight sensors.}} | ||
|{{HistoryLine||xbox=TU25|xbone=CU14|ps3=1.17|psvita=1.17|ps4=1.17|[[File:Inverted Daylight Detector JE1 BE1.png|32px]] Daylight sensors can now be toggled between | |{{HistoryLine||xbox=TU25|xbone=CU14|ps3=1.17|psvita=1.17|ps4=1.17|[[File:Inverted Daylight Detector JE1 BE1.png|32px]] Daylight sensors can now be toggled between day and night by {{control|using}} them.}} | ||
|{{HistoryLine||xbox=TU57|xbone=CU49|ps3=1.57|psvita=1.56|ps4=1.56|wiiu=Patch 27|switch=1.0.7|Daylight sensors can now be moved by [[Minecraft:piston]]s.}} | |{{HistoryLine||xbox=TU57|xbone=CU49|ps3=1.57|psvita=1.56|ps4=1.56|wiiu=Patch 27|switch=1.0.7|Daylight sensors can now be moved by [[Minecraft:piston]]s.}} | ||
}} | }} | ||
| Line 419: | Line 419: | ||
|{{HistoryLine||1.13|dev=17w47a|The different block IDs for the daylight detector have now been merged into one ID. | |{{HistoryLine||1.13|dev=17w47a|The different block IDs for the daylight detector have now been merged into one ID. | ||
|Added an inverted block state to daylight detectors. | |Added an inverted block state to daylight detectors. | ||
|Prior to | |Prior to ''The Flattening'', these blocks' numeral IDs were 151 and 178.}} | ||
}} | }} | ||
| Line 437: | Line 437: | ||
<gallery> | <gallery> | ||
File:Jeb Daylight Detector.png|First image of a daylight detector. | File:Jeb Daylight Detector.png|First image of a daylight detector. | ||
File:13w01a Banner.png|The 13w01a snapshot image released by | File:13w01a Banner.png|The 13w01a snapshot image released by Mojang. | ||
File:Daylight-sensor-recipe.jpeg | File:Daylight-sensor-recipe.jpeg | ||
</gallery> | </gallery> | ||
| Line 456: | Line 456: | ||
[[Category:Block entities]] | [[Category:Block entities]] | ||
de:Tageslichtsensor | |||
es:Sensor de luz solar | |||
fr:Capteur de lumière | |||
ja:日照センサー | |||
ko:햇빛 감지기 | |||
nl:Daglichtsensor | |||
pl:Detektor światła dziennego | |||
pt:Detector de Luz Solar | |||
ru:Датчик дневного света | |||
zh:阳光探测器 | |||
Revision as of 15:47, 9 April 2026
Template:Infobox block A daylight detector is a Minecraft:block that outputs a Minecraft:redstone signal based on its exposure to sky light.
Template:Control the detector inverts it, causing it instead to output a constant strong signal that weakens from exposure to sky light.
Obtaining
Breaking
Daylight detectors can be mined by hand or with any tool, but Minecraft:axes are the quickest. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. Template:IN, the inverted detector may be obtained by using Template:Control in Creative mode<ref>MCPE-179063 – Pickblocking an inverted Daylight Sensor produces "tile.daylight_detector_inverted.name" block</ref>, or via inventory editing or add-ons. Template:Breaking row
Crafting
Usage
Redstone component
A daylight detector can be used to produce redstone power in proportion to the daylight cycle.
A daylight detector is 0.375 blocks high (3/8ths of a block). Daylight detectors can be moved by Minecraft:pistons.Template:Only Minecraft:Water and Minecraft:lava flow around daylight detectors without affecting them.
- Placement
- 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.
- Activation
- A daylight detector activates when exposed to sufficient daylight (daylight detector mode) or when exposure to daylight is low enough (inverted daylight detector mode).
- Sources of block light (Minecraft:torches, Minecraft:glowstone, etc.) cannot activate a daylight detector.
- Behavior
- 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, the detector's exposure to the sky, and the internal 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 Minecraft: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).
- The output signal of daylight detectors in the loaded chunk is updated every 20 gametimeTemplate:Only/daytimeTemplate:Only. Block updates have no effect on daylight detectors.
Daylight detector
In the Minecraft:Overworld, a daylight detector's outputted signal strength depends on the time of day, the weather, the detector's exposure to the sky, and the internal sky light level.
| Power | Clear | Rain or snowfall | Thunder | |||
|---|---|---|---|---|---|---|
| Time ↓ | Time ↑ | Time ↓ | Time ↑ | Time ↓ | Time ↑ | |
| 0 | Template:ClockPhase 13,670–(Midnight/18,000)-22,330
(8,660 Gtk/7:13) |
Template:ClockPhase 13,670-(Midnight/18,000)–22,330
(8,660 Gtk/7:13) |
Template:ClockPhase 13,670-(Midnight/18,000)–22,330
(8,660 Gtk/7:13) | |||
| 1 | Template:ClockPhase 22,331–22,781
(450 Gtk/22.5 sec) |
Template:ClockPhase 13,219–13,669
(450 Gtk/22.5 sec) |
Template:ClockPhase 22,331–22,798
(467 Gtk/23.35 sec) |
Template:ClockPhase 13,203–13,669
(466 Gtk/23.3 sec) |
Template:ClockPhase 22,331–22,943
(612 Gtk/30.6 sec) |
Template:ClockPhase 13,058–13,669
(611 Gtk/30.55 sec) |
| 2 | Template:ClockPhase 22,782–23,069Template:Only/23,070Template:Only
J: (287 Gtk/14.35 sec) B: (288 Gtk/14.4 sec) |
Template:ClockPhase 12,931–13,218
(287 Gtk/14.35 sec) |
Template:ClockPhase 22,799–23,231
(432 Gtk/21.6 sec) |
Template:ClockPhase 12,769Template:Only/12,770Template:Only-13,202
J: (433 Gtk/21.65 sec) B: (432 Gtk/21.6 sec) |
Template:ClockPhase 22,944–23,352
(408 Gtk/20.4 sec) |
Template:ClockPhase 12,648–13,057
(409 Gtk/20.45 sec) |
| 3 | Template:ClockPhase 23,070Template:Only/23,071Template:Only-23,296
J: (226 Gtk/11.3 sec) B: (225 Gtk/11.25 sec) |
Template:ClockPhase 12,705–12,930
(225 Gtk/11.25 sec) |
Template:ClockPhase 23,232–23,504
(272 Gtk/13.6 sec) |
Template:ClockPhase 12,497–12,768Template:Only/12,769Template:Only
J: (271 Gtk/13.55 sec) B: (272 Gtk/13.6 sec) |
Template:ClockPhase 23,353–23,700
(347 Gtk/17.35 sec) |
Template:ClockPhase 12,300–12,647
(347 Gtk/17.35 sec) |
| 4 | Template:ClockPhase 23,297–23,529
(232 Gtk/11.6 sec) |
Template:ClockPhase 12,471–12,704
(233 Gtk/11.65 sec) |
Template:ClockPhase 23,505–23,745
(240 Gtk/12 sec) |
Template:ClockPhase 12,256–12,496
(240 Gtk/12 sec) |
Template:ClockPhase 23,701-(Dawn/24,000/0)–59
(240 Gtk/12 sec) |
Template:ClockPhase 11,941Template:Only/11,942Template:Only-(Dusk/12,000)-12,299
J: (358 Gtk/17.9 sec) B: (357 Gtk/17.85 sec) |
| 5 | Template:ClockPhase 23,530–23,767
(237 Gtk/11.85 sec) |
Template:ClockPhase 12,233–12,470
(237 Gtk/11.85 sec) |
Template:ClockPhase 23,746–23,991
(245 Gtk/12.25 sec) |
Template:ClockPhase 12,010–12,255
(245 Gtk/12.25 sec) |
Template:ClockPhase 60–441
(381 Gtk/19.05 sec) |
Template:ClockPhase 11,560–11,940Template:Only/11,941Template:Only
J:(380 Gtk/19 sec) B: (381 Gtk/19.05 sec) |
| 6 | Template:ClockPhase 23,768–23,960
(192 Gtk/9.6 sec) |
Template:ClockPhase 12,041–12,232
(191 Gtk/9.55 sec) |
Template:ClockPhase 23,992–(Dawn/24,000/0)-394
(386 Gtk/19.3 sec) |
Template:ClockPhase 11,607–(Dusk/12,000)-12,009
(402 Gtk/20.1 sec) |
Template:ClockPhase 442–1,039
(597 Gtk/29.85 sec) |
Template:ClockPhase 10,962–11,559
(597 Gtk/29.85 sec) |
| 7 | Template:ClockPhase 23,961–(Dawn/24,000/0)-166
(205 Gtk/10.25 sec) |
Template:ClockPhase 11,835–(Dusk/12,000)-12,040 (205 Gtk/10.25 sec) | Template:ClockPhase 395–882
(487 Gtk/24.35 sec) |
Template:ClockPhase 11,119–11,606
(487 Gtk/24.35 sec) |
Template:ClockPhase 1,040–1,735
(695 Gtk/34.75 sec) |
Template:ClockPhase 10,266–10,961
(695 Gtk/34.75 sec) |
| 8 | Template:ClockPhase 167–535
(368/18.4 sec) |
Template:ClockPhase 11,465Template:Only/11,466Template:Only-11,834
J: (369 Gtk/18.45 sec) B: (368 Gtk/18.4 sec) |
Template:ClockPhase 883–1,429Template:Only/1,430Template:Only
J: (546 Gtk/27.3 sec) B: (547 Gtk/27.35 sec) |
Template:ClockPhase 10,571–11,118
(547 Gtk/27.35 sec) |
Template:ClockPhase 1,736–2,608
(872 Gtk/43.6 sec) |
Template:ClockPhase 9,392–10,265
(873 Gtk/43.65 sec) |
| 9 | Template:ClockPhase 536–933
(397 Gtk/19.85 sec) |
Template:ClockPhase 11,067–11,464Template:Only/11,465Template:Only
J: (397 Gtk/19.85 sec) B: (398 Gtk/19.9 sec) |
Template:ClockPhase 1,430Template:Only/1,431Template:Only-2,069
J: (639 Gtk/31.95 sec) B: (638 Gtk/31.6 sec) |
Template:ClockPhase 9,931–10,570
(639 Gtk/31.95 sec) |
Template:ClockPhase 2,609–3,942
(1,333 Gtk/1:06.65 sec) |
Template:ClockPhase 8,059–9,391
(1,332 Gtk/1:06.6 sec) |
| 10 | Template:ClockPhase 934–1,371
(437 Gtk/21.85 sec) |
Template:ClockPhase 10,629–11,066
(437 Gtk/21.85 sec) |
Template:ClockPhase 2,070–2,875
(805 Gtk/40.25 sec) |
Template:ClockPhase 9,125Template:Only/9,126Template:Only-9,930
J: (805 Gtk/40.25 sec) B: (804 Gtk/40.2 sec) |
Template:ClockPhase 3,943–(Noon/6,000)-8,058
(4115 Gtk/3:25) | |
| 11 | Template:ClockPhase 1,372–1,865
(493 Gtk/24.65 sec) |
Template:ClockPhase 10,136–10,628
(492 Gtk/24.6 sec) |
Template:ClockPhase 2,876–4,108
(1,232 Gtk/1:01.6) |
Template:ClockPhase 7,892–9,124Template:Only/7,893–9,125Template:Only
J: (1,232 Gtk/1:01.6) B: (1,232 Gtk/1:01.6) |
N/A | N/A |
| 12 | Template:ClockPhase 1,866–2,444
(578 Gtk/28.9 sec) |
Template:ClockPhase 9,557–10,135
(578 Gtk/28.9 sec) |
Template:ClockPhase 4,109–(Noon/6,000)-7,891Template:Only/7,892Template:Only
J:(3,410 Gtk/2:50) B: (3,783 Gtk/3:9.15) |
N/A | N/A | |
| 13 | Template:ClockPhase 2,445–3,175
(730 Gtk/36.5 sec) |
Template:ClockPhase 8,826–9,556
(730 Gtk/36.5 sec) |
N/A | N/A | N/A | N/A |
| 14 | Template:ClockPhase 3,176–4,294
(1,118 Gtk/55.9 sec) |
Template:ClockPhase 7,706–8,825
(1,119 Gtk/55.95 sec) |
N/A | N/A | N/A | N/A |
| 15 | Template:ClockPhase 4,295–(Noon/6,000)-7,705
(3,410 Gtk/2:50) |
N/A | N/A | N/A | N/A | |
A non-inverted daylight detector never produces a signal in Minecraft:the Nether and, Template:In, also Minecraft:the End. Template:IN, daylight detectors always produces a maximum signal strength of 15 from exposure to the End dimension's sky, as the End's internal sky light level never changes.
Inverted daylight detector
Template:Control 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 on the internal sky light level. Specifically, it outputs a signal strength of 15 minus the current internal sky light level, where values over 15 or below 0 are taken as 15 or 0 respectively. This means that, in the Overworld, an inverted daylight detector actually outputs a strength of 11 at midnight when the weather is clear, 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 is not already full, and prevents it from reaching zero. Completely blocking an inverted daylight detector from exposure to the sky causes it to emit a signal strength of 15 at all times of day.
Template:In, inverted daylight detectors in the Nether always produce a signal strength of 15; in the End, they work similarly to in the Overworld. Template:In, inverted daylight detectors in the Nether or End never produce a signal under any circumstance.
The cells on inverted daylight detectors are emissive if Minecraft:Vibrant Visuals is enabled.
Fuel
Daylight detectors can be used as a fuel in Minecraft:furnaces, smelting 1.5 items per block.
Note blocks
Daylight detectors can be placed under note blocks to produce "bass" sounds.
Sounds
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table Template:ID table Template:ID table
Block states
Template:Edition: Template:Bst Template:Bst
Template:Edition: Template:Bst
Block data
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.
Template:El: Template:See also
<section begin="block data"/>
- Template:Nbt Block entity data
<section end="block data"/>
Videos
History
Development
Java Edition
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
Data history
Issues
Gallery
Screenshots
-
A graph visualising the states of a Daylight Detector under different weather conditions (ends rounded to the nearest quarter of a thousand Game-ticks)
-
An example of lights being powered upon the sunrise.
-
Art made using both states of the daylight detector.
-
One of the more common uses of the block, a simple street light using a redstone lamp.
Mojang screenshots
-
First image of a daylight detector.
-
The 13w01a snapshot image released by Mojang.
References
External links
- Block of the Month: Daylight Detector – Minecraft.net on December 14, 2023
Template:Navbox redstone Template:Navbox blocks
de:Tageslichtsensor es:Sensor de luz solar fr:Capteur de lumière ja:日照センサー ko:햇빛 감지기 nl:Daglichtsensor pl:Detektor światła dziennego pt:Detector de Luz Solar ru:Датчик дневного света zh:阳光探测器