Redstonery
RedstoneryCircuits › Copper bulb toggle
Memory circuit

Copper bulb toggle

Turn repeated events into alternating remembered states.

6 × 1 footprint1 layer6 blocksTested in 4 rotationsJava Edition 26.2
Open in the simulatorBuild it in the game

Layout

Layer 0 (on the floor)
stone button [face=floor, facing=north] at x 0, z 0redstone dust at x 1, z 0copper bulb at x 2, z 0comparator [facing=west, mode=compare] at x 3, z 0redstone dust at x 4, z 0redstone lamp at x 5, z 0
redstone dustrepeater or comparatorinputlampcopper bulbarrows point where a device sends its output; north is up

How it works

A copper bulb flips on every rising edge of its input: a one block T flip-flop. The comparator behind it reads it out.

  1. Each rising input edge flips the bulb’s stored lit state.
  2. Releasing the input does not flip it again; a comparator reads the stored result.

Inputs and outputs

  • Inputpress (x 0, y 0, z 0)
  • Partthe bulb (x 2, y 0, z 0)
  • Outputfollows the bulb (x 5, y 0, z 0)

Blocks you need

2 × redstone dust, 1 × stone button, 1 × copper bulb, 1 × comparator, 1 × redstone lamp.

Build it in the game: 6 commands

Relative to where you stand, with x running east and z running south. Paste one line at a time into chat, or into a chain of command blocks. The block art is the game's own; the layout is what the page above shows.

setblock ~0 ~0 ~0 minecraft:stone_button[face=floor,facing=north]
setblock ~1 ~0 ~0 minecraft:redstone_wire
setblock ~2 ~0 ~0 minecraft:copper_bulb
setblock ~3 ~0 ~0 minecraft:comparator[facing=west,mode=compare]
setblock ~4 ~0 ~0 minecraft:redstone_wire
setblock ~5 ~0 ~0 minecraft:redstone_lamp