MC1262

From MinecraftOnline
Jump to navigation Jump to search
Sense Light
About
ID MC1262
Type AISO
Self-Triggering No
Clickable No
Input Any
Output Single
Sign Format
First line SENSE LIGHT
Second line [MC1262]
Third line MinLight
Fourth line (Offset)
Craftbook Page

MC1262 is a Craftbook IC that detects the light level at a configurable position relative to the block behind the IC, setting its output high when the light level meets or exceeds the specified minimum.

Details

  • Second Line
    • [MC1262]
  • Third Line
    • MinLight required.
      • Specifies the minimum light level required for the output to be high.
      • Must be a whole integer value between 0 and 15.
  • Fourth Line
    • (Offset) optional; defaults to y+1.
      • Specifies the position to check relative to the block behind the IC.
      • Is a combination of 3 entries, being: x:y:z
        • Each entry is limited to a maximum of 20 blocks in a single direction (positive or negative).


When triggered by an input, the IC checks the light level at the configured position.

The output is set high if the light level is greater than or equal to MinLight. Otherwise, the output is set low.

The default offset checks the block one block above the block behind the IC.

Examples

Basic setup

line1: SENSE LIGHT
line2: [MC1262]
line3: 8
line4:

Checks whether the light level one block above the block behind the IC is at least 8.

Custom light threshold

line1: SENSE LIGHT
line2: [MC1262]
line3: 12
line4: 1:0:1

Checks whether the light level at the default position is at least 12, with an offset of 1 along the X-axis and 1 along the Z-axis.

See Also

  • MC0262 - Self-triggering variant of Sense Light