MC1206

From MinecraftOnline
Jump to navigation Jump to search
Set Block Below
About
ID MC1206
Type AISO
Self-Triggering No
Clickable No
Input Any
Output Single
Restricted admin placement only
Sign Format
First line SET 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.
        • Specifies the block type, and its optional damage value can be provided via Damage.
        • The ID can be in the form of the pre-flattening Minecraft numeric IDs, or as the modern written out IDs.
          • For example: "stone" and "1" will both provide the ID for stone.
      • Damage optional; defaults to the block type's default state (0).
        • Needs to be a whole integer value.
  • Fourth Line
    • (Force) optional; defaults to disabled.
      • 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