MC0262
Jump to navigation
Jump to search
| About | |
|---|---|
| ID | MC0262 |
| Type | ZISO |
| Self-Triggering | Yes |
| Clickable | No |
| Input | None |
| Output | Single |
| First line | SENSE LIGHT |
| Second line | [MC0262] |
| Third line | MinLight |
| Fourth line | (Offset) |
| Craftbook Page | |
MC0262 is a Craftbook IC that automatically 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
MinLightrequired.- Specifies the minimum light level required for the output to be high.
- Must be a whole integer value between
0and15.
- Fourth Line
(Offset)optional; defaults toy+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).
The IC automatically 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: [MC0262] 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: [MC0262] line3: 12 line4: 1:0:1
Checks whether the light level is at least 12, with an offset of 1 along the X-axis and 1 along the Z-axis.
See Also
- MC1262 - Sense Light