MC0260

From MinecraftOnline
Jump to navigation Jump to search


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

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

Details

  • Second Line
    • [MC0260]
  • 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


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

Automatically checks for water one block below the block behind the IC.

Custom Y offset

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

Automatically checks for water two blocks above the block behind the IC.

See Also