MC1261

From MinecraftOnline
Jump to navigation Jump to search


Sense Lava
About
ID MC1261
Type AISO
Self-Triggering No
Clickable No
Input Any
Output Single
Sign Format
First line SENSE LAVA
Second line [MC1261]
Third line (YOffset)
Craftbook Page

MC1261 is a Craftbook IC that detects whether lava is present at a specified Y coordinate behind the IC, setting its output high when lava is detected.

Details

  • Second Line
    • [MC1261]
  • 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 0 and 255.


When triggered by an input, the IC 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: [MC1261]
line3:
line4:

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: [MC1261]
line3: 0
line4:

Checks for lava at the same Y coordinate as the IC, at the X and Z coordinates of the block behind it.

See Also

  • MC0261 - Self-triggering variant of Sense Lava
  • MC1260 - Sense Water