This is the logic circuit i want to create in Minecraft

enter image description here

Can anyone make one for me because the one I am making is having lots of problems and is too messy. Redstone signals get jammed and they stay turned on even after switching off the lever.

2 Answers 2


I hope you're not trying to construct this from basic gates. It could be argued either way, but fundamentally, I see binary decoders in Minecraft as functioning with nor gates instead of nand gates, but that's beside the point. Essentially, the best way to create a binary decoder is to treat it like a field-programmable gate array (FPGA), where horizontal input lanes are nor-ed together on the vertical output lanes. That's a bit of a wishy-washy statement, so it's probably better just to show you.

T flip-flop counter and binary decoder

In this instance, there is a counter as the input, but it's just as easy to use levers for the input. There are 2 blue lines for each input, one of which is the complement (the not) of the input. While these lanes are active high, their only way of output is effectively through a not gate, meaning they output as active low. All output lanes (the red lanes) except one have power to them, and since we're using active low, only one lane is high (despite being "off"). To fix this, we invert the outputs so that we get back to active high. Note that without the output inverter, you basically get nand behaviour. This is beneficial because if you want to power something like a seven segment display, you need an encoder. Encoders require active low inputs, and will produce an active high output, and since the output lanes are already active low, it's as simple as stacking the output lanes of the encoder beneath the output lanes of the decoder.

For a little more information, take a look at this answer about a similar problem.

  • An FPGA for a simple 2-bit decoder? That's overkill. Commented Nov 18, 2013 at 19:22
  • 1
    This isn't exactly "field programable", just a gate array, with hard coded lookup table. Commented Nov 18, 2013 at 21:45
  • @TokenMacGuy: You're missing the analogy, and the fact that it can be easily reprogrammed. If you start thinking in real-world constructs you can often find novel solutions to problems in minecraft. Besides, the field programmable thing is a bit of a misnomer to begin with. Someone still needs to write the VHDL and have a programmer with them to change what an FPGA does.
    – MBraedley
    Commented Nov 18, 2013 at 23:13
  • 1
    @BlueRaja-DannyPflughoeft: It's also allows easy expansion both in terms of number of inputs and functionality. Sometimes flexibility trumps other concerns.
    – MBraedley
    Commented Nov 18, 2013 at 23:15
  • 1
    @TokenMacGuy if you could push redstone torches around with pistons, then programming wouldn't be to hard (although the programmer would be many times larger than the FPGA). Maybe with some SethBling command block magic.
    – MBraedley
    Commented Nov 19, 2013 at 1:41

Redstone torches in Minecraft emulate NOR-gates, not NAND-gates. If you redesign the circuit with NOR gates, it will be much easier.

circuit design

This circuit will require only 6 torches, one for each gate.

  • 1
    Except it doesn't require only six torches unless you use some interesting tricks to isolate the inputs. Additionally, this is harder to construct (especially compactly) due to the crossing lanes.
    – MBraedley
    Commented Nov 18, 2013 at 22:17
  • @MBraedley: Er, yes it does. A torch can have multiple inputs. Commented Nov 18, 2013 at 23:18
  • Yes, it is possible to do it with 6 torches (just tested), but it's ugly and inelegant, and would require an incredible amount of work if you wanted to expand even just to 3 inputs. More importantly, you're not understanding what I mean by isolated inputs. Naive approaches can lead to, for instance, input A leaking onto input B. Not good, as it'll destroy the logic.
    – MBraedley
    Commented Nov 18, 2013 at 23:54
  • yes i made it that way and as @MBraedley said it is ugly and some the torches doesn't change their stated even after changing the input signal this is what i am having problem with
    – Deiknymi
    Commented Nov 19, 2013 at 1:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .