MC1260

From MinecraftOnline
Jump to navigation Jump to search


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

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

Details

  • Second Line
    • [MC1260]
  • Third Line
    • (YOffset) optional; defaults to -1.
      • Specifies the vertical offset from the block behind the IC.
      • 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 water or flowing water. Otherwise, the output is set low.

The default offset of -1 checks the block one block below the block behind the IC.

Examples

Basic setup

line1: SENSE WATER
line2: [MC1260]
line3:
line4:

Checks for water one block below the block behind the IC.

Custom Y offset

line1: SENSE WATER
line2: [MC1260]
line3: 2
line4:

Checks for water two blocks above the block behind the IC.

See Also

  • MC0260 - Self-triggering variant of Sense Water
  • MC1261 - Sense Lava