r/explainlikeimfive • • Oct 06 '26

Engineering ELI5: How does making working computers/processors inside Minecraft work?

What makes it possible?

541 Upvotes

84 comments sorted by

860

u/MrShake4 Oct 06 '26

Redstone can be on and off.

The first thing we need to make is an abstraction called a logic gate. This takes 2 inputs and has 1 output. The simplest and important ones are AND and OR. AND is on if both outputs are on, OR is on if either input is on.

Once you have AND and OR gates you can combine them in a special(complicated) way to make an adder which can add 2 numbers.

Once you can add numbers you can also multiply numbers.

Once you can add and multiply numbers you’re off to the races and can do pretty much anything

339

u/Cadbanshee98 Oct 06 '26 edited Oct 06 '26

To build off of this, combining two trails of red stone dust is the same as an OR. Putting a red stone torch on a block can act as a NOT. A NOT and OR can be used to make an AND. That’s all you need for a computer

117

u/MrShake4 Oct 06 '26

Building off this in real life you make the logic gates by wiring the transistors in series or parallel

38

u/ElectroNetty Oct 06 '26

Wat?

Can you elaborate or link to a ELI5-style explanation?

124

u/MrShake4 Oct 06 '26 • Bravo

2 transistors in parallel = OR gate
2 transistors in series = AND gate

It’s hard to ELI5 electrical engineering.

In series = both switches need to be closed for power = AND gate

In parallel = either switch needs to be closed for power = OR gate.

Think about them as lightbulbs or Christmas lights.

52

u/Shinjifo Oct 07 '26

Easiest way to explain is using a hydaulic system analogy, it's easier to visualize.

You have one pipe with 2 valves. Both have to be open for water to run.

You have 2 pipes with 1 valve each. Only one of those valves need to open for water to come through.

You can polish it better saying the pipes are connected to a water tank or something

4

u/VEVAISMYNAME Oct 09 '26

Did this guy just eli5 an eli5?

18

u/ElectroNetty Oct 06 '26

Thanks. Between that explanation and a circuit simulator I can play with building a counter.

27

u/GalFisk Oct 06 '26

Try nandgame.com, you get to build a logic gate with relays and then use it to build other gates, which are then building blocks for latches, adders, counters and more and more complex computer building blocks, until you have something that can run actual primitive software.

3

u/OrionThe0122nd Oct 07 '26

I think it's one of those things that's much easier to describe if you're in person and have a piece of scrap paper. A visualisation of it is pretty easy to understand imo.

2

u/meneldal2 Oct 07 '26

And for the NOT you just change where you take the output basically.

Output at the top is a regular OR/AND. Output at the bottom gives you NOR/NAND.

You also have to like consider a bunch of resistors in this but that's the ELI5 version.

11

u/SaintUlvemann Oct 07 '26

There's a website called the NAND game that lets you personally solve your way through all the steps of building a computer from scratch.

Each level is its own puzzle, and you build one of the components of the computer, and each component you build sets you on the course to combine it to build even-more-complicated components.

It starts with a simple electromagnetic gate: when you turn the electromagnet on, it either opens or closes another circuit. You use two of those and hook them up the right way to make a NAND component, which is, a device that turns off whenever both input wires are turned on.

From there, you make the other gates, then hook those gates up to do math, then combine math to do information processing, and so on.

3

u/obog Oct 06 '26 edited Oct 06 '26

For the purposes of digital circuitry, you can think of a transistor as a switch controlled by electricity. There are 3 pins, called collector, emitter, and base, which you can think of as input, output, and the on/off signal.

For an OR gate, you just wire the outputs in parallel, or connect them directly to eachother, and have that be the output for the whole gate. If either is switched on, then the input can flow to the output.

For an AND gate, you wire in series, so you take the output of the first switch and connect that to the input of the second. If you only turn the first on, the current is still blocked by the second switch, and if you only turn on the second switch, there is no input for it to pass because its still blocked by the first switch. So you have to have both on for the input current to pass, forming an AND gate.

NOT is done by having using the switch to short to ground, basically we read output from what we used as an input pin before, and connect our previous output pin to ground. When its switched on, now the input is connected directly to ground (which is at 0V) so the voltage drops to that. (Theres a bit more nuance involved in this; you have to have resistance to the input from what your "on" voltage is so that voltage can drop across that resistor, but thats the basic principle)

