Learn /
Blocks /
Inputs /
Daylight Sensor
Daylight Sensor
A daylight sensor outputs an analog 0–15 signal that tracks the sun's height, peaking at noon. Toggle it to inverted mode and it instead peaks at midnight for night lighting.
Bedrock Edition · Block dictionary
Daylight Sensor — spec
Output Power 0–15 from sky-light intensity
Peak 15 at noon, 0 at night (normal mode)
Inverted Click to flip: max at midnight, zero at noon
Weather Rain and storms reduce output
Bedrock note Inverted mode is what powers automatic street lamps — the sensor goes high as the sun sets, switching the lights on without any clock.
Open full simulator →
Related blocks
Built something cool? Open the simulator · Found an error? Use the in-app feedback button · Support this project
Not affiliated with Mojang or Microsoft. Minecraft is a trademark of Mojang Synergies AB.