MC1206

From MinecraftOnline
Jump to navigation Jump to search
Set Block Below
About
ID MC1206
Self-Triggering No
Clickable No
Input Any
Output Single
Restricted admin placement only
Sign Format
First line SET BLOCK BELOW
Second line [MC1206]
Third line BlockID(:Damage)
Fourth line (Force)
Craftbook Page

MC1206 is a Craftbook IC that places a specified block below the block behind the IC when triggered.

Details

  • Second Line
    • [MC1206]
  • Third Line
    • BlockID(:Damage) -
      • BlockID required.
      • Damage optional; defaults to 0.
    • BlockID Specifies the block type, and its optional damage value can be provided via Damage.
    • If no Damage value is provided, the default value is 0.
  • Fourth Line
    • (Force)
      • Optional; defaults to disabled.
    • Force Allows the IC to replace an existing block at the destination.
    • Must be blank if "Force" isn't submitted.

When triggered by an input, the IC attempts to place the specified block at a position two blocks below the block behind the IC.

By default, the IC will only place the block if the destination is air. If the fourth line contains Force, the IC will instead replace any existing block at the destination.

The IC outputs high if the block is successfully placed, and low if placement is unsuccessful.

Examples

Basic setup

line1:
line2: [MC1206]
line3: 1
line4:

Places a stone block at the destination, provided that the destination is air.

Specific block damage setup

line1:
line2: [MC1206]
line3: wool:14
line4:

Places wool with a damage value of 14 at the destination, provided that the destination is air.

Force setup

line1:
line2: [MC1206]
line3: 1
line4: Force

Places a stone block at the destination, replacing any existing block.

See Also