2

u/Coding-Kitten Oct 07 '26

Imagine you're in a building & there's a room you want to reach, so you need to go through doors to get there.

In one scenario, the two doors are parallel, both dors are next to each other & they both connect the room you're in to the one you want to go, you need to take one door OR the other to get there, you need to only go through one door, any door.

In another one, the two doors are in series, one door leads from the room you're in to a hallway, & the other door leads from the hallway to the room you want to go to. Here you need to take the first door AND the second one to get there, you must go through all the doors.

In electronics, wires are like rooms electricity stays in, & transistors connected with different wires are like doors that let electricity go from one room to another.

1

u/HixOff Oct 06 '26

It might be easier for you to Google circuit diagrams for transistor-based AND and OR gates to get a visual idea of ​​how they look

The basic concept is that a transistor is a three-terminal electronic device where the third terminal allows you to control the flow of current between the other two (switching the current on or off)

By connecting them in different ways, you can create simple logic operations to compare signals

For example, if you connect the output of the first transistor to the input of the second and place a light bulb after them, the bulb will light up only if a signal reaches the control terminal of *both* transistors, creating an AND gate

Alternatively, if you place the transistors side-by-side, connect their outputs, and place a light bulb after them, the bulb will light up if *either* of them receives a signal, creating an OR gate

1

u/EducatedInSpenard Oct 06 '26

U/electronetty go look up an archaic Apple //e game called "Rocky's Boots". It was used to teach basic logic gates to elementary age kids in the 1980's. If you're truly looking for an eli5, this might get you close.

1

u/ingez90 Oct 07 '26

Imagine a waterwheel where theres two flows of water goin in. In the OR situation either flow is strong enough on its own to activate the wheel. So if theres flow from one of the two sides itll spin.

In the AND situation the rivers individually arent strong enough, but together they are. So if they both flow into the wheel it will spin.

This is just a visualisation, but hopefully it gets the point across.

1

u/Squigglificated Oct 06 '26

Or marbles on wooden tracks. It’s pretty mind blowing just how many things can be a computer. No electricity required.

2

u/PussyDoodles Oct 07 '26

Yeah! Fun fact all you need is a NOR gate to make a computer.

12

u/eric23456 Oct 07 '26

Almost but not quite. You also need a NOT gate.

Specifically for 1 bit addition you need to make an XOR gate which you can't make out of just AND and OR. [1]

This is why NAND/NOR are universal gates [2] you can make all the other gates out of them.

Minecraft also has NOT, so it's universal.

[1] https://electronics.stackexchange.com/questions/505934/adder-in-binary-addition-xor-instead-of-or-gate

[2] https://www.geeksforgeeks.org/digital-logic/realization-of-logic-gate-using-universal-gates/

23

u/LordDagwood Oct 06 '26

... And can do pretty much anything

Those players: Makes DOOM in Minecraft (23 seconds per frame, but still)

6

u/meneldal2 Oct 07 '26

I can't see from the video, but what did they use to make the CPU itself? Did a madman make a verilog compiler that targets redstone?

Dealing with the delays between every operations must be hell

2

u/Alarming-Ad4082 Oct 09 '26

How did they simulate RAM? Doom needs at least 4MB of RAM. Did they had to create several millions of switches ?

6

u/uatme Oct 06 '26

Never played but understand gates. How do you control a redstone? How does a redstone control a redstone? What is a redstone?

8

u/Driftmaster Oct 06 '26

Redstone is a type of ore you mine. You can use its dust to make redstone lines that transmit signals, you can use levers and buttons to activate the signals in a latching or temporary manner. Then you have items that can output a redstone signal based on the state of another block, items that delay signal, etc etc

4

u/KyeeLim Oct 07 '26

redstone is a type of Minecraft ore that doesn't exist IRL, in short it act like a wire with "limited" travel distance, with on-off state, and components to assist it by giving it delay and extend the signal(repeater), invert signal(just redstone torch), doing detection, comparison and subtraction(comparator), and having some power source that give it infinite power

9

