How is a comparator made? Universal guide for redstone: Advanced level. Interactions with short pulses

[Ratings: 0 Average: 0]

This guide is the second in a row and is designed to improve your knowledge of building circuits and mechanisms using redstone.

You will get acquainted with the principle of operation of the comparator and learn how the redstone interacts with different blocks. I am sure that after reading you will have even fewer questions and you will be able to implement all the mechanisms that you have long thought of yourself.

Blocks conductive signal

In the image above, you can see a lever that is not directly connected to the redstone and a lamp that is also not connected to the conductor - but the lamp will still turn on when the lever is activated. This is because the signal passes through the blocks that block its path.

  • Redstone has two types of signal: strong and weak.
  • The red dust has a weak signal, while the repeater, red torch and y have a strong signal.
  • If the block is powered by a strong signal, all the red dust that is placed around it will also be powered.
  • If the block is powered by a weak signal, for example, with the help of red dust, which is connected and supplies it with a signal, then it will not work to power another conductor from this block.
  • For example, if you signaled a block with redstone, you can feed it to a repeater on the other side, but not other redstone. The same thing works if you make a repeater as the source of signal transmission, and use red dust to continue it on the other side.


Solid blocks and half blocks

There are two types of blocks in Minecraft when it comes to redstone - solid blocks and half blocks. The screenshot shows most of the half-blocks that are on this moment is in the game.

  • Solid blocks can conduct a signal, while half blocks cannot.
  • If the redstone goes one block lower or higher, then the solid block will terminate the signal, while the half block will allow the signal to continue its path.

Placement of redstone on half blocks


Most half-blocks cannot be placed redstone, the exceptions are:

  1. Placement of redstone and repeaters on slabs, steps and hopper.
  2. Placing a redstone on a glowing stone.
  3. Placing a red torch on a block of glass and a fence.
  4. These half-blocks will still not conduct the signal through themselves.


About comparators in Minecraft

The comparator is one of the more advanced blocks for building redstone circuits. Appearance it resembles a repeater, but its functions are slightly different. For the comparator, the strength of the incoming signal is important and it has two modes of operation that are switched by the PCM.

  • Comparator mode (Standard) - compares the signals coming to it. Let the comparator receive signal A and signal B, if signal A is stronger, then the signal strength at the output of the comparator will be equal to A. If the strength A = 12, and the strength B = 9, then the output signal will be 12. If the signals A and B are equal, then preference is still given to A.
  • Subtraction mode - the comparator will calculate force A-B and give the output. That is, if A = 12, and B = 9, then the signal strength at the output of the comparator will be 12-9=3.
  • If B is stronger than A, then the output will be 0 in both modes.
  • The comparator has two sides to receive signal A and B. If both sides B receive a signal, then the stronger one is taken into account.
  • The comparator can be used to check the contents of containers. If there is a chest, dispenser, etc. on side A, then the signal strength at the output will depend on how many things are in this container. This will not work with End Chest and Minecart Chest.
  • Can also be used to determine which record is in the music box - each record will return a different signal strength.
    Here is a table that shows how many things are needed in different containers for a certain signal strength.

Timings

Timings in redstone are measured in ticks — one tick = 0.1 second.

  • Changing the state of the red torch from on to off and vice versa takes one tick.
  • The repeater transmits a signal every tick, in its standard mode. Changing modes allows you to transmit a signal after 2, 3 or 4 ticks.
  • The comparator also delays the signal by one tick.
  • When the piston changes its state and moves the block, this block will instantly stop transmitting the signal at its original position and only after 2 ticks will it start transmitting the signal at the new location.

Interactions with short pulses

When it comes to short bursts, redstone can be a little unpredictable. Here is some information that may help you with them.

  • Torches ignore single tick pulses. To enable or disable it, you need to provide a delay of two ticks.
  • If a 1 tick pulse hits a repeater with a 3 tick mode, then the output delay will be 3 ticks.
  • If a sticky piston receives an impulse for 1 tick, then it will trigger and remain in that position.

When a player needs to compare and process two signals received from a red stone, a device such as a comparator will come in handy. Its main task is to show the user how full the container is. This block for circuits in its design has two inputs. One is located in front, the second behind. Both signals A and B, respectively, have a different degree of power and are switched by the buttons located on the mouse. Simply put, if the container is empty, then the signal analysis will show zero at the output, if not, it will calculate the container fullness according to a special formula. This takes into account - signal strength data, the number of items located in the slot, the number of these slots and the height of their full rack.

