
Video: Minecraft Redstone Tips N' Tricks - Block swapper by Poofu
How to build it
- Place the Three Pistons
Place one sticky piston facing toward the spot in your wall where the block will be displayed. Next, place two regular pistons facing each other on the left and right sides directly in front of the sticky piston's retracted head.
- Load the Swapping Blocks
Place your two interchangeable blocks—such as a regular wall block and a piece of glowstone—into the intersection between the three pistons so one sits in front of the sticky piston and the other sits in front of one of the side pistons.
- Build the Support Frame
Place solid building blocks behind the sticky piston in a small U-shape to hold the redstone wiring, plus two extra blocks extending out toward the side pistons.
- Attach Redstone Torches
Place a redstone torch on both outer sides of the frame so they sit adjacent to the two regular side pistons.
- Wire the Delay and Dust
Run redstone dust in a U-shape across the top of the frame connecting the blocks holding the two torches. Place a redstone repeater set to its maximum (4-tick) delay leading toward the sticky piston, with a piece of redstone dust connecting it.
- Add the Button Input
Place a button on the front of the circuit connected to the main redstone dust line. Press the button to test that the sticky piston retracts the front block, the side pistons shift the pair over, and the sticky piston pushes the new block forward.
- Chain Swappers for a Hallway (Optional)
For a hallway lighting system, align multiple vertical block swappers along the ceiling or floor and connect their trigger lines with redstone dust and 1-tick repeaters between each unit to create a cascading wave effect. You can trigger the whole line with a button or pressure plate at the entrance.
How it works
The circuit relies on precise piston timing and Java Edition's piston block-dropping behavior:
- Retraction: Pressing the button powers the central U-shaped redstone dust line, which immediately turns off the two redstone torches on the sides and sends a delayed signal through the 4-tick repeater to the sticky piston.
- Swapping: While the sticky piston pulls the display block back, the side pistons fire in sequence to shift the two swapped blocks horizontally across the central chamber.
- Extension: Because the sticky piston receives a short pulse from the button and repeater configuration, it pushes the newly shifted block back into the wall display position and leaves it there until the next button press.
Tips & variations
- Hallway Programming: When chaining multiple swappers together in a hallway, you can place a temporary button directly above an individual unit to toggle its state independently—allowing you to create alternating light patterns (for example, two on and two off).
- Hands-Free Activation: Replace the main hallway button with a pressure plate at the doorway so your hidden lights or storage blocks automatically reveal themselves when you walk in and hide when you leave.
- Java Edition Note: Leaving a block behind after a sticky piston extends relies on short-pulse block dropping, which works in Minecraft Java Edition and will not function the same way in Bedrock Edition.