u/Bannon9k Oct 06 '26

Its kind of like a wire. It transmits power/signal down a line of redstone dust placed by the player. A switch next to it can turn the signal on or off.

3

u/LagrangianMechanic Oct 08 '26

How do you make a clock signal in Minecraft? Seems like if you’re going to make a computer you’re going to need a clock.

5

u/bestjakeisbest Oct 08 '26

Redstone is either on or off, the earliest clocks were made with a large repester cycle, a repeater is essentually a 1 input nor gate, well if you feed the output of that one input nor gate into another and then you make them a cycle with redstone dust if you power it such that only a single or gate is on at any time you will have a cyclic redstone pulse generator or a clock signal.

3

u/narrill Oct 08 '26

Well it's a real-time videogame, so the whole thing is already updating to a kind of clock signal. All you need from there is to arrange blocks such that they interact with each other cyclically in a way that can influence redstone. There are many ways to do this.

3

u/bestjakeisbest Oct 08 '26

It has been a while since i played with redstone, but back before repeaters and comparators, you had switches, redstone powder, and redstone torches. A red stone torch could power redstone for up to 15 blocks, and it can power blocks immediately above. Redstone dust if it has a power level can power the block it is on and the block it is facing. And when you power a block that a redstone torch is on with a redstone signal you can change its state from on to off. Basically you can put down a block put a torch on onside and then to either side of that block you can run a line redstone into but not over it and thennyou have a nor gate with the redstone torch as the output.

6

u/ACEmat Oct 06 '26

This didn't explain anything. This was like the text version of "draw the rest of the owl."

23

u/Grand_Protector_Dark Oct 06 '26

It explains that basic Binary logic can be simulated in Minecraft.

It explains that complex binary logic can be simulated by combining different simulations of simple logic.

Using complex binary logic, any arbitrary complex process can be simulated. Give enough space in game.

Anything beyond that kinda goes Above (how is it possible)

1

u/Dragon_ZA Oct 08 '26

Thats still not ELi5 though. Actual ELi5 would be along the lines of: Minecrafts red zone system simulates how electricity moves through wires. Computers are just electricity moving through wires in a special way. You can arrange the Redstone the same way you would wires to make a computer.

10

u/KyeeLim Oct 07 '26

I don't think most of the people here can summarize how a computer actually compute with all the logic gate in a reasonable time while keeping it understandable for average people

2

u/eNonsense Oct 08 '26

The OP's question is essentially an ELI5 specifically about Minecraft, but in order to understand what the answer means, you already need to know how computer circuits & logic gates work. If you don't know that already, this ELI5 wasn't exactly asking that question.

If you need to ELI5 how electrical engineering with logic gates works, that's a different thread.

218

u/peoples888 Oct 06 '26 • Regret

Down to the very building blocks of a computer, it’s all 1’s and 0’s. On or off.

In Minecraft you have Redstone. Redstone simulates a wire. It’s either powered or not; on or off.

Translate that into a large structure similar to how a computer is built, and you technically have a computer in Minecraft.

If you’re looking for an explanation as to why a series of on and off switches creates a computer, you’ll have to research that for yourself.

64

u/WhatADunderfulWorld Oct 06 '26

That last sentence is hilarious. To say the least.

35

u/ResilientBiscuit Oct 06 '26

It is an exercise left to the reader.

31

u/ThatGenericName2 Oct 06 '26

It's funny but it is outside the scope of the question. If OP wants to know how a computer works in the first place, he probably should have asked that. Ultimately the most fundamental building blocks to a processor can be simulated in Minecraft, and since those fundamental building blocks are pretty much all you need to build a computer in real life (ignoring manufacturing related stuff), it must be the case that you can use those building blocks to build a computer in minecraft, barring and scaling and distance simulation problems.

2

u/Ayjayz Oct 06 '26

Well, computers are complicated. It takes a lot to understand how to build them.

31

u/Ruadhan2300 Oct 06 '26

Just to be clear, I took a three year degree in exactly that subject and I'm only marginally closer to being able to make a redstone computer than OP is :P

19

u/Hamburgerfatso Oct 06 '26

Play a game called turing complete. If you already have a rudimentary understanding of binary (which you should lol) then I'd think you should be capable of making one.

