
Video: RS NOR Latch Array! Sequential Memory Cell [Advanced Minecraft Redstone Tutorials] by CNBMinecraft
How to build it
- Build the RS NOR Latch Row
Construct a row of standard RS NOR latches with a one-block gap between each latch. The video uses four latches as an example, though you can chain as many as your project requires (such as ten for a 0-9 display).
- Place the Intermediate AND Gate Blocks
In the gap between the front of each latch, place a solid block. Attach a redstone torch to the side of each of these blocks and place a piece of redstone dust on top of them.
- Extend the Rear of the Latches
At the back of the latches (after the first one), build block extensions outward in an alternating pattern of two blocks, then three blocks, then two blocks. Place a redstone torch on the far end of each extension to act as the output of your inverted AND gates.
- Install the AND Gate Repeaters
Place repeaters leading from the intermediate torches toward the back extensions, placing a solid block with redstone dust above the repeaters where the 3-block extensions stick out. Add additional repeaters on the two-block extensions so every extension block receives power from two directions.
- Connect the Gates to the Next Latches
Run a line of redstone dust from the torch at the tip of each rear extension into the set input block at the front of the next RS NOR latch in line.
- Wire the Main Add Input Line
Run a shared redstone dust line along the back that feeds into the second input of every inverted AND gate. Place a block with your 'Add' button at the start of the array.
- Connect and Invert the Add Button
From the button block, place a repeater feeding directly into the first RS NOR latch to prevent backfeed. On the other side of the button block, place a repeater set to full (4-tick) delay feeding into a block with a redstone torch on it, and connect that torch to the shared rear input line so the line stays powered by default.
- Build the Subtract Line Framework
To step the count backward, place blocks in the spaces between the latches on the reset side, with a block positioned one space in front. Place redstone dust on top of the inner blocks and attach redstone torches facing toward the latches.
- Add the Subtract Pulse Limiter and Button
Place repeaters leading from the subtract blocks into the back reset side of each latch. Run a line of redstone dust connected to a second button through repeaters into each subtract module to act as a pulse limiter and prevent feedback.
- Add a Universal or Auto-Reset Line
Place solid blocks directly above the redstone dust crosses of each RS NOR latch and connect them with a line of repeaters and dust; powering this line resets the whole array at once. For an automatic reset when the final latch triggers, wire the last latch's output through an inverter (torch) directly into this overhead reset line.
How it works
If you hook a single button directly to multiple RS NOR latches, every latch will activate simultaneously. This circuit solves that by placing an inverted AND gate (functionally a NOR gate) between each memory cell:
- Default State: The main input line is inverted by a redstone torch near the button, keeping one side of every AND gate constantly powered. The other side of each gate is powered by a torch attached to the previous latch. As long as at least one of these inputs is on, the gate's output torch remains off.
- First Press: Pressing the Add button directly sets Latch 1. When Latch 1 flips on, it powers the block between Latch 1 and 2, turning off its side of the first AND gate. Meanwhile, the button pulse travels through a 4-tick repeater to briefly turn off the main input line, ensuring the first press finishes before the gate is fully primed.
- Subsequent Presses: Because Latch 1 is already active, its side of the first AND gate is already off. The next time you press the button, the main input line briefly turns off. With both power sources now off simultaneously, the AND gate's output torch flashes on for a brief moment, setting Latch 2. Latch 2 then primes the gate for Latch 3, repeating down the chain.
- Subtracting & Resetting: The subtract circuit uses a pulse limiter to send a brief reset pulse only to the highest currently active latch, stepping the lit torches back by one. The overhead reset line simply powers the reset dust of every latch at the same time.
Tips & variations
- Expandable Design: You can tile this array to any length. Just remember to alternate the rear extensions (2 blocks, 3 blocks, 2 blocks) so adjacent redstone dust lines do not cross-connect.
- Seven-Segment Displays: Build a 10-latch array (representing digits 0 through 9) and include both the Add and Subtract lines to create an up/down counter for a digital display.
- Combination Locks: If you are only using this array for a combination lock, you can skip the green subtract line completely and only build the add line and universal reset line.
- Repeater Timing: Make sure the repeater connecting the Add button to the main line inverter is set to a full 4-tick delay; otherwise, a single button press might ripple through multiple latches at once.





