Hello to Darkness 344 here and in today’s video I’ll be doing a tutorial on this vertical shift register design that I did a Showcase of in the last video so just a quick reminder it’s um two-way tileable so well technically four wide but we have an output every Two blocks for the cells so these two blocks is a cell these two blocks uh RSL and these two blocks are so so we can have quite a high density of memory and of course um they’re very fast as well so what you first want to do is just Um block up like this or find find an area where you want it in and we’re going to be building um the the main part of the cell so the way the cell works I kind of explained it in the last video is um it’s made of two parts one part is The actual memory cell which is this repeater and we can use repeater locking like this um to actually store a value so for instance we’re storing a zero right now but if we input a one and toggle this then we are storing a one then the second part of the cell is a Comparator and this just lets us toggle the output so for instance if we put a repeater like this and if the comparator is on subtract mode we can um toggle the output so this is just the read part of the cell and this is the actual storage part of the cell so We’re going to want to first of all actually we want some redstone blocks or even barrels filled with items though I’d recommend redstone blocks and we’re going to place a comparator like this on subtract mode then a repeater on one tick into the comparator like that then we’re going to Place two blocks like this solid blocks and we’re going to have a comparator on subtract mode going into this one like this and the same thing over here so when we actually stack this these redstone blocks well the next cell across will be stacked one Higher like This so these redstone blocks would be here so you can if I put a comparator and repeated on you can see how this works these comparators can be powered by these wrestling blocks so now that we’ve done this we’re going to place two blocks like this and repeaters like that so we can Actually power these comparators from the side then we’re going to want to block like this Redstone Dust block up like this and a repeater like this and this will be our output then for our input we’re going to block up like this or some dust block up again and then we Can have a repeater over here as our input and the reason we do this is just to give us a bit of space so we can actually put the control logic in for these repeaters so actually I think this is actually a repeater and then this is The dust not the other way around I’ve made a mistake so now if we get some glass or slabs in Bedrock Edition you can use glass both ways so you can either have your control circuitry at the bottom or the top but if you’re in Java Edition since um Redstone only Travels one way up transparent blocks you must have your control circuitry at the bottom of the cells so then then we can just block up like this and have redstone dust on top like that so when we’re actually stacking this you actually want to block down Like this and and place a piece of Russia in there and that’s because when we stack it this Redstone Dust won’t always be stacked because it’s one block up so you need to include this for stacking then we’re going to do the same thing as we’ve done here on this side So like this and actually go one down like this and we have our Redstone here so um for instance we can power this and as you can see it goes into this comparator and the same is for this side as well so if we get rid of these then we can Actually stack this and I’m going to show you it by hand first then I’ll show you it um using World edits or command blocks for instance so to do this by hand the the next cell will just be one up so for instance if we get our redstone blocks out again We can go like this and all we have to do is build this exact same cell just one block higher on this side and as you can see it’s fairly simple to do just like this and all we’re doing is building this one but one Higher and then for the other Side we do the same thing so just one Higher on this side too so for instance these would be the comparators and as you can see It’ll be it’s just um almost like a diagonal design so um it just alternating up and down because after this then the next cell You build would be just one lower like this and then you’d have your comparatus like this of course so there we go as you can see it’s the alternating up down design however and and just building a cell on top is fairly simple all you have to do Is have the resting blocks from earlier of course and you can just build directly on top like this follow the exact same pattern like this for instance then we have our repeater which joins up to this oops oops Bridge like that on both sides and of course we have A block across like this and there we go that’s basically how we build a second so so these are our inputs and these are our outputs and this is the right to the cell control logic and this is the read um read from the cell control logic So of course then we can place repeaters here so for instance let’s actually just test this cell so if I take out some lamps um we can input some numbers here and if I place lamps here we can get the outputs over here then of course we’ll Need some levers here and here for the control logic so if I put in the number one zero into it um I forgot to actually include the restroom blocks we actually need to block up like this so on your yeah make sure these are all on subtract Mode this comparators so on your last cell in the row these comparators won’t actually have any blocks because you haven’t stacked anything there you will need to place redstone blocks or barrels with items in so they actually activate or else they won’t work so there we go so if we write the number One zero into the memory we can just do it like this as you can see we have a one here and if we just remove this and we have a zero here then we can read it just back to hitting this line just like that we can write different Numbers in so we want to write the number zero one we can write it and then we can also read it and of course if we change what the data is it will still save the data of course and we can read it as many times as we want So now on to the actual stacking parts so for instance if you have um world edits or command blocks or even structure blocks so as we see we’ve we’ve built this so far where we have these are some blocks of course and we actually have these additional blocks Underneath just to have the Redstone because if we actually select the blocks for stacking so we’re going to want to select from this corner to preferably this corner over here so there we have the boundary box I’m using a behavior pack by a size silicon for the world edit I’ll try and include It in the description so we select these like that and we can break this block as well as you can see these glass blocks are not included in the in the selection and these redstone blocks on top because they’re an actual block on top I see um they’re not included either so to Actually include these Redstone we have to have a block below so the piece of wrist and dust can go on top like that so now that we’ve got this um to stack we’re gonna look in the direction we want it to stack and we type um stack like this with the semicolon And then we can just hit enter if you just want one of them or if we want multiple of them you can type in the number of cells you want so I want eight cells and then we minus one because we already have one cell built So there we go and that’s eight cells just like that so now we actually want to be able to stack it in this direction now and the way we can do this is if we just select the bottom one again so we still have this box selected and we’re going To select the top one over here like this we’re going to only stack it one and I’ll show you why so stack one like this and now we have this right so but you can see the problem because these comparators all of these cells actually Meant to be one down however what we can do is just move these cells up or down by one so if we just go to the bottom or the top and look in the direction we want to move you can just type move and then one And there we go so let’s just remove this block as well and that just shifts them up or down by one block so now you can see these cells are actually getting the redstone blocks that they require so there we go now if we select the Whole thing now so from this corner down here to um this one up here so we get the whole thing like this now we can say say I want eight cells so this is one cell and this is another cell so we have two cells here so I want Eight we’re going to type stack three because we already have one cell or two cells even and there we go now we have eight cells so one two three four five six seven and eight so now I’m just going to type deselect to deselect the boundary box And now it comes to the now we have to actually hook up all the cells so the way we’re going to do this is kind of complex but we can use glass blocks to do this to make it a bit simpler so if we go across like this right with redstone we As you can see when we do the next row we’re gonna be cutting this line from going down here off so what we can instead do is replace each block where we’re going to be cutting with a glass block instead actually that one’s going to be fine so like this So now on the top one when we have that line across so like this of course we’re going to replace all these ones with glass blocks it means the Redstone can actually go down by one block however since there’s a solid block on top it can’t go up to The next row so it basically only allows one way as you can see it comes from this repeat over here and goes down to this row over here but it can’t go up to the next row so instead of building all of this we can of course stack it again And we can just select this corner and um this one over here and we’re just going to write stack seven and there we go so now that we have this um we’re going to want to do the same thing for the inputs so if I just um Go across like this with of course the glass blocks we’re basically building the exact same thing just this side instead just like this camera soon across like that and then we can of course select these again I I could have alternatively just copied it from this side but this is Just going to be easier stack seven and there we go so now if I deselect we have inputs on one side outputs on the other side and we have our control logic so I might have mentioned this earlier but on Bedrock edition if we say power This line it goes all the way down how through the solid blocks and you can of course also power it this side as well and it will travel upwards through this Tower however on Java Edition it only works up so if you’re making control Logic on Java it will have to be At the bottom but if you’re on Bedrock you can of course make it at the top I’m only going to make it at the top because it’s just a bit simpler so what you do for your control logic is you just um you pretty much um use a Decoder and so you’d input a binary address and you could decode it to a whatever cell it is for now I’m not going to bother with any of that because there’s so many examples online and I’m sure it shouldn’t be too too hard to make I’m just going to use solid blocks Like this so I can actually power the cells from here so if we just um actually I want that block so I’m just going to place a soda block um refer these Redstone are I might need to add some dust back in like this oops interesting and then I’m going to Add levers like this so this is our right control for each cell so this say you take cell zero for instance this lever will I mean will allow cell zero to right oh and just one more thing um to add to the cells to make them fully work on this cell where the Comparators are like this direction you also need to add redstone blocks like this or else the comparators won’t get powered and the cell will not function so if you want yeah if you didn’t have them powered it just wouldn’t work properly it just um as you can see It’ll just um if if we say power this bus it doesn’t matter what the control logic does it will just output whatever’s on the bus and that’s just um a bit annoying we don’t want that to happen so I must add these redstone blocks and that’s the same for all these top Ones because they don’t actually have redstone blocks we have to add redstone blocks on these as well like that so these repeaters lock so now that we’ve done this I’m just going to add these levers for the right as well so let me just add like this and once I’ve done this Then we can actually test the memory cells so um let’s add some inputs as well so one two four eight sixteen thirty two sixty four and 128. and then of course we’ll add some levers as well so since this is the inputs um if you want to add repeaters so you Have a lot of cells make sure to do it in between the two cells or if you do it say here this cell won’t get powered so you have to do it in between like this so preferably one block before a glass block or one block after one of The glass blocks and then it should work fine and the same thing goes on the other side for the right so we’re just going to take lamps like this and these will be our actual data out so let’s just put some random data in for the first cell we’re just going to Put a random number in like this so we’ll save that to this cell then let’s change the number to something else and we’ll save that to the next cell then let’s just change it again and I’ll save that to the next so I’m not going to try all the cells but you Can and then of course we can get the data out just like this as you can see it was the data we put in and of course you can you can get the data out as many times as you want and in any order so yeah that’s the cells They have they’re very fast and they have quite a fairly decent density if you want more dense you can of course use comparator cells with barrels and items and stuff but for just random access memory this is fairly fast and fairly compact as well but yeah um I Hope you like this tutorial please like And subscribe and I’m not thank you Video Information
This video, titled ‘Vertical RAM Tutorial – Minecraft Bedrock/java’, was uploaded by TheDarkness344 on 2023-03-01 16:17:16. It has garnered 6245 views and 211 likes. The duration of the video is 00:17:46 or 1066 seconds.
In this video I show how to build my vertical RAM design.
World Download: https://www.mediafire.com/file/kdionnz98384ol9
World edit (bedrock edition) I use: https://github.com/SIsilicon/WorldEdit-BE/releases Please like and subscribe!
outro: https://www.youtube.com/watch?v=qDrzzbBFHvI Recording Software: obs studio Texture: AX344 Redstone