Daylight Detector

(Redirected from Inverted daylight sensor)
Jump to navigation Jump to search
Daylight Detector
Daylight Detector.png: Infobox image for Daylight Detector the block in Minecraft

Regular

Inverted Daylight Detector.png: Infobox image for Daylight Detector the block in Minecraft

Inverted

Invicon Daylight Detector.png: Inventory sprite for Daylight Detector in Minecraft as shown in-game with description: Daylight Detector
Renewable

Yes

Stackable

Yes (64)

Tool

Blast resistance

0.2

Hardness

0.2

Luminous

No

Transparent

Yes

Waterloggable

JE: No
BE: Yes

Flammable

No

Catches fire from lava

Yes

Map color (Java)


  13 WOOD

A daylight detector is a block that outputs a redstone signal based on sunlight.

Using the detector inverts it, causing it instead to output a redstone signal based on the darkness of the sky.

Obtaining[edit | edit source]

Breaking[edit | edit source]

Daylight detectors can be mined by hand or with any tool, but axes are the quickest. Inverted daylight detectors cannot be collected directly; they drop a regular daylight detector. In Bedrock Edition, the inverted sensor may be obtained by using pick block in Creative mode[1], or via inventory editing or add-ons. This appears as tile.daylight_detector_inverted.name in the inventory.

Block Daylight Detector
Hardness 0.2
Tool
Breaking time (sec)[A]
Default 0.3
BlockSprite oak-planks.png: Sprite image for oak-planks in MinecraftWooden 0.15
BlockSprite cobblestone.png: Sprite image for cobblestone in MinecraftStone 0.1
ItemSprite iron-ingot.png: Sprite image for iron-ingot in MinecraftIron 0.05
ItemSprite diamond.png: Sprite image for diamond in MinecraftDiamond 0.05
ItemSprite netherite-ingot.png: Sprite image for netherite-ingot in MinecraftNetherite 0.05
ItemSprite gold-ingot.png: Sprite image for gold-ingot in MinecraftGolden 0.05
Legend
  • incorrect tool, drops nothing
  • correct tool, drops nothing or something other than the block itself
  • correct tool, drops the block itself
  • italicized can be instant mined
  1. These durations ignore other influential factors (e.g. Mining Fatigue), and are measured in seconds. For more information, see Breaking § Speed.

Crafting[edit | edit source]

