X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 19 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 115,124 times.
Learn more...
Do you want to protect your home against trespassing guests? Or do you just want to have some fun? Whichever it is, you'll definitely enjoy this article. Redstone is a very fun, and powerful object in the game of Minecraft. It can be used to do many things, ranging from opening doors, to making elevators. This article, however, will demonstrate using redstone to make a combination lock out of levers.
Steps
-
1Set up the first parts of the lock. This will be a door (iron or wood), a button to submit the combination, and two signs. The button is to send a circuit that checks if the door is able to be unlocked. The door is the main source of protection. And lastly, the signs are to tell you and your guests what to do.
- Be aware that when an activating device (whether it be a button or lever) is beside a door, it will open it. So be sure to keep the entry button at least one block away from the door. If you don't, when your guests push the entry button, the door will open just by the button itself. Now you definitely don't want that!
-
2Choose how many digits/levers the code will consist of. Place the levers in one block intervals as you have done with the button.Advertisement
-
3Place redstone torches directly on the back of the blocks that are holding the levers. This will create the code. Do not place redstone torches on all of them as this will mess-up the circuit. Levers with redstone torches on them are required to be in the "Down" position and surrounding levers must be in the "Up" position for the door to be able to be unlocked. As an example, assume you have chosen levers "2" and "3" as the "Down" levers.
-
4Place an "Authenticator" somewhere in the middle of the circuit. The "Authenticator" should have every lever connected to it in any way possible. Remember, don't connect the entry button to it! The "Authenticator" should have a redstone torch on one side. This is how this works:
- When all levers are switched in a position so that all the redstone wires connected to the "Authenticator" are off or not glowing, it will allow the redstone torch connected to the side of the "Authenticator" to send an active signal to something called an "AND-gate" which will be explained in the next step. At this step, you have to remove the signs on the inner part of the circuit that, at this point, are superfluous to the combination lock. You needn't worry about this.
-
5Create an AND-gate, now that the "Authenticator" is all set up. Basically, what an "AND-gate" does is it allows two signals connected to it to shut off two redstone torches. This will turn on the third torch which sends the signal to open the door. To create an "AND-gate":
- Place three blocks vertically facing the main line of the levers
- Place two redstone torches on each side, kind of like an ant's antennae.
- Place one redstone wire in the middle of these torches.
- place another redstone torch on the other side, on the middle block. This one will send the unlocking signal to the door.
-
6Connect the wires to the "AND-gate. There will be three wires that should be connected to the "AND-gate". The following three steps are very important and mandatory for proper function of your combination lock. If you have any troubles with this part, check the image to the right.
- The wire from the "Authenticator" should be connected to a part of the "AND-gate".
- The wire connecting the entry button should be connected to a part of the "AND-gate".
- Don't forget to use the third redstone torch on the "AND-gate" (the one on the middle block's side) to connect to the door, allowing it to open.
- You've completed this part. Awesome! You'll be pleased to know that the hardest work, is now over. This is a great time to enhance your "Entry line" (the one that will open your door) by adding some diodes/redstone repeaters that will slow down the circuit, thus, allowing you to enter faster.
-
7Test your lock, now that everything is done. Remember that the levers which have redstone torches on the back of them are to be "Down" whereas the others need to be "Up". When you're done, press the entry button and the door will open!
-
8Congratulations! You've done it. Now see what more you can do.
Advertisement
Community Q&A
-
QuestionHow do I close the door?Community AnswerThe entry switch needs to be a button, not a lever. You will probably need some red stone repeaters after the "AND" gate to make the door stay open long enough for you to get inside. To get out you will just need a button on the wall next to the door, or a pressure plate.
-
QuestionWhat is an Authenticator in Minecraft?Community AnswerAs far as I can tell, it can be any block.
-
QuestionHow do I set the passcode?Community AnswerYou can set a passcode by, putting a redstone torch behind some of the levers.
Advertisement
Warnings
- Try to keep any mobs/entities away as they may disturb you.⧼thumbs_response⧽
- If anything is done wrong, even one small thing, your lock can be faulty.⧼thumbs_response⧽
- This lock should not be your only defence, though, as people can break through it and into your house!⧼thumbs_response⧽
Advertisement
Things You'll Need
- About 64X redstone wire.
- About 12 levers (depends on your desire of the code)
- 64 blocks at most.
- 1 button.
- About 16 redstone torches.
- A door, trapdoor, or other.
- Glass panes for extra decoration.
- Any other block(s) for extra decoration.
About This Article
Advertisement