
Video: How To Build T-FLIP FLOPS And TOGGLE BUTTONS! [Minecraft 1.21] Tutorial by
How to build it
- Locate Your Door's Input Block
Find the main input block on your piston door or redstone contraption. This is the exact spot where you would normally place a lever to power the door.
- Attach the Copper Bulb T Flip-Flop
Place a redstone comparator facing directly into your door's input block (or input redstone line), then place a copper bulb directly behind the comparator so the comparator reads it.
- Test the Toggle Mechanism
Temporarily place a button directly on the copper bulb and press it to verify that your door opens on the first press and closes on the second press. Remove the test button once confirmed.
- Position Your Inputs on Both Sides
Place your permanent buttons on the wall frames on both the inside and outside of your doorway at a comfortable height. You can also place pressure plates on the floor or tripwire hooks with string across the hallway.
- Wire the Inputs Together
Place building blocks behind the walls or under the floor to run a trail of redstone dust from both inputs so that they meet in a single line leading directly into the copper bulb.
- Extend the Signal with Repeaters
If your redstone dust line wraps a long way around the door frame and exceeds 15 blocks, place a redstone repeater along the path to refresh the signal strength so it reaches the copper bulb.
How it works
Traditional T flip-flops required complex dropper-hopper chains or piston circuits to convert a short pulse into a constant signal. In Minecraft 1.21, the copper bulb acts as a single-block state memory unit:
- Pulse Input: When you press a button, step on a pressure plate, or trigger a tripwire, a brief redstone pulse travels along the redstone dust line into the copper bulb.
- State Toggling: Every time the copper bulb receives a redstone pulse, it toggles its lit state on or off. It stays lit even after the button pulse ends, and turns off only when it receives a second pulse.
- Comparator Output: A redstone comparator placed facing away from the copper bulb detects whether the bulb is lit. When lit, the comparator outputs a constant signal strength of 15, holding your door open or closed just like a flipped lever.
Tips & variations
- Dual-Sided Control: Because every pulse toggles the copper bulb regardless of which line it comes from, you can hook up as many buttons, pressure plates, or tripwire hooks as you want to the same redstone line entering the bulb.
- Hiding the Wiring: Instead of wrapping redstone dust wide around the outside of the door, try routing the redstone dust underneath the floor blocks to keep your hallway clean and compact.
- Signal Strength: Depending on your door design, the comparator output from the copper bulb might need to run into a solid block or a redstone repeater to ensure full power reaches your door's pistons.
- Tripwire Tip: If using tripwire hooks, make sure you walk cleanly through the string so you only send one pulse at a time, toggling the door smoothly.



