How to make a door lock in Minecraft. Code lock in MineCraft. Door with combination lock. Making a simple castle

The implementation of such an intention will be a very painstaking task and will require a certain amount of resources based on red stone. This will certainly be redstone dust, which plays the role of wires in any mechanical device, as well as red torches. In addition to them, repeaters (repeaters) can also be used - depending on which particular lock model is selected.

If a gamer prefers the least expensive way to protect his home, a door lock with a code without numbers will suit him. A certain combination of levers will open the entrance to a home (or, for example, to a room with the most valuable things). Which one is up to the player to choose. However, it is better that at least five or six of them are involved in total - this will make it more difficult for outsiders to pick up the code.

On the wall of the house next to the door you need to install the desired number of levers, press those that will open the door, and reverse side Place red torches opposite them. Opposite those mechanisms that turn out to be unused in the combination, it is necessary to place any solid blocks. However, the secret is to install them not directly at the level of inactive levers, but one cube below. A path of redstone dust should be drawn across this block system.

A couple of blocks from this structure, you should mount a lamp, and next to it, on the back side of the wall, place a pair of blocks perpendicular to that one, and stick a red torch on the top of them (at the level of the lamp). The light will serve as an indicator that the correct combination has been dialed.

Now you should cover the entire rear of the mechanism with another wall of very strong blocks (ideally obsidian or even bedrock) so that another player does not have the opportunity to spy on the entered code. After this, you need to lead a redstone path from the mechanism to the door and also disguise it with something.

Complex door lock

However, it is important to understand: the chances of breaking into the home will depend on the degree of complexity of the locking device. Therefore, it is better not to save on resources and create a more intricate design.

To begin with, you need to install nine buttons on a vertical wall at intervals in one block. They will correspond to the same order as the numbers on the combination lock in real life(top row - 7-9, middle - 4-6, bottom - 1-3). By the way, you can put a sign there, providing it with an inscription explaining everything that was said above.

On the back side of the wall opposite each button you need to place red torches, from each of which you will then need to draw electrical circuits from redstone and bring them to one line. In each of these wires you will probably need to use at least one repeater. Its delay is set to exactly how many similar devices were involved in each specific circuit.

The next step is choosing a code that will open the door. This can be any three digits. In accordance with the order in which they will be pressed, you should select the delay of the repeaters going to them. For the first of the dialed digits it should be set to three, for the second to two, for the third to one. This is necessary for the locking mechanism to work.

It is imperative to install an inverter (NOT valve) in the common circuit so that the signal is sent to the door only if the correct combination is entered. Next, the wire should go to any memory cell (even the simplest one will do - for example, from blocks in the shape of the letter G with two buttons and red torches), and from there it must be divided into two branches. The first will go to the door, the second to the floor button, which allows you to open the locking mechanism after entering the code.

Now you need to bring the signal so that it goes straight to the input, but does not reach a special solid block that plays the role of a purifier. But the latter must be connected directly to the opening button - so that after the player enters the room, the combination he dialed does not hold the door open, and it can be locked again.

The opening mechanism is very simple. Here there is simply a wire from the redstone to the red torch, which plays the role of a lock. In order for the above circuit to work, repeaters must, of course, be periodically inserted into it. If the gamer does everything correctly, he will have a very reliable code locking device.

is a technical device that allows you to open door with combination lock. The device is very difficult to understand for a beginner, and even more so for crafting; I'll try to explain with my example how to do it combination lock in minecraft.

Even if this doesn't clear up the whole picture for you, through trial and error you will learn how to make combination locks in Minecraft. I will show how to make a combination lock in minecraft using the example of a 9-digit lock, and knowing the technology and manufacturing technology, you can already apply this knowledge to anything. If you don't already have latest version games, you can download Minecraft for free from the link.

So, the essence of the whole process is depicted in the screenshot:

But the small catch is that only the ruler of the crystal owl or the winner of the “The Smartest” program can understand all this, without chewing. If you are one of them, you may not read the guide any further. For everyone else, let's start with the explanation.

On the screenshots you can see the castle from the inside. On our wall we have 9 buttons depicted, and on top there is a sign indicating which number belongs to which button.

Castle room

Plate with buttons

There are doors on the left and right. Each door opens with its own specific code. The doors will not open by any other means as they are connected to a redstone chain.

The above door

Now the technical part. If you are doing it for the first time, it is better to repeat everything exactly as I did. The main thing is for the first time that everything works.

So, we make ourselves the same wall, place 9 buttons on it as in the screenshots above. On the back side of the wall (opposite the same blocks where we have the buttons) we place 9 red torches.

Torches opposite the buttons

From each torch we draw a line of redstone, then we close all 9 lines into one.



The signs on top are the numbering of repeaters from the circuits coming from the torches. It is advisable to number them so as not to get confused, and you will also use them to set the delay for the buttons.


After that, we set the code for the lock and the delay for pressing so that you have time to dial the code. So on the first door I put the code 951, and on the second 472.