Ingredients [hide]Crafting recipe
Glass +
Nether Quartz +
Any Wooden Slab
Invicon Glass.png: Inventory sprite for Glass in Minecraft as shown in-game linking to Glass with description: GlassInvicon Glass.png: Inventory sprite for Glass in Minecraft as shown in-game linking to Glass with description: GlassInvicon Glass.png: Inventory sprite for Glass in Minecraft as shown in-game linking to Glass with description: GlassInvicon Nether Quartz.png: Inventory sprite for Nether Quartz in Minecraft as shown in-game linking to Nether Quartz with description: Nether QuartzInvicon Nether Quartz.png: Inventory sprite for Nether Quartz in Minecraft as shown in-game linking to Nether Quartz with description: Nether QuartzInvicon Nether Quartz.png: Inventory sprite for Nether Quartz in Minecraft as shown in-game linking to Nether Quartz with description: Nether QuartzInvicon Oak Slab.png: Inventory sprite for Oak Slab in Minecraft as shown in-game linking to Oak Slab with description: Oak SlabInvicon Spruce Slab.png: Inventory sprite for Spruce Slab in Minecraft as shown in-game linking to Spruce Slab with description: Spruce SlabInvicon Birch Slab.png: Inventory sprite for Birch Slab in Minecraft as shown in-game linking to Birch Slab with description: Birch SlabInvicon Jungle Slab.png: Inventory sprite for Jungle Slab in Minecraft as shown in-game linking to Jungle Slab with description: Jungle SlabInvicon Acacia Slab.png: Inventory sprite for Acacia Slab in Minecraft as shown in-game linking to Acacia Slab with description: Acacia SlabInvicon Dark Oak Slab.png: Inventory sprite for Dark Oak Slab in Minecraft as shown in-game linking to Dark Oak Slab with description: Dark Oak SlabInvicon Mangrove Slab.png: Inventory sprite for Mangrove Slab in Minecraft as shown in-game linking to Mangrove Slab with description: Mangrove SlabInvicon Cherry Slab.png: Inventory sprite for Cherry Slab in Minecraft as shown in-game linking to Cherry Slab with description: Cherry SlabInvicon Pale Oak Slab.png: Inventory sprite for Pale Oak Slab in Minecraft as shown in-game linking to Pale Oak Slab with description: Pale Oak SlabInvicon Bamboo Slab.png: Inventory sprite for Bamboo Slab in Minecraft as shown in-game linking to Bamboo Slab with description: Bamboo SlabInvicon Crimson Slab.png: Inventory sprite for Crimson Slab in Minecraft as shown in-game linking to Crimson Slab with description: Crimson SlabInvicon Warped Slab.png: Inventory sprite for Warped Slab in Minecraft as shown in-game linking to Warped Slab with description: Warped SlabInvicon Oak Slab.png: Inventory sprite for Oak Slab in Minecraft as shown in-game linking to Oak Slab with description: Oak SlabInvicon Spruce Slab.png: Inventory sprite for Spruce Slab in Minecraft as shown in-game linking to Spruce Slab with description: Spruce SlabInvicon Birch Slab.png: Inventory sprite for Birch Slab in Minecraft as shown in-game linking to Birch Slab with description: Birch SlabInvicon Jungle Slab.png: Inventory sprite for Jungle Slab in Minecraft as shown in-game linking to Jungle Slab with description: Jungle SlabInvicon Acacia Slab.png: Inventory sprite for Acacia Slab in Minecraft as shown in-game linking to Acacia Slab with description: Acacia SlabInvicon Dark Oak Slab.png: Inventory sprite for Dark Oak Slab in Minecraft as shown in-game linking to Dark Oak Slab with description: Dark Oak SlabInvicon Mangrove Slab.png: Inventory sprite for Mangrove Slab in Minecraft as shown in-game linking to Mangrove Slab with description: Mangrove SlabInvicon Cherry Slab.png: Inventory sprite for Cherry Slab in Minecraft as shown in-game linking to Cherry Slab with description: Cherry SlabInvicon Pale Oak Slab.png: Inventory sprite for Pale Oak Slab in Minecraft as shown in-game linking to Pale Oak Slab with description: Pale Oak SlabInvicon Bamboo Slab.png: Inventory sprite for Bamboo Slab in Minecraft as shown in-game linking to Bamboo Slab with description: Bamboo SlabInvicon Crimson Slab.png: Inventory sprite for Crimson Slab in Minecraft as shown in-game linking to Crimson Slab with description: Crimson SlabInvicon Warped Slab.png: Inventory sprite for Warped Slab in Minecraft as shown in-game linking to Warped Slab with description: Warped SlabInvicon Oak Slab.png: Inventory sprite for Oak Slab in Minecraft as shown in-game linking to Oak Slab with description: Oak SlabInvicon Spruce Slab.png: Inventory sprite for Spruce Slab in Minecraft as shown in-game linking to Spruce Slab with description: Spruce SlabInvicon Birch Slab.png: Inventory sprite for Birch Slab in Minecraft as shown in-game linking to Birch Slab with description: Birch SlabInvicon Jungle Slab.png: Inventory sprite for Jungle Slab in Minecraft as shown in-game linking to Jungle Slab with description: Jungle SlabInvicon Acacia Slab.png: Inventory sprite for Acacia Slab in Minecraft as shown in-game linking to Acacia Slab with description: Acacia SlabInvicon Dark Oak Slab.png: Inventory sprite for Dark Oak Slab in Minecraft as shown in-game linking to Dark Oak Slab with description: Dark Oak SlabInvicon Mangrove Slab.png: Inventory sprite for Mangrove Slab in Minecraft as shown in-game linking to Mangrove Slab with description: Mangrove SlabInvicon Cherry Slab.png: Inventory sprite for Cherry Slab in Minecraft as shown in-game linking to Cherry Slab with description: Cherry SlabInvicon Pale Oak Slab.png: Inventory sprite for Pale Oak Slab in Minecraft as shown in-game linking to Pale Oak Slab with description: Pale Oak SlabInvicon Bamboo Slab.png: Inventory sprite for Bamboo Slab in Minecraft as shown in-game linking to Bamboo Slab with description: Bamboo SlabInvicon Crimson Slab.png: Inventory sprite for Crimson Slab in Minecraft as shown in-game linking to Crimson Slab with description: Crimson SlabInvicon Warped Slab.png: Inventory sprite for Warped Slab in Minecraft as shown in-game linking to Warped Slab with description: Warped Slab
Invicon Daylight Detector.png: Inventory sprite for Daylight Detector in Minecraft as shown in-game with description: Daylight Detector

