CraftBook Extra Wiki
Advertisement
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[]

line 1 <blank>
line 2 [MC0262]
line 3 minimum_light_level
line 4 x:y:z
green text = OPTIONAL
everything else = REQUIRED

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[]

File:IC input.png

zero input

none


Outputs[]

File:IC output1.png

1 output

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[]

Advertisement