We set the delay through repeaters: set 3 to the first pressed buttons (9 and 4), set 2 to the second pressed buttons (5 and 7), set 1 to the last ones (1 and 2).

Next, we install the inventory. It works to ensure that the signal is received only when the correct code is entered. Afterwards, we route the circuit from the repeater to the memory cell. There are 2 chains from cell: the first to the door, the second to the button on the floor. Here's the screen:

Arrange the repeaters the same or approximately the same

Next, we calculate how to lay out the lines so that the signal goes to the door and does not reach the memory clearing block. And from the button we transmit a signal to the purifier block. The point is that when the correct code is entered, the door opens, and to close it you need to clear the memory, that is, press the button.

Well, the final touch. From the button there is a cord made of redstone to a torch made of redstone, which serves as an opener and closer of the door.

The same torch

The same button, only a top view with the built-up floor.

That's all. After branching the signals, we build the chain to the second door in the same way. It doesn’t matter whether you did it the same way or differently. This is just one of the infinity of possible options, the main thing is to understand the essence of the issue. If you did something differently, write your versions in the comments.

Minecraft has a great variety of devices that make crafting life easier, make the game more interesting, but also tax our brains in the process of creating them. You need to delve into the technical nuances, keep them in your head, and finally make some kind of mechanism. If you're tired of this, you can rest a little! Clock ben ten 10 game is a great way to help you take your mind off it!

One of these devices that twists our convolutions into a spiral is a combination door lock. So that you don’t run away in panic, we will immediately say that we have found a fairly simple solution to this mechanism, and we promise: no spirals, steering wheels or other intellectual perversions.

But look what you can sometimes come across when searching for a sane answer to the popular question of how to make a combination lock in the game Minecraft. We are asked to study logic gates and understand all these circuits. Just look at the pictures. That is, in order to code the doors, we are offered to become Wassermans and Lobachevskys! Yes, intelligence training is all, of course, useful, but if your plans do not include losing many hours in an attempt to protect the passage somewhere, you need to change your plans for mastering castles. Simplify! We will help.

We will show the process of creating a protective device on demonstration blocks and doors. You can build after us, or you can transfer all this to your buildings. Let's assume that you are in favor of the first option. You need to make a similar design.

Making a simple castle

  • Build a wall from several blocks. Leave a passage prepared for the iron door.

  • Stepping back one block from the door, install five leverage. They are together with torches and make it possible to code a lock in Minecraft using combinations of on and off levers. The indentation here is not for beauty, its purpose is to prevent opening doors after turning on the first switch. And without indentation it is inevitable.

  • On the back side of the wall, opposite the levers, place red torches. Note the brick blocks. They are here just for beauty. Or more precisely, so that you understand which switches to turn on. The bricks are located above the levers that make up the intended combination. Naturally, in real conditions in Minecraft you don’t need to do this, otherwise it will give the uninvited guest an idea. But for now you train as you wish. Of course, in the field you can give yourself a hint like this, just disguise it.

Hi all! In this article we will teach you how to make a programmable castle in Minecraft!

So, let's move directly to the full description:

In the screenshot you can see what our castle looks like. These are 9 buttons located on nine blocks, when you enter one code, one door will open, when you enter another, the second one will open. Each button represents a number, just like they are located on a regular watch face. Another advantage of the construction is that the door cannot be opened by an external source, that is, if you place a torch or pressure plate in front of the door, they will not work, for the reason that the door is already connected to the redstone circuit.

Screenshots and brief description:

Briefly about the construction:

To begin with, you will need to place nine buttons on one side of nine blocks, and 9 redstone torches on the other. You will need to draw chains from the torches and bring them to one adjacent line. If you are not placing them in order, it would be wise to number the chains. Most likely, you will have to use a number of (so-called) repeaters in the chain, their number is written on the plates above, this is necessary so that you can set the same delay for each button.

However, please note that on each line, you will need to set the delay depending on how many repeaters were used in the circuit. Accordingly, where you have two repeaters, you put the lever in the second position, and where there are three, leave it in the first.

Next, you will need to choose a code for the lock. Since I was using two doors at once, I chose two codes. These are "951" and "472". So that the opener has time to hold down the buttons, we set the delay through the repeaters accordingly - three for “9” and “4”, two for “5” and “7” and one for “1” and “2”.

After this, we install an inverter so that the signal is received only when the user enters the correct code. We take the circuit from the repeater to the simplest memory cell, and from it there are two wires - one to the door, and the second to the button on the floor. More details in the screenshot below.

Please note that how the repeaters are positioned is a largely decisive factor.

Now you need to design the circuit so that the signal coming from the cell goes to the door, but does not reach the purifier, which we have is the block labeled green. On the other hand, the signal from the button must reach him, so that when a person opens the door, he can walk through, press the button, clear the cell’s memory and let the door close.

The opening system is quite simple. The redstone simply goes from the button to the torch, which in turn opens/closes the door.



Solitaire