Making Logic Gates out of ACTUAL GATES in Minecraft
Vložit
- čas přidán 17. 05. 2024
- Today we put the gate in logic gate.
Mentioned Videos:
Steve Mould's Video: • I Made A Water Compute...
Matt Parker's Video: • The 10,000 Domino Comp...
Binary Adder Explanation: • XOR & the Half Adder -...
Chapters:
00:00 Intro
01:32 Logic Gates Explained
02:24 Brainstorming
04:17 The AND Gate
04:50 The XOR Gate
08:57 The OR Gate
09:29 Junctions
10:26 Timelapse!
11:42 The Adder
14:45 How to use it
16:29 First Test!
17:36 Second Test
18:55 An Issue
19:19 Troubleshooting
20:28 Third time's the charm??
21:40 Outro & Shoutouts
the fact that you muted the "hey google" so people using speakers wouldn't be affected is such a cool detail
Yeah it's something I've seen a lot of techtubers do, and I really appreciate it when they do
Now if only we could get people to mute their Discord notifications...
@@jazziiRed Don't mute it, hahahahaha
@@jazziiRed ❤️
@@DFPercush is it really that scary?
never thought that fence gates had so much emergent functionality even with your usage of the pressure plates, the depth of this game amazes me
i mean really he is using water, mine carts, pressure plates and tripwire hooks alongside the fence gates to help move armor stands and block their paths and stuff. Id say this is more like using armor stands to do the logic since they can move (ei: carry signals). The logic gate is no more made from fences then it is flowing water. They manipulate the position of armor stands. (also, like he alluded to in the beginning, if you can toggle something between 2 states, and you can build the basic logic gates from it, it has the emergent property of being able to create a Turing complete computer)
imagine if redstone was never added and we had minecraft computers that run only on fence gates!
@@explosify5035 fence gates cant transmit any signal or take any signals on their own, but using the method shown in this video(with water and armor stands and pressure plates and tripwire and mine carts...) to make logic gates, it would be possible. The video is about building a functioning full adder. Although the logic gates in this video are single use so maybe not actually useful for building a whole computer from...
@@Brenden-H I'd*
@@Brenden-H It's possible, just not easy to make it reusable
Easy method: datapack
Hard method: making buttons that dispense armor stands in the correct spots (can dispensers even dispense armor stands? how much wiring would it take?)
Another fun kind of wire to try building gates with is what's known as "greenstone," a cactus-sand-torch-sand modular wire mentioned in the Minecraft Wiki's Rube Goldberg guide.
Interesting... I'll have to take a look at that
You just activated really old neurons in my brain with those words w
Now I miss doing good old redstone
There's also leafstone, where observers can detect logs being put next to leaves
@@softpaw6234 yea i tried to get that to work in a redstone contraption, used walls instead though bc i probably did something wrong with leafstone
@@chickencurry69420 leafstone has a fairly limited range, I think it's the same as leaf decay for naturally generated/grown trees
This fiddling with soul sand and water stream to time the armour stands actually has a parallel solution in computer science. Basically, all of the circuits are connected to a control armour stand named Clock via an AND gate, so that every output is dropped at the same time (when clock arrives). Amazing how much parallel there is between Minecraft gates and actual CPUs :)
If anyone is wondering, such circuits are called synchronous
I was just thinking of how he could do that exact thing, I didn't even consider that CPUs might also do that.
Actual CPUs are made from very small logic gates that might have different form but behaves exactly the same as logic gates in Minecraft(or any other games or simulations that has logic gates) That's why your able to make a whole CPU in minecraft
Yup, and often times the clock speed of a physically large chip can be limited by the time it takes for that signal to cross the chip. For example something like the 6ghz 13900KS can't physically go much faster than about 10ghz no matter what you do to it. The silicon will hit other limits before that, but the die size should will set some hard upper bound.
Some important distinctions:
1. The clock signal in electronics is almost exclusively used to synchronise flip-flops (these are called synchronous), *not* the inputs to logic gates (which are asynchronous). Electronic logic gates are reusable and memoryless, and generally don't need their inputs to arrive simultaneously. We just ignore the output until it has stabilized. That's except:
2. In cases where it's important for the output of a logic gate to never switch back and forth before it has stabilized, this is called a *hazard*. There are various ways to work around this, but a very common way is to make the output synchronous by adding a flip-flop and a clock signal.
The relevant Wikipedia article is called: Hazard (logic)
When I heard no redstone, I automatically assumed no components either, so I was super confused until I saw the tripwire hooks and pressure plates. That said, this is amazing, I regularly design my own redstone gates to fit different needs, but there is absolutely no way I could have made something like this. Great job!
He technically failed his own challenge. Tripwire hooks and pressure plates are classified as redstone, as they provide power to other components.
@@Denastus I mean yeah but technically their construction doesn't require redstone in the recipe so that's fine
I don't think it's possible to provide signals without using redstone, since fluids don't behave like they do in reality (my other guess would've been a water gate) @@Denastus
Nevermind this one did czcams.com/video/lsae2Hq_vCc/video.html @@Denastus
@@DenastusWhat he meant was that there is nothing with the name redstone in it or that uses redstone in the recipe, as he states in the video
small tipp if you use often commands. Build a datapack it makes stuff like switching all minecart with chest minecarts way more easy you can just select all and then do it ones
Cool, thanks for the tip 👍
this case specifically would be perfect for structure blocks
@@magica3526 yeah i use them all the time, they're awesome
@@magica3526 i would not say that the problem is you would ned to save it every time you build one block different
If you're building a datapack, you could maybe do something like 'place x entity above every block of y type with z offset', meaning which entities are placed is still encoded within the build, and not as much within commands
You are the first youtuber that actually goes through their thought process and explains what they are thinking out loud instead of just showing the final result. You are wildly underrated.
Stampy does that on his second channel I think.
Mumbo Jumbo does that too but in a more “theatric” way
MattBatWings
how u gonna disrespect the goat gbembon like that
Lying to meat ride is crazy
there was already an 8 bit adder with fence gates and tripwire, which used zombie path finding by pi314159265358978 its pretty old by now and may not even work anymore!
Oh! I'll have to check that out.
I instantly remembered that too.
Ahhhh.... Good times in mcyt.
this video also reminded me of the best use of furnace minecarts. ilmango's scicraft episode 69 if anybody hasn't seen that true technical minecraft classic (just like pi's pathfinding computer).
3.14159265358979
is what u meant
Awesome demonstration! You not only showcase the final result but also walk us through the issues hit during preparation!
To me, those issues hit and the way you resolve them value no lesser than the final result!
Great work!
Thanks, that's the goal!
I agree, those learning opportunities are just as if not more important
You put it into words, thank you
Bringing back fence gate redstone functionality from the early days of minecraft , never thought theyd come back into the scene in such a big way
It's funny you mentioned irl water gates as your inspiration, because back in the pre-alpha days before there was redstone we only had Minecraft water logic gates. The original redstone came early in alpha, and then 4 days later the way it worked changed to how it is today, and now with so many more blocks like repeaters, pistons, and apparently even fences! It's awesome to see the innovation and advancements along the way. Very cool video 🙂
I recently learned that every logic gate can be made with only AND and NOT gates and i find that incredibly impressive. And the fact you did this without redstone is so cool
as an electrical engineer currently studying this stuff in college, this tickles my brain in a way i can’t really explain with words!
the way you tackled each problem by breaking them down into simple steps feels very familiar and comforting, what an awesome video ❤
This flipped the switch in my brain on how logic gates and adders work. Thanks
This flipped the switch on how all of that actually matters for computers for some reason.
This is the first video of yours that I've seen and let me just tell you: You're going to be one of the greats soon. The quality and efforts are top notch.
Thank you so much 🙏
Glad you're here!
@@jazziiRed I think I'll be sticking around. That MIDI video was also really good.
I will make a prediction, by the end of the year jazziRed will have 100k subscribers and by the end of the next year around about 750k subscribers. Hopefully you will reach one million soon!
@@jazziiRed I agree with him
You could use command blocks for the reset button
_since they dont use redstone to craft ;)_
That Xor gate design is so cool! This is probably the coolest (only) minecraft "redstone" contraption I've seen that doesn't use redstone.
I swear to god your channel is so cool like the editing and all I just like it sooo much
Thanks, I'm glad you enjoy it :)
I'm a programmer (10+years) and I still don't really get logic gates entirely. Kudos this was impressive.
All 7 logic gates:
*[NOT]*
_>Active if no inputs are Active_
*[AND]*
_>Active if all Inputs are Active_
*[NAND]*
_>Active if any Inputs aren't Active_
*[OR]*
_>Active if any Inputs are Active_
*[XOR]*
_>Active if exactly 1 Input is Active_
*[NOR]*
_>Active unless any Inputs are active_
*[XNOR]*
_>Active if all inputs are on or off_
_(No mixing of on or off)_
to be fair, as a programmer you don't really have to know that
Or:
This or this and it doesn't mind both
And:
This and this, its very strict
Not:
Is how you use it in english not true is false and vice versa
Nand:
Its just not and
Nor:
Its just not or
Xor:
Demands only one and not more
Xnor:
Cant be all or nothing
Everything wants true
@@hoodio there are if statements that if true this happens if not something else happens
@@farciarzfunny5326 that's not the logic gate system
I have no clever way to present this joke, so just... Here.
ArmorstAND gate. ArmORstand gate.
*slow clap*
As a mathematician and a longtime minecraft player, and this just lights my brain up in all the right places. Excellent video
I love how straightforward the and and or gates are, and how crazy complicated xor is
and and lol
This is pretty true for actual wiring too. A (bad) OR gate can be made by just tying two wires together. In reality you need atleast two diodes and a resistor. An AND can be made with the same components just connected differently.
I'm not personally aware of a way to make xor with just diodes, resistors, and no transistors.
@@Redjd2098 things like that are probably why logical AND is usually written all shouty.
Wow man. You have an incredible head for mathematics and problem solving, on top of your ability to clearly articulate what is being done. Keep making gold like this, and you will have earned every sub you get (which is sure to be a ton)! I am blown away by all of the intelligence and combined talents I have seen in this video!
Wow, that is some seriously high praise... I really appreciate it 😄
man, this is exactly the kind of content i needed; very original :D
it gave me nostalgia from when i learned about logic gates like a decade ago.
you've become one of my favorite MC youtubers just with this video
Thank you, I am honored 🙏
a while ago i experimented with making a water based computer that pushes armor stands around, and it was quite similar to this though not quite. this reminds me of that
Awesome
This is giving me nostalgia for "alternative redstone" in the early days of Pocket Edition where we would use falling sand/gravel, "linked" signs (just signs placed on each other), and cactus blocks. Basically entirely single use contraptions with tons of setup that just caused block updates to send a signal through chains of breaking signs/cactus, and abusing things like trap doors set open automatically closing when a block below them broke.
There was even a while where we didn't have actual redstone in Pocket Edition, but we had redstone ore blocks, which you could punch to cause an update, so we basically used those like a single use button.
Edit: Oh, I just got to the point in the video where you do your first full test, and you actually mentioned breaking signs lmao Nice
Watching Batman create logic gates with actual gates is amazing
I gotta admit, I'm surprised this doesn't have more views. I love this video and I kind of picked up how a logic gate works with the way you were building it, and your explanation. I think I might try and do this myself, one of these days! It's so cool seeing people do something this complex in a game meant for entertainment!
If you do end up making it with water you could use the Water Physics Overhaul mod. It makes water spread and is pushable by pistons!
Just learned about logic gates today in my college Architecture and Assembly programming class. This was not only insanely interesting to see you think through how to make gates (such as the XOR) but pretty helpful too!!
8:45 "you need to reset it manually so it's not exactly reusable but hey, neither were the dominoes so I think its fine. Please forgive me."
This was genuinely *EXACTLY* what I was thinking.
I've been trying to make contraptions on my Skyblok-ish world with no mob spawning so no way to get redstone. This video was very well-timed.
Unconventional redstone + problem solving. This video goes hard!
Crafty!!! Thanks, I appreciate it 🙏
6 month old comment from Cwafty Mastuwman that only has a reply from the creator? On a REDSTONE VIDEO? Wow. Hi Crafty
Awesome stuff! Minecraft redstone has always been interesting to me and i spent a whole lot of time developing my own mini-systems but this a refreshing take on this topic. Well done!
I remember back before Redstone was added to MCPE, people would come up with these ingenious "redstone" contraptions using sand/gravel, signs, and sugarcane. This reminds me of that. Amazing video!
Great video and concept, if you allowed pistons it might even be possible to make the whole system reusable. Instead of moving the armor stands between the logic gates you could have a series of tripwires where the first one activates a piston which pushes an armor stand into the second one and so on. If the system then deactivates when the input is removed or changed all armor stands can return to their starting position through gravity or a single block waterstream.
Very interesting video, great job on it! Would suggest using AND gates rather than time delay streams for coordinating signals arriving at OR/XOR gates at the same time, and more tripwires to have other pre-set armour stands to drop.
I considered that, but I liked the purity of the delays, plus it mirrors the zig-zags in real-life PCB design.
Oh I love logic gates. I’ve been thinking about these in Minecraft for a while now.
Good video!
So happy you thought of using command blocks to reset. Was halfway through and going to comment it but figured I'd wait it out a little longer.
Newomaster already did use water to make a redstoneless adder many many years ago.
Here is a link for those that are interested: czcams.com/video/lsae2Hq_vCc/video.html
9 years ago is more than i expected, i thought maybe 7. Time flies.
Holy crud! How's your channel this small?! Your video quality is astonishing!
Thank you 🙏
Agree
this man has rediscovered the minecraft that existed before redstone
Great video! Looking foward to see your future projects.
you should add a water pathway for the xor gates so that once the armor stands drop they then get carried back to the top with some delay so if they are both their it wont give an output until it has added the numbers
Technically, you can make this run doom
I always love seeing people invent new forms of Redstone in game, it’s always so cool, using gravity, water, and armor stands is a neat idea!
awesome video, man! people building logic gates with inconvenient things (like those literal gates) is certainly one of my favorite video genres👌
I can't remember if armor stands collide with each other, but if so; for the XOR gate you could theoretically just have water flowing into a center point, leading to a 1-block drop. If both armor stands get placed at around the same time, they'll bump into each other and prevent each other from falling down. I realize this doesn't use fence gates though lol
They don't collide at all
That's what I thought of immediately when watching this video. Tried it out in-game; unfortunately, as Shenlerel said, armor stands don't have collision. However, minecarts do. In fact, you could redesign the entire thing with minecarts, which is what I'm doing right now, and it's more compact yet still functional.
Ah dang. I thought they did for some reason. Yeah, minecarts would be cool!
Hey I love your channel! Would you consider doing an update to your wireless telegraph video with the new calibrated amethyst block?
Thanks! And yeah I am thinking about what I can do, but no promises 😬
@@jazziiRed Thanks man I'm glad to hear that! You definitely should as I think that video might have been one for your best performing videos. I've seen a lot of people comment that you can send more data in a shorter amount of time or something similar, but additionally the distance is extended so you can have longer spaces between the telegraph and if you waterlog them you can have them underground as a secret communication line well!
unironically the first source to get me to understand how logic gates could function outside of pure math and theory. 11/10
I appreciate your effort to do this and include your thought process. I don't have the energy anymore to figure this out. Props
But can it run doom?
next up is gonna be making a computer out of logic gates, maybe? 😂 and then make it into a quantum computer and make it run a simulation of string theory 😊❤😅🎉😮😂😊😊❤ and then launch it into space and make it develop artificial intelligence that trains itself and then make it destroy earth 😋😋😋😋😋😂😂😂 minecraft guys
tooo many emojis
i was literally thinking “imagine if he used gates and water in minecraft” and then YOU LITERALLY SHOWED SOMEONE MAKING LOGIC GATES WITH WATER 😭”
I see this is a breakout video, congrats, also you got my sub right at the beginning just because you mentioned Steve Mold and Matt Parker, love those guys
You having to worry about timing is literally the reason for clocks in computers.
Great idea - and lots of fun :D love it!
Bro just debugged the physics of his ALU. It's already a nightmare debugging code. You are a brave soul.
Really love the way you describe the binary adding, simple yet affective
That is so cool, i remember trying to make logic gates in minecraft because i was rly interested at that at that time
I can't watch this because I lack internet but the 7 minutes and 39 seconds I did watch was amazing
The fact that you actually did this is just amazing XD rly enjoyed the video!
This is really cool man! You're incredibly underrated. Keep it up!
btw, in theory, you can make all of this reusable with water streams and soul sand
this is amazing, always thought of mc mechanics without redstone and you did exactly that.
This is amazing, new subscription added! Excited to see what else you come up with!
Thanks, and welcome :)
Very unique idea, cool video, liked and subbed !! :)
this is crazy. well done.
So cool and smart! I like the opening-closing sounds very much as well! Reminds me old school mechanical calculating systems
Awesome video! This stuff is really interesting in my opinion
We need the water logic gates. You could even hook it up to an observer to make it output electrical signals. The immense irony in using what normally functions as the antithesis to redstone, completely destroying it, as a harnessed method of logical computation is utterly glorious
This is incredible! If you could somehow get your gates to reset, you could probably make a turing complete system, totally without redstone. Also a great showcase of race conditions, the way timing effects the output. Excellent video!
The fact there was an actual bug here was pretty cool
Sir, this is a absolute great discover. Loved it so much, thank you so much Sir.
Awesome content! I just binged your older videos and they are also all great. Keep it up, you really have the potential to grow as a technical minecraft youtuber, especially because I think the technical minecraft community is growing.
Thank you for the encouragement!
That‘s impressive! Earned a like and a sub!
And that’s why computers are made with electronics and not mechanical parts… great work!! I really enjoyed watching your process
This is so interesting and cool! I would really like to see another video using this gate logic. And i have got an idea: you could add some water that flows to a soulsand elevator below the "computer" to get the armorstands back to the top. This would make a "battery" and an armorstand "current" so that you wouldn't have to use command blocks to reset it.
Didn't know what logic gates were for before this video, or what they had to do with binary, but when the machine added up the numbers correctly it completely blew my mind. Now I get why binary is so useful in computers!
This is awesome! What a fun personal project
Mumbo jumbo been real quiet since this dropped 🤣🤣🤣
That’s really cool!!!! I honestly didn’t understand any of this at the beginning, but you made it really easy to understand!
Anyways, great video!
Thanks!
I would be fascinated to see a variation with actual water! I know there are mods that allow for water to be drained like irl, so you could do what Steve Mould made a primitive version of.
that was an amazing video!! keep going!
you are a legend, keep making videos, those are interesting and well explained !
Dude, Im not used to give a like, but solving the timing problem totally deserves it
Great Video. I loved that you explained everything in a good and understandable way. Excited to see more from you. 🤝🏻
Thanks!
Steve Mould would be proud
Great design. I love seeing mechanical devices that run logic operations.
Really cool video! Redstone makes my head hurt most of the time, so I was actually able to follow along with this one!
super cool concept well done
dude it's absolutely incredible! I'm a mathematician and did not expect that in minecraft it is possible in such schemes without the use of redstone
First computers literally implemented logic without electricity or at least "informatic", so for example they would use electricity to spin a physical gear.
Although you said you haven't *seen* anyone doing it, so I guess that statement still holds true.
Love these funny ways of doing fancy things.
I love, that you let the debugging in (in the case of 11 + 5)
I’m tempted to make a button+fence only version of this now!
As a note: XOR is the same as (a OR b) AND NOT (a AND b). NOT seems like the hardest gate, but OR can simply be two buttons by a gate! NOT included timing.
Another note: a signal can be split with two loaded gates on opposite sides of a button
I just posted a video showing off an XOR that uses 2 water for slowing a falling armorstand and one tripwire for a NOT gate. If someone figures out a way to do it without the tripwire, pls holler!
That must have taken an incredible amount of time! Great work!
Great video! That was such a great idea to make the logic gates out of gates!
I forgot digital electronics after watching this... But it's amazing fr