Skip to main content

Weather Sensor

A daylight detector ringed by rods and comparators. A change to or from clear wakes its signature, and the detector itself speaks the weather in redstone.

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.

AB↑BABTCTB←CDC→BTCTBAB↓BA
  • Tier block × 4
    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.
  • Activation block
    The glowing cell is the one to click.
  • Spent
    Cells with a corner mark are used up when the rune wakes.

Keys

  • Any Lightning Rod × 4
    needs a particular block state · spent when the rune wakes
    Takes any of 8 blocks
    • Any Lightning Rod: Exposed Lightning Rod, Lightning Rod, Oxidized Lightning Rod, Waxed Exposed Lightning Rod, Waxed Lightning Rod, Waxed Oxidized Lightning Rod, Waxed Weathered Lightning Rod, Weathered Lightning Rod
    /runic build places Lightning Rod.
  • Redstone Dust × 8
    spent when the rune wakes
  • Comparator × 4
    spent when the rune wakes
  • Daylight Detector × 1
    stays after use

How it works​

The Weather Sensor fires when the sky changes: from clear to rain or thunder, or back to clear. It wakes every block marked under its signature by an Automation Designator, and its daylight detector speaks the weather in redstone.

Build the daylight detector ringed by comparators, redstone, Tier blocks, and lightning rods, with the comparators pointing in toward it. Right-click the detector. The ring burns away, signature and all, and the detector stays as the sensor.

Redstone output​

ModeOutput
NormalOff while idle. A short pulse when the sky changes, and a stronger one when lightning strikes within reach.
InvertedA steady signal: off under a clear sky, low in rain, higher in a thunderstorm, and full strength for five seconds after nearby lightning.

Right-click the detector to switch between the two modes. Its reach is 32 blocks per Tier, measured as a flat square.

Sneak and right-click the detector to disarm it. Only the player who attuned it can disarm or re-attune it. Others hear This sensor answers only to the one who attuned it.

Tips​

  • Use the inverted signal to close skylights or bring livestock in while it rains.
  • Server owners can set every strength and pulse length in weathersensor.yml.

See Automation for more.

Configuration​

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

SettingDefaultWhat it does
fire-cooldown-ticks0Minimum game ticks between fires for this sensor (0 = no cooldown). Weather changes are already one pulse per sky edge, so no extra cooldown.
radius-blocks-per-tier32Horizontal reach in blocks for one Tier. A higher Tier multiplies this. Lightning farther away is ignored, and the automation pulse uses the same reach. Distance is flat; height does not matter.
normalNormal mode. The daylight detector is not inverted. It idles at 0, then emits a pulse when the sky changes or lightning strikes within range. Strengths above 15 count as 15. A pulse length of 0 emits nothing.
normal.weather-pulse-ticks2
normal.weather-pulse-strength10Strength of a weather-change pulse, from 0 to 15.
normal.lightning-pulse-ticks2Game ticks a lightning pulse stays on.
normal.lightning-strength15Strength of a lightning pulse, from 0 to 15.
invertedInverted mode. Right-click the detector so it is inverted. It holds a level for the sky, and a lightning strike replaces that level for a while. Strengths above 15 count as 15. A lightning length of 0 leaves the sky level.
inverted.clear-strength0
inverted.rain-strength5Held strength in rain without thunder, from 0 to 15.
inverted.storm-strength10Held strength while thundering, from 0 to 15.
inverted.lightning-ticks100Game ticks lightning holds its strength before the sky level returns.
inverted.lightning-strength15Strength while that lightning hold lasts, from 0 to 15.

Messages​

8 messages this rune can show
KeyDefault text
disarmed{display} disarmed.
attuned{display} attuned. Matching designations will fire in order.
wrong-facingThe comparators must point toward the daylight detector.
transaction-failedThe sensor outcome is uncertain; inspect it before retrying.
consume-failedThe Weather Sensor pattern could not be consumed safely.
restoredThe Weather Sensor could not be registered; the rune was restored.
registration-uncertainThe Weather Sensor's state could not be verified; an administrator should inspect it.
not-ownerThis sensor answers only to the one who attuned it.