promotional bannermobile promotional banner

RA: Redstone Additions

Introduces redstone logic gates and a compact clock designed for space-efficient builds.
all-showcase.png

all-showcase.png

and-showcase.png

and-showcase.png

clock-showcase.png

clock-showcase.png

not-showcase.png

not-showcase.png

or-showcase.png

or-showcase.png

Description

1.21.10 support along with 1.1.0 Update is out!

View the changelog here. Please report any bugs through the GitHub or through the comment section.

Purpose of the Mod

Adds OR, XOR, NOT, and AND boolean logic gates and a CLOCK with the idea of designing more compact redstone machines with potentially better performance.

Recipes and Usage

AND Gate:

     
Redstone Torch Lit Redstone Torch Lit Redstone Torch Lit
Redstone Dust Redstone Repeater Copper Ingot
Iron Ingot Iron Ingot Iron Ingot

Usage

2 Inputs, 1 Output. 1 Input on Left, 1 Input on Right, 1 Output on redstone torch side.

L R Output
0 0 0
0 1 0
1 0 0
1 1 1

NOT Gate:

     
X X X
Redstone Dust Copper Ingot Redstone Torch Lit
Iron Ingot Iron Ingot Iron Ingot

Usage

1 Input and 1 Output. Output is the opposite of the input — so if Redstone is powered in, it will come out off.

Input Output
0 1
1 0

(X)OR Gate:

XOR and OR is the same block.

     
X X X
Redstone Dust Redstone Repeater Copper Ingot
Iron Ingot Iron Ingot Iron Ingot

Usage

2 Inputs, 1 Output. 1 Input on Left, 1 Input on Right, 1 Output on Redstone torch side.

OR:

L R Output
0 0 0
1 0 1
0 1 1
1 1 1

XOR:

L R Output
0 0 0
1 0 1
0 1 1
1 1 0

CLOCK:

     
X X X
Redstone Dust Redstone Repeater Redstone Torch Lit
Iron Ingot Iron Ingot Iron Ingot

Usage

1 Output: Flips between on and off at a rate specified by the delay, which is changed when right-clicked.

Delay # Flips per Second
1 20
5 4
10 2
15 1.333
20 1

Potential Performance Increase with Clocks

NOTE!

I never made this mod to make a better performant way for using Redstone — I more built this to learn modding and to save space in Redstone designs. Do not download this mod for the potential performance increase.

If you have any information to add regarding whether the test is accurate or flawed, I would love to hear about it.

Base Rules for each test:

  • Both worlds were duplicates using Minecraft's built-in recreate button
  • Sim distance: 12 chunks
  • Render Distance: 12 chunks
  • Super flat world with "Redstone Ready" preset
  • Peaceful, no structures
  • Windowed mode
  • Forge install with just Redstone Additions and WorldEdit

Redstone Additions Clock

For the Redstone Additions test, 10,201 (100x100 grid) clocks were set with WorldEdit with a delay set to 1 (flips 20 times a tick).

Performance picture for Redstone Additions with Integrated Server metrics showing 23ms ticks, 3tx, 1111rx and 888MB of Memory usage

Vanilla Clock

For the vanilla clock, this is a design I came across from just playing the game. I am unsure of the exact speed it flips, but just watching the flip rate, it feels similar to the speed of the Redstone Additions Clock with delay = 1. WorldEdit was also used to copy and stack in a 100x100 grid, effectively placing 10,000 individual instances of this design.

Performance picture for Vanilla with Integrated Server metrics showing 1962ms ticks, 4tx, 119rx and 1432MB of Memory usage

The conclusions

Through my own research on what each value means in the F3 menu (via the Minecraft Wiki), it would seem that using the mod lowers the total amount of memory while also lowering the time it takes to process a tick. The mod also has an increased number of packets received from the Integrated Server, by roughly 10x. You can compare these values and anything else I might have missed by looking at both images above.

NOTE!

I never made this mod to make a better performant way for using Redstone — I more built this to learn modding and to save space in Redstone designs. Do not download this mod for the potential performance increase.

If you have any information to add regarding whether the test is accurate or flawed, I would love to hear about it.

The RA: Redstone Additions Team

profile avatar
  • 1
    Projects
  • 8.1K
    Downloads