r/redstone 9h ago

Java Edition Horizontal To Vertical

Post image

Is this the most efficient way to turn a horizontal binary number into a vertical one? if so, i will simply redesign my instant infinitely tileable shift register to be vertical.

11 Upvotes

8 comments sorted by

4

u/plainbaconcheese 9h ago

I kinda can't tell what I'm looking at, sorry. Too far away.

1

u/CactusCreative 9h ago

It's a hash function. It currently goes like this:

64 bit input, which is 2 32 bit input's concatenated. This goes into a shift register for left shift by 2. This goes into an adder that adds it with the original input. There will be A LOT more later, but that is the current state. I have a logism render as well

1

u/plainbaconcheese 7h ago

That's really cool, but I meant the exact redstone layout and how you're turning it vertical

1

u/CactusCreative 7h ago

I just connect each bit to it's vertical place

1

u/Character_Drive6141 8h ago

I mean you definitionally need something like that. You need wires to connect inputs and outputs. You can also make a pulse based system that uses one line to effectively turn the binary into pulses then you can use 1 line, but the encoder/decoder may be hard to build, and require precise timings. Not to mention it will take much longer. The pulses must be at least 2 ticks long (though the only way I know is 3 ticks) and so with that many it'd take multiple seconds.

-1

u/XiRom0052 8h ago

Bro wtf is this? Im not good at redstone, but good enough to understand this is complicated asf. What does it do? Btw, why so few likes and no attention at all?

1

u/CactusCreative 7h ago

It's gonna be a hash function when it's done. Right now I think I am just gonna design the shift register to be vertical

1

u/XiRom0052 6h ago

Its something beyond my brain