MC1207

From MinecraftOnline
Jump to navigation Jump to search
Flex Set Admin
About
ID MC1207
Self-Triggering No
Clickable No
Input Yes
Output None
Restricted admin placement only
Sign Format
First line FLEX SET ADMIN
Second line [MC1207]
Third line Offset:BlockID(:Damage)
Fourth line (Hold)
Craftbook Page

MC1207 is a Craftbook IC that places a specified block at a configurable offset from the block behind the IC when triggered.

Details

  • Second Line
    • [MC1207]
  • Third Line
    • Offset:BlockID(:Damage)
      • Offset required.
        • Specifies the position relative to the block behind the IC.
        • Is the combination of 3 entries, being: [X|Y|Z][-|+]Distance
          • Must provide at least one specification of X, Y, or Z, so the axis direction is set.
          • Must provide either a - or + to indicate the positive or negative axis direction.
          • Must provide a whole integer value for Distance.
      • BlockID required.
        • Specifies the type of block to place, with an optional damage value 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
    • (Hold) optional; defaults to false.
      • Accepts a boolean value of true or false
      • When enabled, the placed block is removed when the input is deactivated, provided that it still has the configured block type.


When triggered by an input, the IC places the specified block at the configured offset from the block behind the IC.

If the destination already contains the specified block type, no changes are made.

If Hold is enabled, the IC removes the placed block when the input is deactivated, provided that the destination still contains the specified block type. Otherwise, the placed block remains in place.

Examples

Basic setup

line1:
line2: [MC1207]
line3: Y+1:1
line4:

Places a stone block one block above the block behind the IC when triggered. The placed block remains after the input is deactivated.

Specific offset setup

line1:
line2: [MC1207]
line3: X-2:1
line4:

Places a stone block two blocks along the X axis from the block behind the IC when triggered.

Hold setup

line1:
line2: [MC1207]
line3: Y+1:1
line4: true

Places a stone block one block above the block behind the IC when triggered, and removes it when the input is deactivated, provided that it has not been replaced with another block type.

See Also