Hello, and thanks for viewing my first instructable! I will show you how to make a passcode door in minecraft or minecraft PE.
Đang xem: How to lock a door in minecraft command
You will need to gather some materials. If you”re having trouble reading the signs, they say: 15 frame blocks, 6 blocks to place the levers on, 6 levers, 3 signs, redstone (the amount depends), redstone repeater (optional), and redstone torch (also depends), 1 iron door, and 7 of any block (dirt or stone is probably best).
For this step, all you have to do is make the frame for the door. Use the picture as a guide if you are confused.
Go out four blocks on the side and then place a block above and below the fourth one. It should look like the picture. (You may have a different frame block)
This step is as simple as placing the blocks you chose to place the levers on, and then placing the levers on them. I used wood, which I think looks pretty good to place the levers on.
For this step, go to the back and place 6 of your 7 any blocks just like this. you should still be able to see the blocks the levers are placed on.
This step is a little tricky. Place redstone torches ONLY on the back of the blocks you want to be the passcode. Example: I have redstone torches on the back of 3 and 6 in the picture, which means to open the door, I need to pull down the levers labeled 3 and 6. You”ll see this in the picture for the last step.
Read more: how to hide chat in wow
This step is also a little tricky. Place redstone on every block on top of and below the 6 any blocks. You can”t place redstone where there are redstone torches, but every other block must have redstone. If you”re still confused, imagine this. You placed 6 blocks on the back. You should have placed the redstone torches on the back of the blocks that are connected to the levers you want to be the passcode. Now imagine you can only place redstone above and below the 6 any blocks. Place redstone on every block you can. This means try placing 6 on top of the any blocks. You might be able to have 6 if your redstone torches are on the bottom. Do the same thing to the bottom.
In this step, dig a hole leading to 2 blocks below where your door will be. Use the picture for reference. If you dig a longer hole, you may need a redstone repeater.
This step is also a little tricky. Place a block with a redstone torch on it. The redstone torch should be directly below where your door will be.
In this step, make a trail of redstone leading to the block with the redstone torch on it. You may need a repeater.
In this step, all you have to do is place a frame block above the redstone torch and place the iron door on it.
Read more: wow classic hinterlands elite quests
To finish, test your door by putting in the code. If it doesn”t work, make sure the redstone torches are in the right place.
if you are in survival then an elder guardian nearby with obsidian covering everything will make it indestructible even with the fastest pickaxe, if you are in creative use bedrock
Cover it up like a house. make sure to not let the blocks touch any redstone or else it will cut the circuit
first thank you it worked! second i was wondering if there”s away to have a button to shut the door without flipping the switches back up? bc i wanted to use this method to lock my house door but once i unlock and go inside i cant just shut the door, i have to switch the code off again
i did it. it works on xbox 360 too. i had a lot of fun using it 2 troll by putting a sand trap in the room behind the door an a lava pit under the sand trap. >:)