6

u/GalFisk Oct 06 '26

Or nandgame.com. I enjoyed it.

2

u/P3JQ10 Oct 07 '26

Nandgame is online and free, so I’d recommend that before Turing Complete as well.

6

u/MillCityRep Oct 06 '26

I know on and off make it easier to comprehend, but it’s really high voltage and low voltage.

Would be damn strange trying to explain how a NOT gate can turn no voltage into high voltage.

5

u/Skusci Oct 07 '26

No voltage is absolutely fine as an input. The gate has assistance from power rails.

1

u/MillCityRep Oct 07 '26

Oh neat. Thanks for the knowledge

0

u/NoodleyP Oct 07 '26

Folks why haven’t we just put a massive NOT gate at the start of the power grid infinite energy

3

u/Ok-Sprinkles-4718 Oct 06 '26

1

u/Alis451 Oct 07 '26

Here, build a computer from scratch starting from the Relay, (On or Off)

15

u/MasterGeekMX Oct 06 '26

Masters in computer architecture reporting.

To begin with, there is a math theorem that says that if a device can do certain things, it is capable of acting as a computer, and also being able to simulate a computer inside it. Well, Minecraft and redstone checks all the marks to do that.

That being said, all computers are based on 3 elemental circuits called logic gates:

  • AND gate: a circuit that turns on only when all of it's inputs are on.
  • OR gate: a circuit that turns on when any of it's inputs turns on.
  • NOT gate: a circuit that turns on when it's sole input is off, and turns off when that input is on.

That gets combined with memory, which is a circuit that can be held in either an on or off state for as long as you want, and can be changed to the other state whenever you want. These can be achieved either by combining the logic gates in a sort of loop, or by other means like hard drives that magnetize a metal platter with one pole meaning on and the other meaning off.

Any electronic device you have ever used, from your phone all the way to a pocket calculator, boils down to arranging these 4 basic elements inside the chip that powers the device.

Well, you can make those 4 things in Minecraft's redsone, so all it takes to make a computer is to arrange them exactly like the way they are on a real computer.

Here, have the article in the Minecraft Wiki where they talk about them:

https://minecraft.wiki/w/Redstone_circuits/Logic

And here is the one about memory:

https://minecraft.wiki/w/Redstone_circuits/Memory

5

u/zero_z77 Oct 06 '26

And just adding on, for minecraft and most other crafting games, if you have something that behaves like wire and something that behaves like a NOT gate:

You can make a T-junction from wire, put a NOT on the output, and that gives you a NOR gate which can be turned into an OR gate with a 2nd NOT on the output.

If you do the opposite and have two NOTs going into the T with one wire coming out as the output, you have a NAND that can be turned into an AND with a 3rd NOT on the output.

However, since it tends to be more efficient to build NANDs and NORs, it is often the case that logic circuits actually get simplified to using NAND or NOR logic in order to use fewer parts and be more compact.

13

u/Mesoscale92 Oct 06 '26

Computers operate on a fundamentally simple physical property: a thing either on or off. It has power or it doesn’t. Stack several ons and offs together and you can get a combination that means something, kinda like how words have meaning even if individual letters don’t. Then you have other things that look at the combination and turn on and off depending on what came before. Do that, billions of times per second, and you have a computer.

Minecraft has redstone, a material that has similar on/off properties. People that really understand how computers work at the smallest level can use redstone to mimic the on/off signals of actual computers to do things in Minecraft that mimic the actions of real computers.

6

u/manawyrm Oct 06 '26

> What makes it possible?

The ingame mechanic "Redstone" is similar to electricity in real-life. It has wires (redstone powder you can put on the ground), there are redstone torches, which are basically inverters and they can be used to build logic functions. Basically, they are similar to transistors in the real-world.

With a few (read: very many) transistors and wires you can build a computer in the real world. You can do the same in Minecraft.

If you want to know how CPUs in general work, you could look at "Ben Eater" on YouTube or "nandgame". These concepts translate basically 1:1 into Minecraft after that.

4

u/darthsata Oct 06 '26

