MC0262 | |
---|---|
File:ZISO.png | |
IC Title | LIGHT SENSOR |
Type | ZISO |
Inputs | 0 |
Outputs | 1 |
Restricted | No |
Added | original CraftBook |
This is an existing IC from craftbook with a small update from CBX. To see the basic information about this IC visit: MC0262
Detects the specified minimum light level on the IC block. The detection location can be adjusted (added CBX v7.0)
This is automatically updated. For a version that requires manual updating see [MC1262]
Sign Settings[]
Quick Reference[]
|
||||||||
|
Details[]
- Line 3:
minimum_light_level is the lowest light level to detect. If the light level is lower, the output will be off. If the light level is equal or greater, the output will be on.
- Line 4:
x:y:z is an optional offset for the location to detect the light level. The x, y, z values must each be a value from -20 to 20. If left blank, the light level will be detected directly above the IC block.
Inputs[]
none
Outputs[]
D / 1: | Minimum light level If the light level on the IC block or specified location is the minimum level or higher, the output will be on, otherwise it will be off. |
---|
Optional Modes[]
none
Examples[]
Basic[]
Basic sign setup to detect if the light level is 13 or greater directly above the IC block
1 | |
2 | [MC0262] |
3 | 13 |
4 |
Detect at a different location[]
Detects if the light level is 13 or greater 3 blocks away from the IC block in the x-direction, 4 blocks up, and -1 block in the z-direction.
1 | |
2 | [MC0262] |
3 | 13 |
4 | 3:4:-1 |
Gallery[]
Bugs[]
- Due to using a self-triggered IC to check the light level, this IC suffers from the known server restart bug. Details and possible solutions can be found in the link.