If water is poured only into A or B or into neither, Output will stream water.
If water is poured into both A and B, there will be no Output stream.
This NAND is considered a Universal Gate, because when strung together they can perform all the logical functions of Boolean Circuits.
The Clock stream is copied over to the Output stream in a double wide ditch. Inputs A and B are discarded, but they can both drop gravel into the Output stream using signs stacked on signs. If they both do, the Output stream is blocked. If only one drops (or neither) the Clock stream has enough room to get through the Output ditch.
Water streams can be split, so Outputs from one gate can be sent to multiple Inputs. Bubbling creeks become not only the wiring between our logic elements but bits of memory from past computation to be acted on again.
Gravity can be used as a diode to force flow a single direction; other behaviors can be coaxed on flat land.
You can chain NANDS to get an OR, but here's a more compact version:
That one was easy. If water's in either ditch, the ditch at the end fills too.
Here's an AND gate, which streams water through only if both Inputs are fed:
There we send Input A into a hole unless Input B's torch gets washed out, dropping gravel into the hole so Input A travels on to be a true Output.
NOR is another Universal Gate:
Here, Input A and B both have a chance to keep the Clock from copying to Output.
In XOR ("exclusive OR") both Inputs have a chance to block each other, so Output is true only if exactly one Input is true:
Here's a NOT gate, known as an "inverter", which reverses its single Input to be the opposite Output.
If the Input is false, the Clock input is fed to Output. This stream is blocked by dropped gravel if Input is true.
XNOR is true if both Inputs are either true or false together. One way to construct an XNOR gate is an XOR with its Output fed through a NOT.
In all examples, the Clock is streamed to the next gate. Your local geography will sometimes require timer tuning (also known as curvy ditch digging) so Clock water arrives after Input water.
Next? Chain these gates into an 8-bit adder. Incorporate floating items, boats, minecarts and dispensers. Scratch that last one, dispensers require redstone. But I think I can design logic gates out of wool, gravel and fire. Combustible Computation anyone?
The idea is full of win, but it's honestly not very practical. But if you apply that kind of innovation to all of Minecraft, I'd expect some surprising ideas, with even more win inside.
Great work! but as said, impractical right now. BUT... on that thought, this could get somewhere
A lot of people want drainage blocks, where water can pass through, but not players. If there were a similar block which outputted ON if water was in it, and only let the water out if it was fed ON then you could actually end up with pretty compact (no need for resetting) water circuits like you have done!
But yes, once again. Good work! Gets you thinking :biggrin.gif:
Rollback Post to RevisionRollBack
Thanks, voicelessbard for the great avatar and sig! (search him in the MC forums)
couldnt you technicaly use the and gate and hook up the output to a giant floodgate? with the two inputs having signs like: emergancy flood machine place water here
I'm still in awe after reading about your self-destructing cart boosted guard tower.. Keep up the good work and you'll be receiving the free redstone wiring computer cable! So far, you're biggest rival is Etho. Sadly, I've yet to create anything as amazing yet..
Also, can you figure our how to make a T Flip Flop?
You can with minecarts. Water and sand can store data but writing it and sometimes reading it costs a lot of gravity-driven block movement, limiting the number of times you can access the bit without copying it to higher ground.
FYI you can build these gates with lava instead of water, but because lava travels only 3 blocks horizontally, many of the gates need more vertical room. We need a vertical drop of at least 1 block every few blocks we go flat to keep things flowing.
I'll post a lava gate picture set if I noodle them out.
If water is poured only into A or B or into neither, Output will stream water.
If water is poured into both A and B, there will be no Output stream.
This NAND is considered a Universal Gate, because when strung together they can perform all the logical functions of Boolean Circuits.
The Clock stream is copied over to the Output stream in a double wide ditch. Inputs A and B are discarded, but they can both drop gravel into the Output stream using signs stacked on signs. If they both do, the Output stream is blocked. If only one drops (or neither) the Clock stream has enough room to get through the Output ditch.
Water streams can be split, so Outputs from one gate can be sent to multiple Inputs. Bubbling creeks become not only the wiring between our logic elements but bits of memory from past computation to be acted on again.
Gravity can be used as a diode to force flow a single direction; other behaviors can be coaxed on flat land.
You can chain NANDS to get an OR, but here's a more compact version:
That one was easy. If water's in either ditch, the ditch at the end fills too.
Here's an AND gate, which streams water through only if both Inputs are fed:
There we send Input A into a hole unless Input B's torch gets washed out, dropping gravel into the hole so Input A travels on to be a true Output.
NOR is another Universal Gate:
Here, Input A and B both have a chance to keep the Clock from copying to Output.
In XOR ("exclusive OR") both Inputs have a chance to block each other, so Output is true only if exactly one Input is true:
Here's a NOT gate, known as an "inverter", which reverses its single Input to be the opposite Output.
If the Input is false, the Clock input is fed to Output. This stream is blocked by dropped gravel if Input is true.
XNOR is true if both Inputs are either true or false together. One way to construct an XNOR gate is an XOR with its Output fed through a NOT.
In all examples, the Clock is streamed to the next gate. Your local geography will sometimes require timer tuning (also known as curvy ditch digging) so Clock water arrives after Input water.
Next? Chain these gates into an 8-bit adder. Incorporate floating items, boats, minecarts and dispensers. Scratch that last one, dispensers require redstone. But I think I can design logic gates out of wool, gravel and fire. Combustible Computation anyone?
==============================================================
Here are some other non-redstone computing resources.
Redshift64 and liq3's 16 Bit Sand Adder
howlingmonkey's Minecart Data Storage
-- still uses a lot of redstone
==============================================================
The Tesla to Etho's Edison.
^ This.
The idea is full of win, but it's honestly not very practical. But if you apply that kind of innovation to all of Minecraft, I'd expect some surprising ideas, with even more win inside.
Too lazy to go mine redstone, which is ridiculously abundant, but not too lazy to reset these gates over and over again? GTFO
Goofing with these sorts of programming puzzles may have some real world use later, so at least it's educational.
The Tesla to Etho's Edison.
That is all.
A lot of people want drainage blocks, where water can pass through, but not players. If there were a similar block which outputted ON if water was in it, and only let the water out if it was fed ON then you could actually end up with pretty compact (no need for resetting) water circuits like you have done!
But yes, once again. Good work! Gets you thinking :biggrin.gif:
Thanks, voicelessbard for the great avatar and sig! (search him in the MC forums)
Cube Craft, a simple pack by me!
I added XOR and XNOR, rounding out the set of basic gates.
The Tesla to Etho's Edison.
The Tesla to Etho's Edison.
Also, can you figure our how to make a T Flip Flop?
There were so many images Fire NAND turned into its own thread anyway.
You can with minecarts. Water and sand can store data but writing it and sometimes reading it costs a lot of gravity-driven block movement, limiting the number of times you can access the bit without copying it to higher ground.
The Tesla to Etho's Edison.
I'll post a lava gate picture set if I noodle them out.
The Tesla to Etho's Edison.