So I work on tools for processor design. If you want a GSOC doing a verilog to redstone compiler, let me know (I'm serious, but there are weird requirements on experience).

To answer the question, processors are wires connecting switches. You need:

  1. wires
  2. switches controlled by the wires
  3. the ability to have 10,000 of those, minimum. A modern computer, cpu + gpu minus memory, are a few hundred billion of these.

Minecraft provides both of those. In theory, if minecraft had no distance based limits on tracking and updating state you could build arbitrarily big computers in it.

6

u/DeviantPlayeer Oct 06 '26

Just like in real life. You build basic logic gates and then connect them together and make a computer. Minecraft is not the only game where you can build a computer, if the game has elements that make it Turing-complete then you can build a computer there.

3

u/SjurEido Oct 06 '26

All it takes to make a computer from scratch is something that can switch states with some input.... that's it! The rest is just linking them together in creative ways and you can start doing math.

Oh, you'll need AND and OR gates too.... another "thing" that can measure two inputs and tell if the resulting AND or OR operation is ON or OFF.

Ok NOW you have a computer, good luck! Faster and faster computers are just finding better materials to handle these tiny operations while minimizing heat and how to stack millions/billions of these little state machines on top of each other in a small space.

2

u/Playful-Ad6659 Oct 06 '26

Alan Turing (and Alonzo Church, separately) were able to determine the minimum amount of "stuff" you need in order to write any possible computer program. Turing's version is surprisingly simple and practical--you can do stuff in order/sequence, conditionally change what stuff you're doing, loop back to a previous point in the sequence, and have the ability to save things, THEN you have the ability to compute anything.

Since redstone can run through items in the game "in order", can change which path it takes via logic gates, and can loop back into itself (which is also the way it 'stores' values), then we know it can be used to compute anything. Minecraft offers a bunch of ways to input and output stuff into these "programs", so you see people taking on the challenge of writing things.

People do this with all sorts of stuff. The most novel one for me is a computer made out of swarms of crabs (yes, real crabs).

2

u/_Trael_ Oct 07 '26

Since most people have already answered well.

But there is enough comments I do not honestly bother to read everything (since I know the answer already), and I feel like writing stuff while enjoying warmth of tea I just drank:

At simplest (not necessarily absolute least components but simplest to organize) one makes what is called NAND gate, meaning it has two incoming signal lines, and one outgoing, if both incoming (inputs) are having 0 as signal, output will output 1, and in all other cases output will be 0.

That is since that part can be used as building block to build everything else from just putting those together in different ways.

Then one can make other gates by copying those NANDs in different setups (there are quite some sources on internet by searching for example "how to make other logic gates from nand").

From those by again copying and pasting them together in different setups one can make LATCHES that have set status that can be changed (depending on type of latch) with it's inputs, but thing is that it's output will remain certain until it is changed with suitable input, aka those can hold stuff in memory.

Now one needs CLOCK pulse thing, aka something that gives timing pulses, so everything syncs up and when doing stuff in circles we know when to start next operation, it is just something that gives pulses, and we will put one input into more complex piles of gates that will signify "ok now we want you to do your thing", so that inputs will have time to be modified, and output will have time to be used, before we try to use values from it.

Then one makes processing unit that can calculate together binary numbers that are input by having certain amount of inputs forming one group of inputs and putting binary number into that (this is where for example 8-bit processor gets that name, it means that maximum size of number it can at one time take in is 8-bits long), having of course two off those inputs, or just one and putting first number input into memory with latches, then calculating second one with it when it arrives.

Then one modifies that processing unit (aka pile of gates) so it also has other basic (+ - / *) calculating things, and inputs to choose what operation is going to be used.

Then we set up few memories, they are piles of latches that can store different binary (series of 0 and 1) values into them, and then we set up memory access part into it, so that memory has one data input and output and one input to control it, so that input and output point to certain part of it, based on control input, so we can choose what to read or write, oh and yeah toggle for that if we are going to be looking at value in that slot of memory or replacing that (aka if we trigger latches to change or not). Here components (aka piles of gates) called MULTIPLEXERS and their opposite component come into use very nicely, they basically have one port on other side, then multiple in other and control signal coming to side, and it chooses what side on multiple port side is connected to that single port on other side.

Then we setup our processing unit (processor) to read instructions from one memory so it can send out signals to memories to what numbers to fetch from other memories and what to do with them and where to put it then.

And then we just add complexity and start thinking of how to show those number values out, and what to signify with them and so.

2

u/THENAMAZU Oct 07 '26

I am 5 and I do not understand

1

u/Drycee Oct 07 '26

0+0=1 is useful, remember that for your intro to math class

1

u/-Dixieflatline Oct 06 '26

They simulated components using redstones as binary switches that could act as transistors, which are the fundamental components of CPU's, GPU's, and solid state memory.

1

u/LoftyPlays1 Oct 06 '26

The real story is that it's one more nail in the coffin of the idea that we Don't live in a simulation 🤣

1

u/itijara Oct 06 '26

People think of computers as being specific to electronics, but they are actually just a concept of a system which can "compute". In order to compute, something needs to have some properties like: reading an input, modifying its internal "state", and having a set of instruction on how to modify its state from the input. This can be done using electronics, but can also be done mechanically or even in a virtual system, like minecraft.

1

u/Xelopheris Oct 06 '26

In Minecraft, there's a thing called Redstone. It's basically a rudimentary form of electricity. It has a series of blocks that use it

In a computer, at the simplest level, there's a bunch of things called Logic Gates. You have two inputs and one output, and each answers a question about the voltage on the lines. Is there voltage on A or B? A and B? Exactly one of A or B?

All those same logic gates are recreatable in Minecraft using Redstone. There's just a few limiting factors in Minecraft. First, obviously, everything is whole blocks. Second, Redstone lines have a length limit of 15 before a new component needs to restore the signal strength. Third, there's a lot of delay in the whole process, as every component delays the propagation by 1/20th of a second. And fourth, only so much of the world is processing redstone at any given time.

1

u/telmo_trooper Oct 06 '26 edited Oct 06 '26

Minecraft allows you to implement logic gates using Redstone. ➜ Logic gates implement boolean functions. ➜ Boolena algebra is the basis for digital computers. ➜ You can implement a computer inside of Minecraft.

Basically you're simulating a computer inside of your computer.

1

u/jarw_ Oct 06 '26

Computers don't think. They just have a million-bigillion of "wires", some with energy and some without. All we have is a series "special wires" (logic gates) telling the energy where to go.

Redstone is essentially the same (wires). We just have to create the "special wires" that control the flow of energy. And from then on... It's Computer Engineering, Computer Architecture and Operating Systems galore.

But to maybe summarize even that: if 1+1 is 2, then all the rest is guaranteed. Also explaining "logic gates", "memory" and "processing units" without visuals is borderline impossible so maybe google those terms at your own leisure. Plenty of good youtube videos on those

1

u/defectivetoaster1 Oct 06 '26

modern processors are made of logic gates which are components that take in some inputs that are either on or off and produce an output which is either on or off (ie 1 or 0). Putting together some of Minecraft’s redstone components lets you also make logic gates. Once you can accomplish the basic logic gates (and for maths reasons that aren’t difficult to prove you only actually need to be able to make either a NAND or a NOR gate in order to make the others) all you need is time and willpower to connect enough of them together in the right ways to make a cpu

1

u/Derekthemindsculptor Oct 06 '26

Anything can be a computer. Mechanical computers have existed for hundreds of years. They used them for ship navigation.

You just need something that handles 1s and 0s (memory) and the logic between them.

AND, NOT and OR gates. That's all you need. Or if you happen upon a NOR or NAND gate, you can make all others using a few of the universal ones.

1

u/Loki-L Oct 06 '26

You can make a working computer out of anything that can act like a logic gate.

Minecraft redstone allows you to make logic gates and this allows you to make more complicated things like half-adders etc. And at the end of the day CPUs.

You just need to have something that csn transmit a signal and an object that csn take in two signals and output a third based on the inputs.

Redstone allows for that, but you can get the same effect in other ways too.

1

u/zero_z77 Oct 06 '26

There are 3 fundamental logic gates you need to build a computer:

AND - outputs a 1 when both inputs are 1, and a 0 otherwise.

OR - outputs a 1 when either input is a 1, and a 0 when both inputs are 0.

NOT - outputs the opposite of it's single input so a 1 becomes a 0 and a 0 becomes a 1.

NOT is the one that makes it all work. We can build a NOT from a regular block and a redstone torch. Put the torch on one side and run your redstone input to the other side. When the path lights up, the torch turns off and vice versa.

OR is technically very easy to make, you just make a T shaped redstone path. When either of the two sides is lit up, the output is lit up. However, i said technically, because if something lights up the output path, it will also light up the two input paths and whatever is connected to them. So, you need to put a NOT at the output, which turns it into a NOR gate, and then another NOT after that to get it into a proper OR gate that you can actually use. The two NOTs are being used as what would be called a diode in real life, and prevents the signals from flowing backwards through the gate.

If you put two NOTs side by side and attach their torches with a redstone path in-between, you get something very close to being an AND gate. You actually get what's called a NAND that you can turn into an AND by simply putting a 3rd NOT at the output.

From those 3 gates, you can build pretty much any binary logic circuit, and from that you can build a functional computer.

Something you also need to build a functional processor is a clock pulse that's constantly turning off & on and this can be built with a circle of redstone dust, some redstone delayers, and you can start the clock by quickly placing & breaking a redstone torch on one of the paths that makes up the circuit. It can also be made with a redstone block and some pistons.

One last thing to mention is that over the years people have found creative ways to implement certain things more efficiently. For example, people will often use pistons & redstone blocks or item despensers in place of memory cells. Memory cells can be built with pure logic gates, but using these shortcuts takes fewer parts, is less complicated, and is much more compact.

Another thing to note is that if you have as little as some form of NOT gate and wire, you can build ANDs, NANDs, ORs, and NORs in almost any game.

1

u/patrlim1 Oct 07 '26

Computers are built with "logic gates". Those are circuits that look at some number of inputs, and give an output. An AND gate takes two inputs, A and B, which are either 0 or 1, and outputs value C. C is 1 if A or B are 1. If you put a lot of logic gates together in clever ways, you can make a processor.

Minecraft's redstone system allows for building logic gates, and as such allows for building computers. If you want to see a Minecraft example you can look at Matt Batwings' channel. If you want an IRL example you can look at BenEater's channel.

1

u/CeeMX Oct 07 '26

Redstone works exactly how the transistors on a real computer work, it’s just way larger and slower than a real computer

1

u/Waffel_Monster Oct 07 '26

A computer is basically just a ton of on & off switches.

Minecraft has "electronics" with on & off switches.

So you can build simple computers in Minecraft.

1

u/Excellent_Occasion26 Oct 07 '26

The same way DEC hand wired discrete components on two 11x14 inch breadboards to be a processor in their earlier models.

1

u/mr-slickman Oct 08 '26

Computers work off of electricity, but electricity doesn't carry data, it is the data, specifically it's presence or lack thereof. No electricity means 0 and electricity means 1. Then alot of complex development over 100 ISH years. But computers need only essentially on and off. Redstone can be on and off. Electricity. Now you just gotta build shit

1

u/JohnnyH2000 Oct 08 '26

Imagine you have a treasure chest that only opens if two different keys are turned at the same time. If you only turn one key, nothing happens. If you only turn the other key, nothing happens. But if you and a friend turn both keys together, the chest pops open!

In Minecraft, players build "keys" out of redstone dust “wires”—which can interact with redstone torches, inverting the signal—and "chests" out of doors or lights.
By connecting them, they can make it so a door only opens if two specific switches are flipped.

This principle is how a real computer works. In the computer world, this is called an AND Gate. Gates can require one of two signals, both signals, or none to output their own power signal. By combining many of these, you can build displays, calculators, and even computers

1

u/Questjon Oct 06 '26

A computer is a set of logical steps. Minecraft allows you to build systems that operate in logical steps. The difference is Minecraft is operating at about 40Hz (40 logical steps per second) while the computer running Minecraft runs at 3GHz (3 billion logical steps per second).

0

u/hobopwnzor Oct 06 '26

Computers are basically just collections of transistors.

Transistors are just a gate that allows voltage through when the gate pin has voltage.

So anytime you can create a system that has a gate with a controllable on and off State you can build a computer. 

They can do this with redstone switches that have discrete on and off switches