Skip to main content

Latch Block

A lock with conditions: keyed, it seals its set while its key block touches the latch; unkeyed, it seals until Tier blocks press against all six faces of the latch.

Pattern​

Hover a tile to name it. Reading pattern diagrams explains the symbols.

5 × 5, one layer. Drawn flat on the ground, facing any compass direction.

TATT↑T→TATBTAT←T↓TTAT
  • Tier block × 12
    Every T is the same block, and that block’s Tier sets the rune’s strength.
  • Signature block × 4
    Each arm holds a Tier 1+ block other than the Tier block, or stays empty (air or Tier 0). Read by compass direction, the arms spell the rune’s signature.
  • Air or a Tier 0 block × 4
    Leave these as air, or fill them with Tier 0 blocks such as dirt or stone.
  • Activation block
    The glowing cell is the one to click.
  • Spent
    Cells with a corner mark are used up when the rune wakes.

Keys

  • Deepslate Gold Ore, Gold Ore, or Nether Gold Ore × 4
    spent when the rune wakes
    Takes Deepslate Gold Ore, Gold Ore, Nether Gold Ore.
    /runic build places Gold Ore.
  • Any block, or none × 1
    optional: an empty cell works too · spent when the rune wakes
    Takes any of 1193 blocks
      /runic build places Acacia Log.

    How it works​

    A Latch is a Lock with conditions. It seals a two-shape set and drives it by click or redstone, but only while its condition allows:

    LatchDrives the set when
    Without a keyAll six faces of the Latch touch Tier 1 or higher blocks.
    With a keyIts key block is away from it. Setting the key against any face holds the set fast.

    A keyed Latch makes a bolt: set its key block against it, and the door stays shut whatever anyone clicks. Take the key away to free it. An unkeyed Latch works the other way round: bury it in Tier blocks and it answers, and open any face to hold the set shut.

    A Latch that is holding shut also stops Spleef and Sploggle blocks in its set from answering clicks.

    Configuration​

    These are the defaults in plugins/Runic/runes/latchblock.yml. Every rune file also carries the shared settings described in Rune files.

    SettingDefaultWhat it does
    use-chargestruetrue = finite tier charges, false = infinite charges
    usage-messagesfalseWhen true, chat reports each use of this toggle/lock family rune.
    max-set8192Max orthogonally connected cells sharing one signature that this rune may wave (hard-capped at 8192).

    Settings by Tier​

    SettingTier 1Tier 2Tier 3Tier 4Tier 5Tier 6Tier 7
    charges-by-tier
    Charges granted per pattern Tier (1 = Tier 1 … 7 = Tier 7). Edit this table to override the baked default pool.
    12266015039010533159

    Messages​

    15 messages this rune can show
    KeyDefault text
    reject-itemHold a non-placeable item (not a block) to forge the Latch Block designator.
    conflictThat tool already carries a conflicting designator.
    absorbedYour {item} drinks the rune ({charges} designations).
    interfereThere is already magic here that interferes.
    no-chargesThe designator is spent.
    designatedThe block becomes a Latch Block. ({remaining} left)
    latchedThe latch is held shut by its key.
    unbracedThe latch needs a Tier block against every face before it will open.
    unlockedThe latch releases; the blocks may move.
    lock-disabledThe latch is disabled — place a block here to restore it.
    restoredThe latch wakes again.
    brokenThe latch's magic scatters.
    set-too-largeToo many connected blocks — the set cannot exceed {max}.
    in-transitThese blocks hold still — a faith transfer is underway.
    lockedA Latch Block holds these toggles shut.