Minecraft How To Make A Combination Lock, Tutorials/Combination Locks

A different approach to an order sensitive combination lock (or more accurately a permutation lock) with video and world download link.

Đang xem: Minecraft how to make a combination lock

*

Video link at bottom of post (world download in video's description) Sorry this post is excessively long, but I wanted to make sure I was thorough in my description. If you don't want to read the entire post than just watch the video, although their are a few things that I mention here but not in the video.

Read more: world of warcraft visual guide

So a few weeks ago I came up with a concept on how to make a permutation lock. If you don't know what a permutation is, it is essentially a combination in which the order you enter the numbers matters. I know these have been done before but as far as I know no body has ever done it like this before. How the tradition combination lock works in Minecraft is you have an array of buttons and each button sends a signal to a SR Latch, setting the latch. Also each latch (with the exception of the first one) cannot be flipped until the one before it is set. The result of this is that you have to press the buttons in the right order. Finally, every button also sends a signal to reset the SR Latches, if you press a wrong button. What lock uses completely different logic and may be slightly hard to explain (I'll try my best), so at the bottom of this post I will leave a link to a YouTube video I made discussing it (there is also a link to the world download in the description of that video). Lets say you walk into a room and see that there are 10 buttons numbered 0-9 and there is also a button labeled “enter” and “reset.” There are 3 numbers in this permutation. You press the button labeled 5. The first thing that happens is it sends a signal to a counting circuit that sends a signal to the first “slot” in the combination. The number is simultaneously converted into 4-bit binary (since 9 is your maximum number and is 4 digits long when converted to binary) after it is converted to binary it goes into the first “slot” that was opened by the counting circuit, causing the SR latches in that slot (4 in this case since it is 4 bit binary) to be set. In this case it would save 0101, which is 4 bit binary for 5. After this you press 0. This sends a single to the counting circuit, closing the first slot and opening the second slot. The number is then once again converted into 4 bit binary (in this case 0 converts to 0000) and is saved to the second slot. you then press 9 and the same process repeats but this time the number is saved to the third (and since there are 3 numbers in the permutation also the final) slot of SR gates. The outputs of all of these SR latches goes into a sort of extend and gate, so what ever the correct combination is determines if the output is inverted or not, and when the correct combination is entered, the entire line of redstone dust should not be powered. That line of dust then connects to a redstone torch, and now that the line from the SR latches is no longer powered, the only thing keeping that torch off is the enter button. when you press enter, it turns off a line of redstone feeding into the block that the previously mentioned torch is attached to, so if you have the correct combination entered, that block is no longer being powered, so the torch turns on. That torch then feeds into a Toggle flip flop which ten unlocks or locks whatever the lock is attached to (ie a door). Basically once the combination is entered, every time you press the enter button it toggles between locked and unlocked. When you press the “reset” button, it resets the counting circuit so none of the slots are selected and resets the SR latches so no combination is entered. There is also a reset button on the inside, and a button that goes strait into the t-flip flop so you can lock or unlock the door from the inside regardless of if the combination is entered or not. There are also a lot of optional things that you could do. For example you could have a 7-segment display that tells you what numbers you currently have entered. You could also have a counting circuit attached to the enter button that counts how many time you hit enter and if you hit it a certain number of times then it does something and if you get the correct combination or hit a reset button on the inside it resets (I made one that locks you out if you get 3 wrong answers until someone on the inside unlocks it which I called the override lock, but you could make it do other things such as lock you out for a predetermined amount of time or pour lava on you). You could also have a couple lights that indicate the status of the lock (see the video for a better idea of what I mean). You could also have multiple combination that do different things (one combination could open one door and a second or third one could open another door or do something completely different). Overall, even though it is currently bigger and resource heavy than other permutation lock designs, it has way more possible uses than any other design. As far as I know, nobody has ever made anything like this before, but if I am wrong please tell me. Also, if you think you can improve on the design, by all means do so, and I would appreciate if you posted a video or screenshot showing what you did to me.

Read more: wow how to reset a dungeon

My Video: https://www.youtube.com/watch?v=j-qaeoGYiy8 world download in description of video.

Leave a Comment