MC0261
Jump to navigation
Jump to search
| About | |
|---|---|
| ID | MC0261 |
| Type | ZISO |
| Self-Triggering | Yes |
| Clickable | No |
| Input | None |
| Output | Single |
| First line | SENSE LAVA |
| Second line | [MC0261] |
| Third line | (YOffset) |
| Craftbook Page | |
MC0261 is a Craftbook IC that automatically detects whether lava is present at a specified Y coordinate behind the IC, setting its output high when lava is detected.
Details
- Second Line
- [MC0261]
- Third Line
(YOffset)optional; defaults to-1.- Specifies the vertical offset from the IC block.
- Must be a whole integer value.
- The final Y coordinate is clamped between
0and255.
The IC automatically checks the block at the X and Z coordinates of the block behind it, and the calculated Y coordinate.
The output is set high if the block is either lava or flowing lava. Otherwise, the output is set low.
The default offset of -1 checks the block one block below the IC.
Examples
Basic setup
line1: SENSE LAVA line2: [MC0261] line3: line4:
Automatically checks for lava one block below the IC, at the X and Z coordinates of the block behind it.
Custom Y offset
line1: SENSE LAVA line2: [MC0261] line3: 0 line4:
Automatically checks for lava at the same Y coordinate as the IC, at the X and Z coordinates of the block behind it.