What you're actually building

A working computer in Minecraft is a machine made from redstone components that performs real logic operations — it can add numbers, store information, run loops, and execute conditional statements. You are not building a visual replica of a computer. You are building a device that processes information the same way actual computers do, using redstone as your wiring and logic gates as your processing elements.

The simplest working computer is a redstone calculator that adds two single-digit numbers. The most complex ones are Turing-complete machines that can theoretically run any program, though in practice they run very slowly and require enormous space. Most players build something in between: a counter, a clock, a memory storage system, or a straightforward calculator.

This guide covers the components you need, how they work together, and how to build a basic four-bit adder — a machine that adds numbers up to 15 and displays the result.

Key Takeaways

  • Redstone repeaters, comparators, and dust form the wiring; redstone torches and blocks form the logic gates that make decisions.
  • A NOT gate (redstone torch on a block) inverts a signal; an AND gate (two torches feeding one block) outputs power only when both inputs are powered.
  • A four-bit adder uses eight AND gates, four OR gates, and four XOR gates arranged in a specific pattern to add two four-bit numbers.
  • You need a flat, clear space at least 20 blocks wide and 15 blocks deep to build a working four-bit adder without running into terrain obstacles.
  • Test each logic gate individually before connecting them together, because a single backwards repeater or misplaced torch will break the entire machine.

The three types of redstone components you need

Redstone dust is your wiring. It transmits power from one component to another up to 15 blocks away, and the signal weakens with distance. Place it on the ground or on the sides of blocks to create paths. Redstone repeaters extend the signal back to full strength and add a delay (one to four ticks, depending on how you configure them). Use repeaters every 15 blocks on long runs, and use them to control timing when you need one part of the machine to wait for another.

Redstone torches are your logic gates. A torch on top of a block outputs power constantly. A torch on the side of a block acts as a NOT gate — it outputs power when the block is unpowered and stops outputting when the block receives power. This inversion is the foundation of all logic in redstone.

Redstone comparators compare two input signals and output based on the comparison. In subtraction mode (the default), a comparator outputs power if the signal on the left is stronger than the signal on the right. In comparison mode, it outputs power if the left signal is at least as strong as the right. You will use comparators less often than torches and dust in a basic computer, but they are essential for memory storage and more complex logic.

How to build a NOT gate, AND gate, and OR gate

A NOT gate is the simplest logic gate. Place a redstone block on the ground. Place a redstone torch on the side of that block (not on top). When the block is unpowered, the torch outputs power. When the block receives power from redstone dust, the torch stops outputting. This single component inverts any signal you send into it.

An AND gate outputs power only when both inputs are powered. Place two redstone blocks next to each other. Place a redstone torch on the side of each block, pointing toward a third block between them. Place redstone dust on top of that third block. When both input blocks are powered, both torches turn off, and the output block receives no power. When at least one input is unpowered, at least one torch stays on and powers the output. This seems backwards, but it is correct: the output is powered when both inputs are powered.

An OR gate outputs power when at least one input is powered. Place two redstone blocks next to each other. Place redstone dust on top of both blocks. Place a third block next to both, and place redstone dust on top of it. Connect the dust from both input blocks to the output block. When either input is powered, the output is powered. This is simpler than an AND gate because redstone dust naturally combines signals.

Building a four-bit adder step by step

A four-bit adder takes two four-bit numbers (0 to 15) and outputs their sum. It works by adding one bit at a time, from right to left, and carrying the result to the next column — exactly like adding numbers on paper.

Start by building four identical one-bit adders in a row. Each one-bit adder has three inputs (the two bits you are adding, plus a carry-in from the previous column) and two outputs (the sum bit and a carry-out to the next column). Each one-bit adder contains one XOR gate (which outputs power if exactly one input is powered), one AND gate, and one OR gate, wired in a specific pattern.

Build the first one-bit adder on the ground. Place three input blocks in a row. Place an XOR gate that takes the first two inputs and outputs to a sum block. Place an AND gate that takes the first two inputs and outputs to a carry block. Place another AND gate that takes the sum block and the carry-in block and outputs to a second carry block. Place an OR gate that combines the two carry blocks into a final carry-out. Test this unit by powering different combinations of the three inputs and checking that the outputs match the truth table for one-bit addition.

Once the first one-bit adder works, copy it three more times to the right. Connect the carry-out of the first adder to the carry-in of the second, the carry-out of the second to the carry-in of the third, and so on. Connect the four sum outputs to four separate output blocks or lamps so you can see the result.

