Redstone circuits

1. What is redstone?

Redstone is an abbreviation for redstone dust obtained from redstone ore (redstoneore can be found deep underground and requires an iron ore pick). Pen & Fun & Pavilion www.biquge.info

2. What is a redstone circuit?

Redstone powder can be applied to the surface of some blocks to form a connected network system that can be used to transmit redstone energy. By connecting the redstone network to the redstone torch and various switches, we can make complex logic systems. We call this a redstone circuit.

3. What is the use of redstone circuits?

Redstone circuits can be used as a control system for certain special items (gates, commutable tracks, water lava flows, bow and arrow launchers, music boxes, etc.).

There are a few points worth highlighting:

(1) The control of the door can be on the ground or at the top of the door

(2) The flow of water and magma is one-time and irreversible

(3) Due to the existence of the redstone torch, the redstone circuit can be made into various display devices (entertainment flashing lamps, LED digital display tubes, large image displays, etc.) in the game.

(4) The controllable music box and redstone circuit can be used as all kinds of audio equipment.

【Basic Components and Operating Principles of Redstone Circuit】

The redstone network is passive and shows a dark red color and cannot fire any devices.

Redstone Torch (Uncontrolled)

Connecting the Torch directly to the Redstone network will act as an energy provider to continuously activate the entire directly connected Redstone Network. The activated network is now bright red.

Note: Redstone lines that are one block next to each other can be automatically connected with a 1 block height difference, and if the height difference is too large, or if there are obstructive blocks, the connection will be broken.

Redstone Torch (Controllable)

Place a redstone torch on top of a block, and when a network of redstone is poured energy into the bottom of the block, the torch above the block will go out.

【Redstone Circuit Promotion--Logic Circuit Basics】

In redstone circuits, there is no concept of voltage and current, only activated and unactivated logic switching states, indicating that redstone circuits are pure logic circuits. To be proficient in using redstone circuits, you need to have some knowledge of logic operations. If you want to study in depth, you need to find some books on Boolean algebra.

ps: Anyway, the author and I also know how to make a non-door, or something like a non-door, or a hidden staircase or something, and the high-end point will not be lower.

There are only two kinds of values of variables in logic operations: 0 and 1, and the corresponding logic circuits are only related to and on two states. In a redstone circuit, we might as well define the signal in an inactive redstone circuit as "0" and the signal in an activated circuit as "1", and then we can easily compare the logic arithmetic table with the logic circuit components.

Note: It is best not to look at the light and off of the redstone torch to define the indication criteria for the logic signal. As we'll see later in the article, doing so can lead to a reversal of logic.

The most basic logical operations are: "or", "not", and "and".

The operation of "or" is expressed as: a or b = a + b = c This can be colloquially understood as the addition of two variables ab, when either value is "1" and the other value is "0", the value of c is "1". When both values are "0", naturally the value of c is also "0". In particular, when both ab values are "1", c also has a value of "1" (because there is no value greater than "1" in the logical operation). In summary, the value of the result is "0" only when all the variables involved in the "or" operation are "0", and in other cases, the result value is "1".

The expression of the "not" operation is to add a horizontal bar to the head of a (I can't play it here, forgive me), and not a = c. The "not" operation is the inversion of the variable value, C is "1" when A is "0", and C is "0" when A is "1".

The "and" operation is expressed as: a and b = a, b = c can be popularly understood as the multiplication of ab, only when ab is "1", the value of c is "1", otherwise the value of c is "0".

In logic circuits, there are also three basic gates: "OR gates", "NOT gates", and "AND gates" correspond to the above three logic operations.

[AND Door] [OR Door] [NOT Gate] [XOR Gate] [OR NOT Gate], these circuits can be understood, so that we have the ability to carry forward the redstone circuit, and before again, as long as we can make a double door or something like that, or an automatic flow harvester. It's too high-end to hurt, and I can't afford to hurt.

ps: The above is transferred from the Internet [Redstone Circuits - From Beginner to Mastery]

In addition, due to the characteristics of the redstone circuit, naturally, it can also produce a high-frequency pulse signal, and it can also realize timing signals and delay signals, which are high-end domineering things.