Usage[edit | edit source]

Redstone component[edit | edit source]

Graphed daylight detector output in clear weather.
See also: Redstone circuit

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 pistons.‌[Bedrock Edition only] Water and 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 (torches, glowstone, etc.) cannot activate a daylight detector.
Behavior
An active daylight detector:
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 gametime‌[JE only]/daytime‌[BE only]. Block updates have no effect on daylight detectors.

Daylight detector[edit | edit source]

The daylight detector power level depends on the time of day, the weather, and the internal sky light level.

Daylight detector power levels when sky light level is 15
Power Clear Rain or snowfall Thunder
Time ↓ Time ↑ Time ↓ Time ↑ Time ↓ Time ↑
0 13,670–(Midnight/18,000)-22,330

(8,660 Gtk/7:13)

13,670-(Midnight/18,000)–22,330

(8,660 Gtk/7:13)

13,670-(Midnight/18,000)–22,330

(8,660 Gtk/7:13)

1 22,331–22,781

(450 Gtk/22.5 sec)

13,219–13,669

(450 Gtk/22.5 sec)

22,331–22,798

(467 Gtk/23.35 sec)

13,203–13,669

(466 Gtk/23.3 sec)

22,331–22,943

(612 Gtk/30.6 sec)

13,058–13,669

(611 Gtk/30.55 sec)

2 22,782–23,069‌[JE only]/23,070‌[BE only]

J: (287 Gtk/14.35 sec) B: (288 Gtk/14.4 sec)

12,931–13,218

(287 Gtk/14.35 sec)

22,799–23,231

(432 Gtk/21.6 sec)

12,769‌[JE only]/12,770‌[BE only]-13,202

J: (433 Gtk/21.65 sec) B: (432 Gtk/21.6 sec)

22,944–23,352

(408 Gtk/20.4 sec)

12,648–13,057

(409 Gtk/20.45 sec)

3 23,070‌[JE only]/23,071‌[BE only]-23,296

J: (226 Gtk/11.3 sec) B: (225 Gtk/11.25 sec)

12,705–12,930

(225 Gtk/11.25 sec)

23,232–23,504

(272 Gtk/13.6 sec)

12,497–12,768‌[JE only]/12,769‌[BE only]

J: (271 Gtk/13.55 sec) B: (272 Gtk/13.6 sec)

23,353–23,700

(347 Gtk/17.35 sec)

12,300–12,647

(347 Gtk/17.35 sec)

4 23,297–23,529

(232 Gtk/11.6 sec)

12,471–12,704

(233 Gtk/11.65 sec)

23,505–23,745

(240 Gtk/12 sec)

12,256–12,496

(240 Gtk/12 sec)

23,701-(Dawn/24,000/0)–59

(240 Gtk/12 sec)

11,941‌[JE only]/11,942‌[BE only]-(Dusk/12,000)-12,299

J: (358 Gtk/17.9 sec) B: (357 Gtk/17.85 sec)

5 23,530–23,767

(237 Gtk/11.85 sec)

12,233–12,470

(237 Gtk/11.85 sec)

23,746–23,991

(245 Gtk/12.25 sec)

12,010–12,255

(245 Gtk/12.25 sec)

60–441

(381 Gtk/19.05 sec)

11,560–11,940‌[JE only]/11,941‌[BE only]

J:(380 Gtk/19 sec) B: (381 Gtk/19.05 sec)

6 23,768–23,960

(192 Gtk/9.6 sec)

12,041–12,232

(191 Gtk/9.55 sec)

23,992–(Dawn/24,000/0)-394

(386 Gtk/19.3 sec)

11,607–(Dusk/12,000)-12,009

(402 Gtk/20.1 sec)

442–1,039

(597 Gtk/29.85 sec)

10,962–11,559

(597 Gtk/29.85 sec)

7 23,961–(Dawn/24,000/0)-166

(127 Gtk/6.35 sec)

11,835–(Dusk/12,000)-12,040 (205 Gtk/10.25 sec) 395–882

