Obtaining
Daylight sensors can be broken fairly easily by hand, but can be broken faster by using an axe. Inverted daylight sensors cannot be collected, they will drop a regular daylight sensor.
Block | Daylight Sensor | |
---|---|---|
Hardness | 0.2 | |
Tool | ||
Breaking "Punch" redirects here. For the enchantment, see Enchanting#Punch. The Player punches trees and gets wood (click to view animation). Breaking, digging, punching, or mining is one of the most fundamental activities in Minecraft, performed (by ![]() | ||
Hand | 0.35 | |
Wooden | 0.2 | |
Stone | 0.1 | |
Iron | 0.05 | |
Diamond | 0.05 | |
Golden | 0.05 |
- ⃢₆ₑ Times are for unenchanted tools in seconds.
Info
![]() | “ | We`re big fans of the daylight sensor, seeing as it can sense when night falls and automatically close your doors, stopping mobs from getting in. Very handy if you`re crafting in your basement and lose track of time! | „ |
— Tom Stone Tom Stone Occupation Creative communications assistant @@@#@@@Twitter(twitter.com)###@### name @TheTomStrange This article is a stub. Please help us by expanding it. Tom Stone is a creative communications assistant at Mojang AB, having started as of Jan. ![]() |
A daylight sensor is a block See the various blocks found in Minecraft. For the blocking with shields that reduces damage when performed, see Blocking. All blocks Blocks are the basic units of structure in Minecraft. Contents 1 that outputs a redstone Redstone Transparency Yes Luminance No Blast resistance 0 Tool Any tool Renewable Yes Stackable Yes (64) Flammable No Availability Survival Drops Redstone (1) Data values See Data values Name See Data values This article is
signal based on sunlight (or lack thereof).
Videos
Crafting
Usage
Redstone component
A daylight sensor can be used to produce redstone power in proportion to the daylight or night time.
A daylight sensor is 0.375 blocks high (3/8ths of a block). Daylight sensors cannot be moved by pistons Piston Transparency Yes Luminance None Blast resistance 2.5 Tool Any tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data values See Data values Pistons are blocks capable of pushing most blocks, depending on . Java Minecraft Author(s) Mojang AB (Credits) Markus "Notch" Persson (Creator) Jens "Jeb" Bergensten (Lead Developer) Jon "jonkagstrom" Kågström (AI Programmer) Nathan "Dinnerbone" Adams Erik "Grum" Broes Michael "Searge" Stoyke Thomas "ProfMobius" Guimbretière Agnes "LadyAgnes" Larsson Maria
and Console Console Edition Author(s) Mojang AB 4J Studios Platform(s) Written in C++ Latest version Xbox 360 - TU53 Xbox One - CU43 PS3 - 1.51 PS4 - 1.50 PSVita - 1.51 Wii U - Patch 23
editions Water Water Transparency Partial (-2 to light) Luminance No Blast resistance 500 (Flowing) 500 (Still) Tool Renewable Yes Stackable N/A Flammable No Drops None Data values Flowing Water dec: 08 hex: 8 bin: 1000 Still Water dec: 09 hex: 9 bin: 1001
and lava Lava Transparency Yes Luminance Yes, 15 Blast resistance 500 Tool Renewable No Stackable N/A Flammable No Drops None Data values Flowing Lava dec: 10 hex: A bin: 1010 Still Lava dec: 11 hex: B bin: 1011 Name Flowing Lava flowing_lava Still
will flow around daylight sensors without affecting them.
- Placement
- To place a daylight sensor, use the "Use Item/Place Block" control (right-click, by default).
- A daylight sensor can be "inverted", which reverses the power levels produced by the daylight sensor. To invert a daylight sensor, use the "Use Item/Place Block" control (right-click, by default).
- Activation
- A daylight sensor activates when exposed to sufficient daylight (daylight detector mode) or when its sky light level drop to 0 ( inverted daylight detector mode).
- An inverted daylight sensor activates when exposure to daylight is low enough (inverted daylight detector mode).
- Behavior
- An active daylight sensor:
- powers adjacent redstone dust, including below it, and redstone comparators facing away from the daylight sensor, to a power level that depends on the time of day, the weather, and the daylight sensor`s sky light level (see tables below)
- powers adjacent redstone repeaters facing away from the daylight sensor to power level 15
- activates adjacent redstone mechanisms, including above and below, such as pistons Piston Transparency Yes Luminance None Blast resistance 2.5 Tool Any tool Renewable Yes Stackable Yes (64) Flammable No Drops Itself Data values See Data values Pistons are blocks capable of pushing most blocks, depending on
, redstone lamps, etc.
- A daylight sensor has no effect on other adjacent blocks (for instance, it cannot power a block the way a repeater can.
Daylight Sensor
If a daylight sensor has an opaque block above it, then it will emit a weaker signal, or none at all, as it is directly proportional to the sky light.
The daylight sensor power level should be 0 from time 13680 to 22340.
Power | Clear | Rain | Thunder | ||||||
---|---|---|---|---|---|---|---|---|---|
Time reached | Time dissipates | Light levels | Time reached | Time dissipates | Light levels | Time reached | Time dissipates | Light levels | |
0 | N/A | N/A | 4–5 | N/A | N/A | 4–5 | N/A | N/A | 4–5 |
1 | 22340 | 13680 | 4–7 | 22340 | 13680 | 4–7 | 22340 | 13680 | 4–6 |
2 | 22800 | 13220 | 7–9 | 22800 | 13220 | 6–8 | 22960 | 13060 | 6–8 |
3 | 23080 | 12940 | 9–11 | 23240 | 12780 | 8–10 | 23360 | 12660 | 7–8 |
4 | 23300 | 12720 | 11–12 | 23520 | 12500 | 9–11 | 23700 | 12300 | 8–10 |
5 | 23540 | 12480 | 12–13 | 23760 | 12260 | 10–12 | 60 | 11940 | 10 |
6 | 23780 | 12240 | 13–14 | 0 | 12020 | 11–12 | 460 | 11560 | 10 |
7 | 23960 | 12040 | 15 | 400 | 11620 | 12 | 1040 | 10980 | 10 |
8 | 180 | 11840 | 15 | 900 | 11120 | 12 | 1740 | 10280 | 10 |
9 | 540 | 11480 | 15 | 1440 | 10580 | 12 | 2620 | 9400 | 10 |
10 | 940 | 11080 | 15 | 2080 | 9940 | 12 | 3960 | 8060 | 10 |
11 | 1380 | 10640 | 15 | 2880 | 9140 | 12 | N/A | N/A | N/A |
12 | 1880 | 10140 | 15 | 4120 | 7900 | 12 | N/A | N/A | N/A |
13 | 2460 | 9560 | 15 | N/A | N/A | N/A | N/A | N/A | N/A |
14 | 3180 | 8840 | 15 | N/A | N/A | N/A | N/A | N/A | N/A |
15 | 4300 | 7720 | 15 | N/A | N/A | N/A | N/A | N/A | N/A |
Inverted Daylight Sensor
Using a daylight sensor will invert it. The inverted sensor acts contrary to the daylight sensor emitting full redstone strength during night time, weak strength during the day and no redstone strength at high noon. 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.
The inverted daylight sensor cannot be obtained as an item. Removing an inverted daylight sensor will simply drop a regular daylight sensor.
Power | Clear | Rain | Thunder | ||||||
---|---|---|---|---|---|---|---|---|---|
Time reached | Time dissipates | Light levels | Time reached | Time dissipates | Light levels | Time reached | Time dissipates | Light levels | |
0 | 4300 | 7720 | 15 | N/A | N/A | N/A | N/A | N/A | N/A |
1 | 3180 | 8840 | 15 | N/A | N/A | N/A | N/A | N/A | N/A |
2 | 2460 | 9560 | 15 | N/A | N/A | N/A | N/A | N/A | N/A |
3 | 1880 | 10140 | 15 | 4120 | 7900 | 12 | N/A | N/A | N/A |
4 | 1380 | 10640 | 15 | 2880 | 9140 | 12 | N/A | N/A | N/A |
5 | 940 | 11080 | 15 | 2080 | 9940 | 12 | 3960 | 8060 | 10 |
6 | 540 | 11480 | 15 | 1440 | 10580 | 12 | 2620 | 9400 | 10 |
7 | 180 | 11840 | 15 | 900 | 11120 | 12 | 1740 | 10280 | 10 |
8 | 23960 | 12040 | 15 | 400 | 11620 | 12 | 1040 | 10980 | 10 |
9 | 23780 | 12240 | 13–14 | 0 | 12020 | 11–12 | 460 | 11560 | 10 |
10 | 23540 | 12480 | 12–13 | 23760 | 12260 | 10–12 | 60 | 11940 | 10 |
11 | 23300 | 12720 | 11–12 | 23520 | 12500 | 9–11 | 23700 | 12300 | 8–10 |
12 | 23080 | 12940 | 9–11 | 23240 | 12780 | 8–10 | 23360 | 12660 | 7–8 |
13 | 22800 | 13220 | 7–9 | 22800 | 13220 | 6–8 | 22960 | 13060 | 6–8 |
14 | 22340 | 13680 | 4–7 | 22340 | 13680 | 4–7 | 22340 | 13680 | 4–6 |
15 | N/A | N/A | 4–5 | N/A | N/A | 4–5 | N/A | N/A | 4–5 |
Fuel
Daylight sensors can be used as a fuel in furnaces, smelting 1.5 items per block.
Data values
A daylight sensor is defined by its ID and block data, and it also has a block entity. A daylight sensor also has a block state which is expected to replace the functionality of block data in a future version.
ID
A daylight sensor`s ID specifies its mode (regular or inverted).
Name See values from the latest PC version of Minecraft. For values from Classic, see Data values/Classic. For values from Indev, see Data values/Indev. For values from the Pocket Edition, see Pocket Edition ![]() | ID Name | Block ID |
---|---|---|
Daylight Sensor | daylight_detector | 151 |
Inverted Daylight Sensor | daylight_detector_inverted | 178 |
Block data
- See also: Data values
A daylight sensor`s block data stores its power level:
Bits | Values |
---|---|
0x1 0x2 0x4 0x8 | Four bits storing a value from 0 to 15 representing the daylight sensor`s current redstone power level. |
Block entity
- See also: Block entity format
A daylight sensor 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 sensor`s block entity stores no additional data, the block entity ensures that the daylight sensor is updated every game tick. The block`s block entity ID is daylight_detector
.
Block entity data- Tags common to all block entities see Template:Nbt inherit/blockentity/template
Block state
- See also: Block states
Name See values from the latest PC version of Minecraft. For values from Classic, see Data values/Classic. For values from Indev, see Data values/Indev. For values from the Pocket Edition, see Pocket Edition ![]() | Value | Description |
---|---|---|
power | 0⃢₀ₓ15 | The current redstone power level produced by the daylight sensor. |
Video
History
Official release | |||||
---|---|---|---|---|---|
24 Nov. 2012 | Jeb stated that there may be a daylight sensor. | ||||
2 Jan. 2013 | Jeb tweeted an image of the daylight sensors. | ||||
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 sensor now emits a variable signal at night. | |||||
1.11 | 16w32a | The block entity ID is changed from DLDetector to daylight_detector . | |||
Pocket Edition Alpha | |||||
0.13.0 | build 1 | Added daylight sensors. | |||
0.15.0 | build 1 | Daylight sensors can now be moved by pistons. | |||
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. |
Gallery
-
The 13w01a snapshot image released by Mojang.
Issues
Issues relating to ⃢₀ₜDaylight Sensor⃢₀ are maintained on the issue tracker. Report issues there.
Crafting
Daylight Sensor | ||
---|---|---|
Glass | Glass | Glass |
Nether Quartz | Nether Quartz | Nether Quartz |
Wooden Slab | Wooden Slab | Wooden Slab |