Light Sensor
Type |
Multipart block |
---|---|
Physics |
No |
Transparency |
Yes (partial) |
Luminance |
No |
Blast resistance | |
Tool |
Any tool |
Renewable |
Yes |
Stackable |
Yes (64) |
Flammable |
No |
Availability |
Survival |
First appearance | |
Drops |
Itself |
Data value |
dec: 15 hex: F bin: 1111 |
Multipart ID |
pr_sgate |
The Light Sensor is a logic gate with 1 analog output. It drives an ambient light sensor.
Obtaining
Crafting
Ingredients | Crafting recipe |
---|---|
Circuit Plate + Lapis Lazuli + Conductive Plate |
Usage
I/O
The Light Sensor has only 1 output. When placed, on the ground, the side facing the player is the output.
Logic
The Light Sensor senses the light level (0 - 15) that it is receiving and emits an equal redstone signal (0 - 15) through its output. The sensor has 3 modes. Each mode calculates light levels differently.
Sky light is the light coming from the sky, while block light is the artificial light emitted from blocks such as torches or lamps. The gate has different modes that can sense either or, or both.
Configuration
A shift-right-click with a screwdriver can change the mode of the gate. When placed, the Light sensor is on Hybrid mode. The first click will change it to Daylight mode (what the vanilla Minecraft Daylight Sensor uses). The next click will change it to Block light mode.
History
Version | Changes |
---|---|
v4.0.0 | Added the Light Sensor. |
Issues
Issues pertaining to "Light Sensor" are maintained on the ProjectRed Github page. Report issues there.