(487 Gtk/24.35 sec)

11,119–11,606

(487 Gtk/24.35 sec)

1,040–1,735

(695 Gtk/34.75 sec)

10,266–10,961

(695 Gtk/34.75 sec)

8 167–535

(368/18.4 sec)

11,465‌[JE only]/11,466‌[BE only]-11,834

J: (369 Gtk/18.45 sec) B: (368 Gtk/18.4 sec)

883–1,429‌[JE only]/1,430‌[BE only]

J: (546 Gtk/27.3 sec) B: (547 Gtk/27.35 sec)

10,571–11,118

(547 Gtk/27.35 sec)

1,736–2,608

(872 Gtk/43.6 sec)

9,392–10,265

(873 Gtk/43.65 sec)

9 536–933

(397 Gtk/19.85 sec)

11,067–11,464‌[JE only]/11,465‌[BE only]

J: (397 Gtk/19.85 sec) B: (398 Gtk/19.9 sec)

1,430‌[JE only]/1,431‌[BE only]-2,069

J: (639 Gtk/31.95 sec) B: (638 Gtk/31.6 sec)

9,931–10,570

(639 Gtk/31.95 sec)

2,609–3,942

(1,333 Gtk/1:06.65 sec)

8,059–9,391

(1,332 Gtk/1:06.6 sec)

10 934–1,371

(437 Gtk/21.85 sec)

10,629–11,066

(737 Gtk/36.85 sec)

2,070–2,875

(805 Gtk/40.25 sec)

9,125‌[JE only]/9,126‌[BE only]-9,930

J: (805 Gtk/40.25 sec) B: (804 Gtk/40.2 sec)

3,943–(Noon/6,000)-8,058

(4115 Gtk/3:25)

11 1,372–1,865

(493 Gtk/24.65 sec)

10,136–10,628

(492 Gtk/24.6 sec)

2,876–4,108

(1,232 Gtk/1:01.6)

7,892–9,124‌[JE only]/7,893–9,125‌[BE only]

J: (1,232 Gtk/1:01.6) B: (1,232 Gtk/1:01.6)

N/A N/A
12 1,866–2,444

(578 Gtk/28.9 sec)

9,557–10,135

(578 Gtk/28.9 sec)

4,109–(Noon/6,000)-7,891‌[JE only]/7,892‌[BE only]

J:(3,410 Gtk/2:50) B: (3,783 Gtk/3:9.15)

N/A N/A
13 2,445–3,175

(730 Gtk/36.5 sec)

8,826–9,556

(730 Gtk/36.5 sec)

N/A N/A N/A N/A
14 3,176–4,294

(1,118 Gtk/55.9 sec)

7,706–8,825

(1,119 Gtk/55.95 sec)

N/A N/A N/A N/A
15 4,295–(Noon/6,000)-7,705

(3,410 Gtk/2:50)

N/A N/A N/A N/A

Inverted daylight detector[edit | edit source]

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 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 an inverted daylight detector actually outputs a strength of 11 at midnight when it's clear weather, 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.

Fuel[edit | edit source]

Daylight detectors can be used as a fuel in furnaces, smelting 1.5 items per block.

Note blocks[edit | edit source]

Daylight detectors can be placed under note blocks to produce "bass" sounds.

Sounds[edit | edit source]

Java Edition:

[hide]BlockSprite oak-planks.png: Sprite image for oak-planks in Minecraft wood sound type
SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
​Block brokenBlocksOnce the block has brokenblock.wood.breaksubtitles.block.generic.break1.00.816
​Block placedBlocksWhen the block is placedblock.wood.placesubtitles.block.generic.place1.00.816
​Block breakingBlocksWhile the block is in the process of being brokenblock.wood.hitsubtitles.block.generic.hit0.250.516
​Something falls on a blockEntity-DependentFalling on the block with fall damageblock.wood.fallsubtitles.block.generic.fall0.50.7516
​FootstepsEntity-DependentWalking on the blockblock.wood.stepsubtitles.block.generic.footsteps0.151.016

Bedrock Edition:

[hide]BlockSprite oak-planks.png: Sprite image for oak-planks in Minecraft wood sound type
SoundSourceDescriptionResource locationVolumePitch
BlocksOnce the block has brokendig.wood1.00.8-1.0
BlocksWhen the block is placeddig.wood1.00.8
BlocksWhile the block is in the process of being brokenhit.wood0.230.5
PlayersFalling on the block with fall damagefall.wood0.41.0
PlayersWalking on the blockstep.wood0.31.0
BlocksJumping from the blockjump.wood0.121.0
BlocksFalling on the block without fall damageland.wood0.181.0

