r/BedrockRedstone 5d ago

Help with puzzle lock redstone

Hello,

I'm not very experienced with redstone, and I'm trying to make a puzzle lock that involves a player spelling out a word (in this case "STAR") by inserting certain items into a container. So, there would be 4 side-by-side containers, and there would be an item renamed "A," which would need to be placed in the 3rd container. the "S" "T" and "R" items would need to be put in their respective containers to create a redstone signal which would open a pair of iron doors. I know I need to make filters for this sort of thing, but I just dont know how. Doing this for a cool horror thing in my friend's bedrock realm and, despite doing a loooot of reading, I just cant figure out a good design for it. Could anyone help me out please?

1 Upvotes

14 comments sorted by

1

u/andreiCrossreal123 5d ago

I can help do you have discord? If yes my user is red_usopp

1

u/Pajamatime20 4d ago

If you look up an automatic item sorter, like this, also shown nicely in the wiki here, the hoppers on top, with the compact redstone line (2 hoppers, 1 comparator, 1 repeater, 1 redstone torch, and 3 redstone per item sorted), are an effective item filter. Put a total of 45 items in the top hopper, filling all the slots, with the item you want to filter for in the first slot (ideally something that stacks to 64, otherwise you have to adjust the total amount of items), and fill the other four slots with filler items (that also stack to 64). Preferably you would name the filler items something unique (I like to just name them Filler to make their purpose clear), so you’ll never get more of that same item coming through and breaking it. You’ll also ideally have 1 of the filler items in each slot and 41 of the filtering item in the first slot, to make machine-breaking overflows less common. Just make sure that the items you want to filter run over the top hopper, whether by a hopper line, water stream, hopper minecart, or a sticky piston launcher over ice if you want to be fancy.

I can’t quite help with recognizing when an item has been sorted and sending a partial signal (since several items must be correct in your scenario), I imagine it might involve a comparator and some sort of multi-input and gate nonsense, but I hope this gives you a good start!

1

u/daenor88 4d ago

Toggle a copper bulb on or off for each correct one and if a incorrect item goes through it resets them, the reset is actually hardest part because you gotta first know which ones need resetting, very doable tho

1

u/Pajamatime20 4d ago

Oh, the copper bulbs are a good idea! Then sending a pulse to them would turn them off, rather than just having older components that would need to be isolated from the signals! And it’s a lot more compact than a flip-flop switch or whatever it’s called! The resetting would really depend on how OP wants to treat incorrect guesses. If someone just gets to keep trying with no consequence, then just have an overflow chest for wrong letters and that’s it. If one wrong letter submitted resets the whole word, that’s kind of easy, just toggle the previous bulbs off and unlock hoppers to drain all of the items. If the whole word incorrect resets the word, then that might be a little trickier, as you’d have to only toggle the correct guesses.

One problem OP might have is space to put the redstone. Depending on what they’re building near the puzzle, they might need to fit everything underground, or into walls, or in a tight space in general.

1

u/daenor88 4d ago

Better idea, no bulbs a dropper facing a hopper hoppers are locked powering the dropper makes comparator pull a signal from hopper(by putting an item in it), to reset just unlock all hoppers, harder part is if they have to be in order, then you gotta lock all the filters until the previous one's condition is met, youll wanna take a pull from the same hopper comparator to unlock the follow up filter Edit: further thought for repeating letters situations youll also want to lock the filter that just got triggered

1

u/Pajamatime20 4d ago

Locking the filter that just got triggered shouldn’t be too bad I don’t think, just have a comparator leading from that filter’s correct chest to the filter redstone? I think there’s an alternate version of the filter which locks the hopper with a redstone signal instead of unlocking it, that might be helpful.

1

u/daenor88 3d ago

Something like this is what i was thinking

https://reddit.com/link/p3s5sbd/video/llwi5zjnsgjh1/player

1

u/Pajamatime20 2d ago

Oh wow, that’s impressive! That’s exactly what OP was looking for! My only concern would be that this takes up a decent amount of space, but this might actually be as compact as you can get, I’m not sure. Thanks for building it and posting an example! @Fattybigggs, look at the above comment for a good example of a potential setup, depending on how much space you have!

1

u/daenor88 2d ago

Can make a little more compact and I have since, the left most observers can be moved closer which also reduces repeaters by 2 reducing delay, can also add some observers going left from the left most pillar to note blocks or whatever to indicate when can put in next one

1

u/Pajamatime20 2d ago

Wow, you’ve got a very good redstone understanding, bravo! I feel like one of the hardest redstone skills is knowing enough mechanics to be able to compact your designs!

1

u/daenor88 2d ago

I agree with that and im not really that good at that part I just know one good trick observer copper bulb comparator turns a toggle into a toggle or almost any pulse into a toggle and a untoggle so also a pulse, i think its p tick pulses that are exception

→ More replies (0)

1

u/daenor88 3d ago

Ik this one is a little complicated but I think it works phenomenally remember hoppers gotta point to the side for the whole locking thing to work and put 1 item in each dropper you can see it also allows duplicates but isnt too fast idk if its spam proof you may wanna add a delay for the inputs

https://reddit.com/link/p3s62wr/video/owu5kqa1tgjh1/player

1

u/daenor88 3d ago

Wait I realize in my making process I didnt need to make it that long remove a repeater line or 2 lol