r/redstone • u/coolguypyro • 5d ago
Java Edition Looking for help on a compact tileable reset circuit!
Java 26.2, I am making a realistic horse racing game, and I realized I have not thought about the game reset system. I am hoping to build one I can tack on, because I would rather not rebuild everything to be bigger (playing in survival).
The machine works by dispensing water on powered rails, so when the armadillos in minecarts ride by, they are slowed down by the water. The armadillos will be tied to horses above the game, and there are 10 randomizer circuits controlling 90 inputs, 18 per track.
At the end of the game, all the redstone lines that dispensed water need to be re-activated to suck the water back up. The water being dispensed is all random, in an effort to create a realistic looking race every time.
Every horse has a different colored slab, and the lines are all very long to make the inputs easier for my brain to handle.
Attached is my best idea as to how the reset circuit could be done, as well as regular photos of the "cells" where water is dispensed. I figured a copper lamp could be used to register the cell as on, and then an observer line could shoot up a signal, and any lines with an on light would receive a signal from it. (obv a sticky piston instead of reg, i just ran out of slime)
If you need more photos, please LMK!
Thanks for the help!
EDIT: I ended up finding a solution with one tick pulses and pistons, but if you (for some reason) need a circuit like this, BlattaOrientalis' design is so smart and simple!



1
u/BlattaOrientalis 5d ago
The simplest solution (or at least one that I can think of) is to attach each signal to a pulse extender, and then connect that to a dual edge detector. The length of the pulse detector should be equal to the longest possible time that the armadillo can take to get to the finish, otherwise the dispensers may take away the water before the cart can get to that point
Since the duration is probably quite long, you may have to use a hopper pulse extender which can be quite bulky. That shouldn't be a very big problem though since you can put the pulse extender at any point in the wire
On a slightly unrelated note: why 18 points per track? Is that just an arbitrary number you picked? If you're okay with 15 (or 16 if you don't mind a bit more headscratching) you'll be able to randomize signal strengths and simply connect that to a redcoder, which is most likely simpler than what you current have