The Redstone Operator performs boolean operations on the left and right inputs, those being AND/OR/XOR. The back input of the Operator acts as a NOT gate, inverting the output of any of the 3 modes when powered. The block itself has a 1 tick delay on output. An example of its behavior can be seen here:

Redstone Operator in AND mode

The Redstone Diode, meanwhile, acts as a delayless repeater, boosting the signal of its input without any output tick delay. Additionally, it can cycle between taking inputs from its left, back, or right sides. Example below:

Diode only accepting inputs from the left

Together, these two blocks (not to mention the ones I have planned for future updates (stay tuned!) allow for a multitude of possibilities both for casual redstoners and more advanced or computational players. Below, you can see even I, a total noob with logical redstone, was able to make a half-adder fairly compactly and easily!

Half-adder using Operators and Diodes

DISCLAIMER: This mod was partially made using MCreator. While the code for both the Diode and Operator is entirely custom, extending the vanilla repeater class, MCreator was used to auto-generate boilerplate code and filestructures, and procedures were used to handle right click blockstate cycling on both blocks.


Project members

Eucloid

Member

Details

Licensed CC-BY-NC-SA-4.0
Published 2 days ago
Updated 11 days ago