Data values[edit | edit source]

ID[edit | edit source]

Java Edition:

NameIdentifierForm[hide]Translation key
BlockSprite daylight-detector.png: Sprite image for daylight-detector in Minecraft Daylight Detectordaylight_detectorBlock & Itemblock.minecraft.daylight_detector
Name[hide]Identifier
BlockSprite daylight-detector.png: Sprite image for daylight-detector in Minecraft Block entitydaylight_detector

Bedrock Edition:

NameIdentifierNumeric ID FormItem ID[i 1][hide]Translation key
BlockSprite daylight-detector.png: Sprite image for daylight-detector in Minecraft Daylight Detectordaylight_detector151Block & Giveable Item[i 2]Identical[i 3]tile.daylight_detector.name
BlockSprite inverted-daylight-detector.png: Sprite image for inverted-daylight-detector in Minecraft Inverted Daylight Detectordaylight_detector_inverted178Block & Ungiveable Item[i 4]Identical[i 3]tile.daylight_detector_inverted.name
  1. ID of block's direct item form, which is used in savegame files and addons.
  2. Available with /give command.
  3. Jump up to: a b The block's direct item form has the same ID as the block.
  4. Unavailable with /give command
Name[hide]Savegame ID
BlockSprite daylight-detector.png: Sprite image for daylight-detector in Minecraft Block entityDaylightDetector

Block states[edit | edit source]

See also: Block states

Java Edition:

Name Default value Allowed values [hide]Description
invertedfalsefalse
true
If true, the daylight detector is inverted.
power00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The current redstone power level produced by the daylight sensor.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
[hide]Description
redstone_signal0x1
0x2
0x4
0x8
00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
The current redstone power level produced by the daylight sensor.


Block data[edit | edit source]

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.

Java Edition:

Bedrock Edition:

See Bedrock Edition level format/Block entity format.

Video[edit | edit source]

History[edit | edit source]

July 6, 2010Notch suggests that he may implement daylight sensors (in the blog post mentioning Alpha 1.0.2_01).
November 24, 2012Jeb stated that there may be a daylight sensor.
January 2, 2013Jeb tweeted an image of the daylight sensor.
[hide]Java Edition
1.513w01a Added daylight sensors.
1.814w31a Daylight sensors can now be toggled between day and night by using them.
1.915w47aDaylight sensors no longer emit signal during the night when sufficiently shaded.
Inverted daylight sensors now emit a variable signal at night.
1.1317w47a"Daylight Sensor" has been renamed to "Daylight Detector".
[hide]Pocket Edition Alpha
v0.13.0build 1 Added daylight sensors.
v0.15.0build 1Daylight sensors can now be moved by pistons.
[hide]Bedrock Edition
1.21.30Preview 1.21.30.22Changed name from "Daylight Sensor" to "Daylight Detector" to match Java Edition.
[hide]Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU19CU71.121.121.12Patch 11.0.1 Added daylight sensors.
TU25CU141.171.171.17 Daylight sensors can now be toggled between day and night by using them.
TU57CU491.571.561.56Patch 271.0.7Daylight detectors can now be moved by pistons.
[hide]New Nintendo 3DS Edition
0.1.0 Added daylight detectors.

[more information needed]

Data history[edit | edit source]

[hide]Java Edition
1.1116w32aThe block entity ID has now been changed from DLDetector to daylight_detector.
1.1317w47aThe different block IDs for the daylight detector have now been merged into one ID.
Added an inverted block state to daylight detectors.
Prior to The Flattening, these blocks' numeral IDs were 151 and 178.

Gallery[edit | edit source]

Screenshots[edit | edit source]

Mojang screenshots[edit | edit source]

Issues[edit | edit source]

Issues relating to "Daylight Sensor" or "Daylight Detector" are maintained on the bug tracker. Issues should be reported and viewed there.

References[edit | edit source]

  1. MCPE-179063 – Pickblocking an inverted Daylight Sensor produces "tile.daylight_detector_inverted.name" block

External links[edit | edit source]

Navigation[edit | edit source]