Test the entire adder by powering different combinations of the eight input blocks (four for the first number, four for the second) and checking that the four output blocks show the correct sum. Start with straightforward cases: 1 + 1 should give 2 (binary 0010), 3 + 5 should give 8 (binary 1000), and 15 + 1 should give 16 (binary 10000, which overflows the four-bit output).

Common mistakes that break the machine

Redstone repeaters have a direction. If you place a repeater backwards, it will not transmit power. Always check that the arrow on the repeater points in the direction you want power to flow. If a section of your machine suddenly stops working, trace the redstone dust backward from the broken section and look for a backwards repeater.

Redstone torches burn out if they are powered for too long. This is rare in straightforward machines, but if you build a clock or a loop, a torch may burn out after a few minutes and stop the machine. Prevent this by using repeaters to break up long chains of torches, or by redesigning the circuit to use fewer torches in series.

Redstone dust on the ground can power blocks above and below it, which can accidentally power components you did not intend to power. If your machine behaves strangely, check that dust is not running under or over blocks that should be unpowered. Use repeaters to isolate sections and prevent accidental power transfer.

A single unpowered redstone torch will power everything connected to it, even if you intended it to be off. Double-check that every torch is in the state you expect (on or off) before you test the machine. Use a redstone lamp or a comparator to see the state of a signal if you are unsure.

Tools and space you need to build

You need a flat, clear area at least 20 blocks wide and 15 blocks deep. A four-bit adder fits in roughly this space, but you will want extra room to test components and make mistakes. Clear the area down to bedrock or to a solid layer, and fill it with a building block like dirt or stone so you have a flat surface to work on.

You need a stack of redstone dust, at least 200 redstone torches, at least 50 redstone repeaters, at least 20 redstone comparators, and a large supply of solid blocks (stone, dirt, or any full block). You also need redstone lamps or note blocks to see the output of your machine. Gather these materials in Creative mode if you are learning, or in Survival mode if you want the challenge.

Use a structure block or a schematic mod to save your design once it works. This lets you copy the adder to other locations or share it with other players. Vanilla Minecraft does not have a built-in copy tool, but third-party tools like WorldEdit (on servers) or schematic mods (in single-player) can save and load designs.

What to build next after your first computer

Once you have a working four-bit adder, you can expand it to eight bits (adding numbers up to 255) by copying the one-bit adder four more times. You can also build a subtractor by inverting one of the inputs and adding 1 (this is called two's complement subtraction).

A redstone clock is a circuit that toggles on and off repeatedly. It uses repeaters and torches to create a loop where power cycles through the circuit. A clock is useful for testing other machines and for building machines that need to perform actions in sequence.

A memory cell stores one bit of information using a set-reset latch — two NOR gates (inverted OR gates) wired so that one input sets the bit to 1 and another input sets it to 0. Four memory cells make a four-bit register that can store a number. Eight registers make a 32-byte memory bank.

A multiplexer selects one of several inputs and outputs it based on a control signal. A multiplexer with four inputs needs two control bits to select which input to output. Multiplexers are the foundation of more complex machines like ALUs (arithmetic logic units) that can perform multiple operations.

Frequently Asked Questions

Do I need mods to build a working computer in Minecraft?

No. Vanilla Minecraft redstone is Turing-complete, meaning it can theoretically run any program. Mods like Computercraft add programming languages and make complex machines easier to build, but they are not necessary. Everything in this guide uses only vanilla redstone.

How fast does a redstone computer run?

Redstone updates happen 20 times per second (one update every 0.05 seconds). A single redstone repeater adds a delay of one to four ticks (0.05 to 0.2 seconds). A four-bit adder with multiple layers of logic takes about 0.2 to 0.4 seconds to produce an output after you change the inputs. Larger machines are much slower because the signal has to travel through more components.

Can I build a computer that runs Minecraft inside Minecraft?

Theoretically yes, because redstone is Turing-complete. Practically no, because it would require billions of redstone components and would take years to execute a single frame. The largest redstone computers built by players are straightforward calculators, clocks, and memory systems, not full-featured computers.

What is the difference between a redstone computer and a Computercraft computer?

Redstone computers use only redstone components and perform logic through circuit design. Computercraft is a mod that adds programmable computers you can code in Lua, a real programming language. Computercraft is faster and easier to use for complex tasks, but it is not vanilla Minecraft. Learning redstone teaches you how actual computers work at the hardware level.

Where can I find designs other players have built?

YouTube channels like Mumbo Jumbo and Scicraft showcase redstone builds and explain how they work. The Minecraft Wiki has detailed pages on redstone logic and gate designs. Reddit communities like r/redstone share designs and answer questions about specific problems. Start by watching a video of a straightforward gate, then try building it yourself before moving to more complex machines.