comparator ingredients

The comparator is made like this:
- We make red torches, the amount of 3 pieces. Since almost every player has them, we will not dwell on the manufacturing recipe.
- Block of quartz (1 piece). We go down to the Lower World with a pickaxe and extract quartz ore. Then we smelt the ore with coal in the furnace, and we get a block of quartz.
- Cobblestone (3 units). If you do not have cobblestones, you can get a stone in a simple way- by mixing a bucket of lava and a bucket of water in a generator to make cobblestones.

Manufacturing process

We open the workbench. We lay out the extracted materials in its grid. We lay out the bottom row with cobblestones. Then, in the second row in the first cell we place a torch, in the second - quartz, in the third again a torch. In the first row above the quartz we put the remaining torch. As a result - a ready-made comparator.

Along with the massive Redstone Update, a new block has been added to Minecraft called the Comparator. From this article it will be possible to find out what it is, how to make a comparator in Minecraft and where it can be applied.

What is a comparator

Before we learn how to make a comparator in Minecraft, let's figure out what it is. The comparator is a special circuit consisting of stone, redstone and quartz, which can be mined in hell. This mechanism is needed in order to distribute the redstone signals arriving at its incoming ports.

With it, you can create traps, secret passages and vaults, as well as many other interesting schemes using redstone.

It has two entrances. It is conditionally necessary to designate them A and B. A is the one that is behind, and B is the one that is on the side. If a redstone signal is simultaneously applied to both inputs, then it is B that will be considered the strongest and level the signal A.

The comparator has two modes: the default mode compares both signals. Signal A will be passed through the comparator further along the redstone chain only if A is greater than or equal to B. If the situation is reversed, then no signal will come out of the comparator.

In the activated mode - when the comparator torch is lit - the signals are compared with each other, and at the output their difference enters the circuit. For example, if signal A is 14 and signal B is 7, then the output will be a signal corresponding to 7 blocks.

How to make a comparator?

Learning how to make a comparator in Minecraft is quite simple. You need to refer to this diagram:

The lower part of the field for work 3 by 3 blocks should be filled with burnt stone, a piece of quartz should be placed in the center, and in blocks two, four and six (you need to imagine the layout of old phones), redstone torches should be placed.

As you can see, crafting a comparator is not the most wasteful activity, and remembering its scheme, so that later you don’t have to remember how to craft a comparator in Minecraft, is very simple.

By the way, the answer to the question “how to make a comparator in Minecraft 1.8?” does not differ in any way from what will be specified for version 1.5, for example. The developers are not going to change the crafting recipe yet and it remains stable.

Where can you use a comparator?

These are the items:


By the way, you need to take into account that the repeater and the comparator are completely different mechanisms with a different principle of operation. The comparator, unlike the repeater, does not amplify the signal. This should be taken into account when thinking about the question “How to make a redstone comparator in Minecraft?” Perhaps this mechanism is not needed?

Since many beginners have a lot of questions related to mechanisms, I decided to make a guide that will help noobs and beginners. In this little redstone guide I will explain to you how to use Repeaters and Comparators.

We'll start with comparators. The comparator has two signal receivers, A and B. Signal A comes from the back of the comparator and signal B comes from the side of the comparator. The comparator compares two signals and outputs the strongest one. An interesting feature of the comparator is that the signal passes through it only in one direction, that is, the signal cannot be sent back.

Also, the comparator can find out how many items are in the chest or furnace. If there are a lot of objects, then the comparator sends a signal, and if it is not enough, then it will be inactive. In order for the comparator to give a good signal from the chest, there must be at least 8 stacks of items. If you use a furnace, you can get by with one stack of items. With the help of comparators, you can create very complex and exciting redstone puzzles.

Now let's talk about repeaters. Well, with this mechanism it will be much easier. The repeater simply amplifies the weak signal. For example, in the last update 0.13.X there were no repeaters, because of this, the signal passed only up to 15 blocks. But thanks to the repeater, the signal can be amplified. You can run a redstone chain over a very long distance and are not afraid that the signal will end immediately after 15 blocks. Just place repeaters on this circuit and then the signal will be strong and will be enough for a long distance.

That's all! In this guide, we have analyzed how two mechanisms work, a repeater and a comparator.
I think that you liked this guide and helped you understand how these mechanisms work.