Automated Redstone by CD4017BE

This mod contains some redstone components that allow very compact redstone control systems and signal transfer.
It was intended as addon mod for InductiveAutomation but of course it can also be used on its own.

Redstone cables:

-Can be placed free hanging in the air.
-Two cables laying next to each other can be disconnected from each other.
-The max signal transfer distance is unlimited, but has a delay of 0.05s every 16 blocks.
-Like the item and fluid pipes from InductiveAutomation you need to define the starting and ending points using the Input and Output wires.
-The cables can be covered with any solid block, so they can be hidden in walls.

They also come in a compact 8-bit version transfering 8 signals in one cable:
-The singnals are combined/splitted in a block called 8-bit redstone port adapter.
-There is a 8-bit Lever which acts like 8 different levers in one block
-and a 8-bit Display which is able to display the 8-bit redstone states as either 8 lamps (binary), a hexadecimal number (00-FF) or a decimal number (0-255).

Redstone Circuit:

The Redstone Circuit block allows you to put complicated redstone logic circuits into one single block, making them very compact and a bit cheaper in redstone cost.
To define what the block should do you need to program it using the Circuit Programmer.
Also your circuit needs some logic gates, IO-ports, and counter to perform the program. These are installed using the Circuit Assembler.
The exact amount of these parts depend on your program and is displayed in the Circuit Programmerwhen trying to install the program on the circuit.

The Redstone Circuit block has an interface where you can define the tick speed of the circuit and which side of the block should be connected to which input or output channel.
It has a maximum of 16-bit input, 16-bit output, 128 logic gates and 8 8-bit-counter (they occupy 8 bit from the logic gates each, from 64-127)
To use all the 16 input and output channels on only 6 available block faces, you would need to use 8-bit wire or place multiple circuits next to each other.

Circuit Programming:

Spoiler for ogic Gatges default true
The logic gates are defined on the left side of the circuit programmer GUI. Every line defines one of the following logic gates: OR-gate (+): output on if any given input on. NOR-gate (-): output off if any given input on. AND-gate (&): output on if all given inputs on. NAND-gate (*): output off if all given inputs on. XOR-gate (/): output on if an uneven number of given inputs on. XNOR-gate (\): output on if an even number of given inputs on. Input-port (% ): output on if the given input channel of the circuit receives a redstone signal. x = k (# = ): output on if the given byte equals the given number. x < k (# < ): output on if the given byte is smaller than the given number. x > k (# > ): output on if the given byte is greater than the given number. The line starts with the logic gate symbol (shown in brackets) and is followed by zero or more parameters which are seperated by colons (,). For the OR,NOR,AND,NAND,XOR and XNOR command every parameter is a number in range 0-127 that defines which bit of the circuit’s logic RAM to use as input for this gate. For logic gates the bit ID is the same as the line number in the program and for counters the bit ID is 64 + (counter number * 8) + counter bit. The Input command requires one number in range 0-15 as parameter that defines which of the 16 input channels to use. The comparator commands require a number in range 0-15 as parameter before the comparator sign that defines which 8-bit-block of the circuit’s logic RAM to use, and a number in range 0-255 as parameter after the comparator sign that defines the number to compare that 8-bit-block with.
Spoiler for ounter default true
Every counter uses 8 bits of the circuit’s logic RAM to store its value (0-255). It will increase its value by 1 every circuit tick if its set-bit is on. If the value of a counter reaches 256 or if its reset-bit is on it will be set back to 0. The set and reset bits of all the 8 counters can be set in the first two columns on the right of the GUI. Set them to -1 if a counter is not used.

Output:

The numbers in the third and fourth column on the right of the GUI define which bit of the circuit’s logic RAM to use for each of the 16 output channels.
Set it to -1 if a output channel is not used.

Compatibillity with other mods:

It uses Forge Modloader so it can be installed together with other Forge based mods.

The Detector from InductiveAutomation is compatible with 8-bit redstone by output all 6 comparator states into a connected 8-bit wire.

Computercraft peripherals:

The 8-bit Lever and 8-bit Display can be used as Peripherals to input or output 8-bit signals with a Computer from ComputerCraft or OpenComputers.

Lever:

setOutput(state) -> set the current 8-bit lever state to the given byte value (range 0-255).
state = getOutput() -> returns the current 8-bit lever state.
Display:
state = getInput() -> returns the 8-bit value received by the display.

Requires

Resource

License

  • MIT