Two small corrections: At 13:41, this circuit is not quite a 4-to-1 mux. I forgot to OR the 4 outputs together into 1 output at the end. This has been fixed in the world download. At 14:34, this is called a 1-to-4 demux, not 4-to-1. Guess I rushed the mux section, sorry about that lol. Hope you enjoyed regardless!
Thanks for making suchs nice and easy-to-follow-and-understand videos i play bedrock but somehow i decided to watch this serie anyways and this will deffinely help me with my computerscience with which i will start next year (I am 15)
Hey Matt, I love this series its really helping me to dive into the world of redstone as a long time minecrafter! I have a question about the magnetude comparator, as for me if I attempt to compare the values 1 and 0, for example, the output is correct but the lamps on the input light up in such a way to show that I am comparing 1 and 1. While it is purely aesthetic I was wondering if there exists some simple fix to this problem?
Also, the magnitude comparitor's output can be expressed in two bits. It can be -1 (interpreted as meaning "less", i.e., AB). There's even a fourth possible bit state that _in principle_ could be used to indicate an error, although in practice this is not often done, because the logic needed to detect an error condition (e.g., you attempted to compare a number to a string) is much higher-level and generally only occurs in fairly advanced software that uses a larger and more elaborate data structure for everything (e.g., VHLL compilers and interpreters). I can't imagine trying to implement anything like that in redstone.
This is super cool and helps reinforce my CS background. Btw the incrementer circuit you made that doesn't really do any math is basically a look-up table
Hello Matt! I Just want to say: Thank you! Because of your LRR series, I got inspired and now I am working on a calculator! It's a very simple design, but it's my first large redstone project. I've the addition circuit, subtraction, multiplier, Binary to BCD, and a 4 bit screen! Now everything I need is to put everything together and add an UI. Again, thank you very much! :)
Update: I have put everything together, and it's working just fine! It has addition, subtraction and multiplication! Sadly, my screen design only accepts up to 8 bits(255), i'm working on a 12 bit screen(4096) with is way more acceptable, but it's way harder than I tought 😅
I’ve been messing around with making conways game of life… that magnitude comparison circuit is so much cleaner and faster than the monstrosity I came up with, thank you so much!
this comment actually made me think about it. I am technically apart of next generation redstoners. these videos are why I started doing redstone. wow.
actually wait that's a lie. the first LRR got me into it. I waited for the second but just started watching the LR and I finished it. it's a trend for me. Watch LRR. Watch more redstone while waiting for next LRR. do more redstone while waiting.
Especially since he's remaking this series. I remember watching the old one a year ago, it was good and well made, but the new one is much much better and I can see he's taken a lot of time to make this.
I really liked the original series, but damn it's so incredibly cool now. feels like Sebastian Lague, where I don't understand a lot of it but you make me feel like I understand
@@beri4138 A pure function is a function where you always know what the output will be if you know the input. A pure function doesn't remember previous inputs or outputs. Exactly like combinational circuits in this video.
Yooo sick! I misread the title as Combinatorial and was expecting something along the lines of a Cartesian product but was pleasantly surprised. Great video!
It is also called "combinatorial logic" with the exact same meaning (I was actually unfamiliar with it being called combinational logic before I stumbled across this video). The word "combinatorial" probably doesn't mean what you think it means (I think you are thinking specifically of what is often referred to as "combinatorial explosion"). But alternatively a lot of math words are used pretty diversely and incompatibly with other established uses depending on the exact context.
I just recently found this series and it's been really helpful when it comes to learning redstone's computer science aspects! I love how you're concise and able to talk about them in basic terms, thank you and keep it up!
i am using magnitude comparator rn to create brazilian checkers. am from Philippines but I'll create the Brazilian variation because that's what I'm used to. This is a big help for me because I want to be an engineer in the future. Thank you mattbat!
absolutely awesome stuff matt, from one cs/eeng guy to another this is rly gonna help a lot of young ppl enter a genuinely exciting academic space in such a natural and fun way. big ups
This is so cool. I made a magnitude comparator by accident when building my blackjack machine. It was slightly different. I basically just subtracted B from A and modified the subtractor to read for 0 or a negative number, then used an nor gate just like here. I love when I’m able to figure these things out on my own. I learn so much from what you teach but it opens a door for me to learn so much more. Thanks for your videos, you’ve vamped up my redstone game drastically. Only problem is I used to build machines that were just small enough that I could build them on SMPs but now I’m making machines so big I’ll never have the time nor the energy to collect the resources and build them in survival 😅 Edit: I typed this out right before you mentioned I can do it exactly how I said.
You really brought me back to my electronics engineering class in high school, I’ve been thinking about mux/demux calibrated sculk communication lines, but couldn’t figure out how to make them work in Minecraft
Another encoder design by a german youtuber uses a field of observers with more observers below them, facing the other ones and underneeth theres a field of redstone dust. Finally, it uses repeaters locking mechanism for the output, e.g. a 7 segment display. The advantage is that it runs on only one wire and u can also make a mechanism to power multiple 7 segment displays with only that one wire
Using the encoder and decoder tutorials, I made a redstone thing that can encode the whole alphabet and numbers 1-5 using a 5-bit encoder and figured out how to decode it in the same thing. It's really cool.
If you weren't already planning on it, It would be awesome if you went over program counting at some point in this series or in a seperare video. I can't find or come up with a campact sync program counter that has a jump and clear function...
For the horizontal to horizontal decoder, you don't need to put the blocks above the repeaters at all. Removing them eliminates any need to give a 2 wide gap
Btw. the +1 "Brute Force" Circuit is basically a lookup table. You can also create LUTs with multiplexers, this is even more efficient and allows you to save at least 1 bit so you would only need a 7 bit mux, thats still 128 bits, but its reduced by half. The trick is to use the Least Significant Bit as an input for the Mux. There are only 4 Combinations: 0 X !X or 1 so with 1 inverter you can multiplex your +1 with only 7 bit muxes.
Hi matt Just like @mattheus1331, i am getting inspired because of your lrr series But unlike him, i still didnt start working on a calculator or something like that But im already planning! THX A LOT I AM A HUGE FAN
I like the vertical decoder but, in my opinion, the decoder you showed in the old series is better, I use it because it's horizontal to horizontal and it's without the redstone going on top of the repeaters, instead it has the slab under the repeater
Can you make a multicore processor? you could make one processor runn when the other doesn't so you can use ram to its full potential. Also the screen can be maped to ram so you can update the screen by switching one switch that would overwrite the screen with what is in ram at that point.
I have a challenge for you, remember, the 3-D render you made eight months ago? Your challenge is to increase the screen resolution, and maybe even attempt to increase the frames!
well, i got inspired to go ahead and do a 7-segment decoder to display decimal digits and used your "best design" but after having set it all up, 9 inputs, 7 outputs, i realized that glass towers can't handle more than 7 lines - the signal got too weak ! now am wondering how to insert a repeater in that design to handle the "last 2" input lines.
I made something that takes one byte and two bits and outputs the byte to the first output, second output, both, or neither, depending on what bits were enabled, I tried to find a more efficient way of doing it but couldn't find anything since idk if it exists and if it does, idk what it's called, it was just more compact than using two switches, this wasn't in minecraft, since doing it in minecraft would probably be just as compact either way
Random thought: Is there a mod that shows redstone information such as block power? Like, some kind of overlay that will show block with redstone on top with some kind of mark or colour, and the blocks around it as being soft powered. The blocks diagonally and 2 blocks below it should be marked as bud powered. It would also be useful if we could see a value on a container so we can see the value a comparator would give if we were to attach one. It would also allow us to see the output it would give when the comparator is behind a wall. I was also imagining an option to see if a block is hard powered (repeater runs into a block) or soft powered (redstone runs into a block)
@@johnchen9289 The Redstone Tweaks resource pack seems very useful. Thanks for the recommendation! Litematica wouldn't help me spot problems while building something, but it does indeed help to see the changes through walls while testing a contraption
Decoder: If the select matches, that output is on. Multiplexer: Select determines which input is copied to the output. A demux is similar to a decoder where the input is always on.
ok so question on the brute force lookup table thing; is it faster? i.e if you have an adder that has to carry and all that it seems like theres more steps but if you can just do a lookup it's like it's cached in the topology of the structure?
I'm new to this channel and as someone who likes computers , programming and stuff like that ,you are great, electronic devices get smaller and smaller every year , what if you could make something with a mod that makes blocks tiny???
quick question: how do you have it (on a decoder) where you inout a 4 digit combonation and it outputs lets say, 16 lines of data? im asking this because i am working on a cpu at the moment and I am trying to make a CU to decode the PROM.
So I just wanted to ask, where do you find all the redstone circuits for your special needs? Is there a website or something else? I often find myself in a situation where I know what I need but I don't know how to implement it so I try searching for it online and rarely I find something but most of the time I fail.
You can use decoder + OR on a bunch of its outputs to act as a "2-layer programmable matrix". This (and the option to ignore an input in any combination by placing neither torch nor repeater) lets us make any logic gate, *including* optimized ones. Gates like these are usually optimized via Karnaugh or Quine-McKluskey methods. Sometimes they're less compact than bool-logic optimized gates, but their propagation time is constant, no matter the function. My only wish is to make decoders' slices to be tightly tileable. Is it possible to do using rails? Tried it myself but found it to be a *lot* of fruitless hassle.
I have a problem to say: The Priority encoder works great, but when you select the last lamp, the previous 2 lamps also turned on for some reason(I kept a 1 block gap between the blocks , so it cannot be Quasi connectivity). When I was searching for the reason why this happened and realized that it was caused due to the block-glass bridge sending the power to the wrong place. Can you fix it? PS: If the fixed version is in the world download, then plz tell me.
I can’t make the magnitude comparator. It would be a huge help if you could make a link to a tutorial because from the pic alone I can’t tell what goes where