Doing Math with WATER in Minecraft
Vložit
- čas přidán 1. 06. 2024
- Now this logic really flows ;)
Logic with Fence Gates: • Making Logic Gates out...
Music Attributions:
Heartwarming by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/...
Chapters:
00:00 Intro
00:45 The Inversion Problem
02:26 NAND
04:39 AND
07:11 OR
08:42 XOR
10:38 Building the Adder
11:02 Oops...
11:44 Second Try
12:50 Demo
16:41 Alternate Design
23:34 What the...
23:59 Outro
electrical engineering: the way of water
electrical engineering: the fire hazard
HAHAHAHHAHA
sAND gate, ORe gate, NOTe gate. If you ever want to do more videos like this, these are my suggestions.
sAND gate-sand falls onto weighted pressure plate, pushes an item 2 blocks up into tripwire or pressure plate, or redstone signal through the top block
ORe gate-item or armor stand falls onto redstone ore block, giving block update.
NOTe gate- previous circuit always sends a signal once any input is received, then after brief delay sends either a one or zero as it normally would. Then you can run the 2 signals into the aforementioned sAND gate, either by sending the 2 signals at the same time, or delaying the signals/storing them.
I like the way you think
You forgot the NANDvil gate
these puns are so funny to me lmao
@@bloondominus8177 lol🤣🤣
This is such a skyblock friendly design. Especially since we usually doesn't have many option for redstone circuit in the early game of skyblock.
Finally, we can do 4-bit integer arithmetic in skyblock!
@@bee_irl we all needed that to calculate how much cobble stone we need to have in our island
@@bee_irl Admins logging onto your island and trying to figure out what's going on...
@@lightning_11this man has not played real skyblock
@@ImpossibleEvan Looks like a Hypixel Skyblock main. HPSB should really be called Hypixel MMO.
When you made flow logic, the literal flow.
new epic redstone youtuber just dropped
ayyy crafty is here
Eyo Crafty himself
Electrical Engineering Professors:
It's simple really
I like how its not just the same thing but water but you showed the every gate can be nands here
The perfect sequel
Yeah I wanted to make sure to add something to the experience rather than just repeat the same thing again :D
With your original armor stand designs, you could do a not gate by having a "sync pulse" in parallel with every operation, but that's probably a bit more complex than you were hoping for lol.
Edit: The xor can also been done pretty simply if you weren't trying to use all NAND gates like you did (which is a really cool way to showcase the power of nand only logic, by the way).
In case anyone else is trying to use this for something a bit more compact, by putting pressure plates next to the inputs on the NAND gate setup and merging the 2 outputs, you can do an XOR gate.
You do have to make sure to provide a way for the boat to get off the pressure plates when neither input is set. See my attempt for an example: i.imgur.com/NHWXnv4.png
@@flirora ah, good point. I overlooked that!
well, memory can be made with NAND gates, so why not try water memory next?
I like your idea, but the first problem I am feeling is how do you loop the output back on top to make a RS nor latch.
@@rishavgoel3827 hm... Good thought. I'll look into figuring out a way.
@@rishavgoel3827 Im guessing we are restricted to doing it with water?Cause there are many ways with vertical redstone,walls updatee etc.
Water wont ever forget
What we did in the pool
Water wont ever forget
What we did in the pool
There's a glitch where when boat fall onto a thin layer of water they glitch through the block below them, that's probably what happened at the end of the video.
Also this is a really cool system.
Ya, isn’t this also often just used to just travel through the ground? If I remember correctly, ground has to be 1 layer thick, so adding a block underneath should fix it
@@aryanmaggon1406 yea that should do it... can't wait to try this "waterstone" (maybe optimize some of those gates)
You managed to perfectly encapsulate the feeling of programming when something doesn't work, you go to find the problem of said thing, but come back to see that it fixed itself. Somehow. Inexplicably.
that boat glitch was probably just caused by a high energy particle zooming through your circuit. i would suggest to encase the circuit in iron blocks to reduce the chances of that happening
you can totally make a "printer" for your outputs with lava, which propagates down as the results are calculated, leading to them to make cobblestone on each '1' haha
That's like burning the result to a disk
Haven’t seen the full video yet but commenting for the algorithm. Really hyped to see what happens!
🙏
if in spectator mode you can use the scroll wheel to change how fast you move - could help with racing between each lever for each bit
Despite me being a software deveoper by trade, with 20+ years of experience and a computer science degree, it still *always* amazes me how simple "intelligence" is. If you just have three things -- (a) anything with two states, (b) a way to switch the thing's state, and (c) a way to tell if at least one of two things has a certain state -- you can build up all logic, math, computation, and ultimately intelligence (in the form of AI). Complexity in the universe always turns out to be just an emergent property of relatively simple principles, and that's the closest to spirituality I've ever come/felt.
My adhd brain is happy. Also, the boat glitch at the end really tied this all together.
this video is peaceful, relaxing, and teaching, this is amazing truly love it
The boat glitching through the block could be that it was on a too thin sheet of water, which makes boats clip into the block below them which then cannot hold the boat up anymore, so it falls onto the block below or into the void if there is no block below.
during my past 2 vacations last year and this year i have been working on a full on water based 8 bit computer (since such a project in a void world is perfect for my laptop which absolutely doesnt handle generating and loading minecraft worlds well). It uses armor stands instead of boats since i find them to be a lot more reliable and pistons instead of trapdoors but otherwise its basically the same idea. It isnt fully complete yet, i will probably continue on it during my next vacation. so far it already has the following systems:
* 8 bit adder that is significantly more compact and faster than the one in this video with a subtract mode and flags for an even output, an output of 0 and overflow
* 16 bytes of RAM with an adress system that can read and write every bit individually and also a way to reset the entire system to zero in one go
* an 8 bit hexadecimal output using two 7 segment displays (also made of water) with a binary decoder and a ROM system that stores how every digit looks
* a way to send signals upwards by using the pressure plate signal to push a piece of soul sand in a bubble colum that then lifts an armor stand from its pressure plate at the top
The only things i still need to make are a program memory ROM system and a control system (which is the hardest part of any computer to be honest, so im probably far from done). I would like to show you some of what i already have, though youtube usually doesnt like links in comments, so do you have a way i can contact you to show my machine?
Also, this type of minecraft "redstone" should totally be called "wetstone"🤣(like how slimeblock machines are often called "slimestone")
That's super cool, I commend the effort! You can find me on Discord if you're in Craftymasterman or mattbatwings' server (I plan to set one up of my own in the future when I get the time). Also "wetstone" is brilliant, I like that lol
@@jazziiRed i tried to dm you on discord but it doesnt let me since you have it set to only allow friends or something
Cool. The NAND-only logic could be further simplified using bubble-pushing, but it's quite functional and the output is very stable.
Bubble pushing?
@@jazziiRed When you draw logic diagrams, inverted inputs and outputs are drawn as circles (bubbles). You can move the bubbles along a wire, you can use De Morgan to convert between AND and OR gates, and pairs of bubbles on the same wire cancel out. Using those 3 rules to simplify logic diagrams is basically just moving circles around. I am not sure if "bubble pushing" is actually a common term for it.
You can also do the same simplifications with boolean algebra instead using the same rules. (All you need is A&B=~(~A|~B), and ~~A=A.)
love the bit of quantum mechanics when the boats jumps the circuit leaving it stuck on, quantum entanglement is fun
The NOT gate could have been made quite a bit easier by just using the NAND gate with one water input constantly on. That way, if the other input has water in it, it would push the boat to the middle. If it turned off it would push it back toward the input, away from the pressure plate. That would save 2 in height and quite a bit in visual complexity
Interesting coincidence: the first set of gates visually resemble their respective ANSI symbols.
this is the most satisfying, peaceful, laughing faces adder system that I've ever seen.
Since you seem to be using worldedit already, you could selected the whole area and have done:
//replace lime_glass stone
//replace orange_glass lime_glass
//replace replace stone orange_glass
But a Copy-Paste-Timelapse works, too! :P
Keep up the good content! I like these logic challenges!
The color of the glass wasn't the problem. I mixed up the actual gates themselves.
Playing Mc for like 10 years and then doing a mechatronik job training the last three years and now im seeing this, im very happy.
boat glitch = cosmic ray bit flip
23:29 There is, indeed, a whole lot of movement...
Ya, Minecraft boats are so weird. Mojang fixed a lot of bugs with them just moving through blocks for no reason... but I guess they didn't fix all of them.
Give a whole new meaning to the phrase “ripple carry”
To prevent you running here and there after setting the bits, you could also implement an "enable" Input signal! That would also add the satisfaction!
23:34 MC-96198 happened, I did a dupilcate bug report by mistake since when it happened to me when I placed a boat in specific depths of water (MC-257568)
hey you could also make a binary to decimal display with water, I think that'd be pretty cool
not sure if it's realistically possible but worth a shot
This was quite satisfying
This is amazing, I never expected something this elegant to be possible in this game! Really enjoyable video to watch as well^^
You know what, it may be "useless" as a proper redstone device but it could be very cool to make some puzzle maps integrating it in a mountain
23:49 me at any social gathering with more than 0 people
beautiful visualization!
I don‘t think you‘ll see this as the video is quite old, but towards the end you mentioned that the boat was „floating above the pressure plate“
Based off of that I would think that one of the corners of the boat got pushed into the waterlogged trapdoor by the flowing water.
In Minecraft, as long as your boat is less than 1 block deep in water it will try to jump up to surface so that‘s likely to be the thing which happened to you.
Have a lovely day!
Not sure if you've seen it but @PeterJiangTW made a full decimal adder + display video this past year with just boats/water/pressure plates/gates. Great follow-along explanations 👌
Hey Chris, love your vids! Yeah, someone made me aware of that video in the comments of my last video. Really impressive stuff. Glad you enjoyed the vid!
They are indeed very elegant. I adapted his designs to 1.18 as well and hope to share the video soon.
That is a really cool desgin 👍
okay this water calculator would make a really cool design for like a gardens of babylon.
I literally just finished watching that previous video and im so happy 👏
This is so extremely cool
I think you could make AND gate just by changing NAND gate the way that instead water flowing from the front direction of trapdoor you will have water flowing from the down direction of trapdoor
This is so cool! I am currently trying to build logic gates only made from water (no boats etc.).
Also do you have a Discord server?
ur my fav youtuber atm, love your creative interesting vids, also im theres a bug where a bot phases through blocks when placed on one pixel high water but it doesn’t look like that could apply here so idk what happened lol
Thank you, that really means a lot! I appreciate the support
Super cool
You should make a panel to input your numbers at the same place you want to see the circuit.
Great job on the circuit!
Hi, love this content
You could implement NOT with a similar design as NAND but with one of the inputs permanently set to 1.
Now if you can find a way to propagate a signal *upwards* you can then actually build a water computer. How do boats interact with soul sand bubble elevators?
you can prevent the boats from falling again by adding something to bring it back up if it were to fall down
You could have color coded the two inputs in different colors, and have the input source be where you can see the full operation happen (ie. from where you stand). Overall, cool beans.
I love this
bro is the new ethoslab
Wonder if you could do 7-bit arithmetic by using the water levels to represent values
ngl just gonna wait till someone does a minecraft computer with doom on it without redstone /hj
How do you make water flow upwards? For example we want to loop the water from a logic gate's output back into its input. Also makes it more compact. By the way water elevators won't really do the job here so yeah.
Nice vid
Jazzi, you know how people have made logic circuits out of Dominoes?
Maybe you can do the same with those dominoe-type of things people do with sand stacked on torches. Shout me out if you try it!
Yeah, I referenced Matt Parker's video in my last one 👍
For the love of god THANK YOU❤ for not making me stress out, your voice just saved my pc
IT FINALLY MAKES SENSE!
I think there is actually a flaw in your OR gate. That is: if both inputs are turned on at the same time it just... won't work, i think
Pushing Minecraft to its Limits I Love It 😍
+1 great vid
Inb4 he gets invited to hermitcraft
Can you make logic with command blocks? I mean there is execute command with if statement
Thank you, I know understand fundamental binary logic and "but why Hexadecimal, tho?"!
That boat just unalived itself 😭 You should let your boats free roam, they weren’t evolved to be raised in captivity…
build a computer with this this is epic!
Funny description.
And the next logical step is CCA made with water
why didnt you just like do the or gate as just you know, connecting 2 water streams into one so that water goes thru the bottom if either has water ???
The Alg. works like that. LOL
soul sand would allow you to bring the armor stand back up right
blessed by the algorithm again
You could have used redstone to create a "remote" to the settings.
Is this what they call Bluestone
i'm impresssed
now steal his idea even harder by doing it in real life
Will this work with lava? Next, do logic with mobs (:
I don't think so, because of the boats. Although maybe you could replace those with something else? It's already really slow though, so using lava would take forever.
I thought about lava too, and it it's easy to invert a 1 to a 0 with just water, but the other way around is harder.
Since lava only flows four blocks then it will be much more challenging.
However, if someone pulls it off it would be such an epic night video
the problem is, you should put something in the boats. Or they will be deleted after 3 hour.
Minecraft + Maths 😮
Man shut up and take my Sub ❤
Thank you for muting the words "Hey Google", its a small thing, but it kinda hinders ability to watch the video when my alarm clock is yelling random numbers at me.
Carrie Bit? Never met her.
Wait WHAT
Yeah
yo like jazz? XD
How to invert the gates output: make the water flow from bellow the trapdoor istead of the front
(mind blowing I know ☺)
Wuuuu
11+5 is dead, long live 0+0
i wonder if it runs DOOM
woah im early i thought this video was old its 2 hours old
Water gates ended with segmentation fault 😅
wouldnt it be better if you used items and ice below the water instead of boats?
Items despawn in vanilla
Try to do with air… maybe it is possible
Or furnaces
Hi
>>> views incoming
Just copy and paste a bunch of doors into a build of a computer hook them up replace the screen of a computer with a bunch of red blue and yellow lanterns from a mod I know you have a computer yeah it runs on three FPS playing Minecraft in Minecraft