1.21 T Flip-Flop

A T flip-flop is an essential redstone memory circuit that turns a temporary pulse from a button, pressure plate, or tripwire hook into a permanent toggle like a lever. With the addition of the copper bulb in Minecraft 1.21, building a T flip-flop has become simpler and more compact than ever before. This guide shows you how to build the copper bulb T flip-flop and wire dual inputs on both sides of any piston door.

Memory CircuitsBeginnerBedrock Edition
1.21 T Flip-Flop video tutorial

Video: How To Build T-FLIP FLOPS And TOGGLE BUTTONS! [Minecraft 1.21] Tutorial by

How to build it

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

Frequently asked questions

What does a T flip-flop do in Minecraft?
A T flip-flop converts a temporary pulse from an input like a button, pressure plate, or tripwire into a continuous on/off signal like a lever.
Can I use buttons on both sides of my door with one T flip-flop?
Yes! Simply connect the redstone dust from both the inside and outside buttons into the same copper bulb. Pressing either button will toggle the door open or shut.
Does the oxidation level of the copper bulb affect the T flip-flop?
No, a comparator reads a signal strength of 15 from any lit copper bulb regardless of how oxidized it is, though waxing it is great for keeping the light bright.

Components used

More t flip-flop