Analog Pass

Analog Pass
Stackable
Yes(64)

Overview

The Analog Pass is an Analog Gate that calculates its output by determining what fraction of one Redstone signal can pass through based on another Redstone signal. Essentially:

The equation for the output Redstone signal (O) based on the two input Redstone signals (IA and IB) is:

O = (IA × IB) ÷ 15

Note that the fractional part is discarded, as Redstone signals operate only on integer levels.

Configuration

The inputs are marked with Pin Mark A and can be configured to face any direction for normal Analog Pass by right-clicking the block.

Parallel Analog Pass

The Analog Pass also has a Parallel Gate variant. In this configuration, the output is determined by finding the greatest signal on the Left and Right sides and then applying this value to the same equation in combination with the signal on the Back. The equation for the output Redstone signal (O) based on the input Redstone signals (L, R, and B) is:

O = (B × max(L, R)) ÷ 15

max(L, R) is the greatest signal between the Left (L) and Right (R) sides.

As before, the fractional part is discarded, as Redstone signals operate only on integer levels.

Parallel Analog Pass
Stackable
Yes(64)

Crafting

Normal Analog Pass

Parallel Analog Pass

Version Log

VersionDescription
0.0.0Introduced. On update from anywhere reads redstone signal only and updates neighbours when output changes.
0.0.1Unlike in the previous version, block first reads the blockstate on the input, and if suitable, uses blockstate value, if not, reads redstone signal.
0.1.1Changed registry name from analog_pass to floor_analog_pass and paralel_analog_pass to floor_parallel_analog_pass. Replaced bottom texture from being that on the top to Smooth Stone Block.
0.2.0Changed registry name from floor_analog_pass to normal_analog_pass and floor_parallel_analog_pass to parallel_analog_pass. Can be placed on walls and ceiling. Updates the block on the output when output changes instead of updating all neighbours. Output data is stored on Block Entity. Lost `rotate` and `mirror` block methods..
0.2.1Reimplemented `rotate` block method.