Redstone circuit


Info

A redstone circuit is a structure that activates or controls mechanisms.

Circuits are designed to act in response to player The Player Health points 20 () Armor points Varies Attack strength Fist: 1 () Items: Varies Size Height: 1.8 Blocks Width: 0.6 Blocks While sneaking: Height: 1.65 Blocks Width: 0.6 Blocks While gliding: Height: 0.6 minecraft activation or to operate autonomously⃢₀ₔeither on a loop, or in response to non-player activity such as mob movement, item drops, plant growth, etc. The mechanisms controlled by redstone circuits range from simple devices such as automatic doors and light switches, to complex devices such as elevators, automatic farms, or even in-game computers. Understanding how to build and use redstone circuits and the mechanisms they can control greatly increases the range of what is possible in Minecraft.

The subject of redstone structures is huge (and almost a sub-game in and of itself!) ⃢₀ₔ this article provides only an overview of the many different types of redstone circuits that can be built. For full details and examples of these redstone circuits, see the main articles for each topic.

Redstone basics

Before describing the blocks used to build redstone circuits, or the types of circuits that can be built, an understanding of some basic concepts is required.

Videos

Redstone components

A redstone component is a block that provides some purpose to a redstone circuit.

  • A power component provides power to all or part of a circuit ⃢₀ₔ e.g., redstone torch, button, lever, redstone block, etc.
  • A transmission component passes power from one part of the circuit to another ⃢₀ₔ e.g., redstone dust, redstone repeater, redstone comparator.
  • A mechanism component affects the environment (by moving, producing light, etc.) ⃢₀ₔ e.g., piston, redstone lamp, dispenser, etc.

Power

Redstone components and blocks may be powered or unpowered. Think of a "powered block" as a block that is electrified (but safe to touch). Some blocks will show their powered state visibly (for instance, redstone dust lights up, a piston extends, etc.), but other blocks may give no visual indication of their powered state other than their effect on other redstone components.

An opaque block (e.g., stone, sandstone, dirt or grass, etc.) powered by a power component, or by a repeater or comparator, is said to be strongly-powered (a different concept from power level). A strongly-powered block can power adjacent redstone dust (including dust on top of the block or dust beneath it).

An opaque block powered only by redstone dust (and no other components) is said to be weakly-powered because a block powered only by redstone dust will not power other redstone dust (but can still power other components or devices, for example repeaters).

No opaque block can directly power another opaque block⃢₀ₔthere must be dust or a device in between. A transparent block can`t be powered by anything. "Strong" vs. "weak" power applies only to opaque blocks, not to dust or other redstone components.

A powered block (strong or weak) can affect adjacent redstone components. Different redstone components react differently to powered blocks⃢₀ₔsee their individual descriptions Redstone components are the blocks used to build redstone structures. Redstone components include power components (such as redstone torchs, buttons, and pressure plates), transmission components (such as redstone dust and redstone repeaters), and mechanism components minecraft for details.

Power level

Power level (aka "signal strength") can vary from 0 to 15. Most power components provide power level 15, but a few provide a variable amount of power.

Redstone dust transmits power to adjacent redstone dust, but its strength decreases by 1 for each block of redstone dust traveled. Redstone dust can thus transmit power up to 15 blocks before needing to be maintained with a redstone comparator Redstone Comparator Transparency Yes Luminance No (7 when powered, in Pocket Edition) Blast resistance 0 Tool Any tool Renewable No Stackable Yes (64) Flammable No Drops Redstone Comparator (1) Data values See Data values Name minecraft or re-strengthened with a repeater. Power level only fades with dust-to-dust transmission, not between dust and a device or block.

Power level can also be adjusted directly with a redstone comparator in comparison or subtraction mode.

Redstone update














Two blocks by taxicab distance

When a change occurs somewhere in a redstone circuit, it can produce other changes in surrounding blocks in what is called a redstone update (not to be confused with Minecraft 1.5, known as the " Redstone Update See the releaseAnnounce of Minecraft 1.5, subtitled the "Redstone Update". For the game mechanic that propagates changes in redstone circuits, see Redstone circuit#Redstone update. First image for the Redstone Update released by minecraft "). Each of these changes can then produce other changes in their surrounding blocks. The update will propagate following the redstone circuit rules within loaded chunks (redstone updates will not propagate into unloaded chunks), usually very quickly.

A redstone update simply notifies other redstone components that a change has occurred nearby and gives them an opportunity to change their own state in response, but not all updates will necessarily require changes. For instance, if a redstone torch activates and updates the dust below it, the dust may already be powered from something else, in which case the dust won`t change state and the update propagation will stop there.

Redstone components can also be updated by any immediate neighbor block being placed, moved, or destroyed.

Solid blocks don`t "know" if they`re powered or not. Redstone updates simply update enough blocks around a redstone component to update other redstone components around the solid block (for instance, a pressure plate updates its neighbors and the neighbors of the block it`s attached to, which includes the space under that block which might be redstone dust).

In addition to redstone updates, comparators can be updated by containers (including detector rails with container minecarts on them) and certain other blocks, up to two blocks away horizontally when their state changes (for instance, when their inventory changes).

The following redstone components produce redstone updates up to two blocks away by taxicab distance, including up and down:









Neighbors of component and of attachment block

The following redstone components produce redstone updates in their immediate neighbors, including above and below, and in the immediate neighbors of the block they`re attached to:






Immediate neighbors

The following redstone components update only their immediate neighbors when they change their state, including above and below:

This is a XOR gate. It is a T-flip-flop with 2 inputs.

The Inverted Daylight Sensor is not obtainable.


  • Tripwire
    (can also activate tripwire hooks in valid tripwire circuit)

  • Piston
    and Sticky Piston (from both the piston base and the piston head when extended)

  • Powered Rail
    (flat only)

  • Rail
    (flat only)

The following redstone components do not produce block or redstone updates when they change their state (though any block will produce a block update in its immediate neighbors if moved or destroyed):

Redstone tick

A redstone tick is the moment when Minecraft updates redstone components. Redstone updates occur 10 times per second, so a redstone tick occurs every 0.1 seconds. Redstone torches, redstone repeaters, and mechanism components require one or more ticks to change state, so it can take a number of ticks for a signal to propagate through a complicated circuit.

Redstone ticks differ from "game ticks" (20 per second) and "block ticks" (block updates that occur at each game tick). When discussing redstone circuits, a "tick" is always a redstone tick, unless otherwise specified.

Signals and pulses

Circuits with a stable output are said to produce a signal ⃢₀ₔ an ON signal (also "high" or "1") if powered, or an OFF signal ("low", "0") if unpowered. When a signal changes from OFF to ON and then back again, that is described as a pulse (or ON pulse), while the opposite is described as an OFF pulse. ON pulses are far more common, and in casual discussion, "a signal" often refers to an ON pulse.

Very short pulses (1 or 2 ticks) can cause problems for some components or circuits because they have different update sequences to change states. For instance, a redstone torch or a comparator will not respond to a 1-tick pulse made by repeaters.

Activation

Activation of Mechanism Components ⃢₀ₔ Mechanism components can be activated by power components (for instance, redstone torches), powered blocks, redstone dust, repeaters, and comparators (not shown), but only if configured correctly.

Mechanism components (pistons, doors, redstone lamps, etc.) can be activated, which causes the mechanism component to do something (push a block, open the door, turn on, etc.).

All mechanism components are activated by:

  • an adjacent active power component, including above or below
Exceptions: a redstone torch will not activate a mechanism component it is attached to, and a piston is not activated by a power component directly in front of it
  • an adjacent powered opaque block (either strongly-powered or weakly-powered), including above or below
  • a powered redstone comparator Redstone Comparator Transparency Yes Luminance No (7 when powered, in Pocket Edition) Blast resistance 0 Tool Any tool Renewable No Stackable Yes (64) Flammable No Drops Redstone Comparator (1) Data values See Data values Name minecraft or redstone repeater facing the mechanism component
  • powered redstone dust configured to point at the mechanism component (or on top of it, for mechanism components that can support redstone dust, but not beneath it), or adjacent "directionless" redstone dust; a mechanism component is not activated by adjacent powered redstone dust that is not configured to point at it.
Activation by Quasi-Connectivity ⃢₀ₔ Pistons can also be activated by anything that activates the space above them. Note that the piston on the far left is not activated by quasi-connectivity because the redstone dust is running past the block above the piston, rather than directly into it, and thus would not power a mechanism there

Some mechanism components only perform an action when initially activated (command blocks execute a command, droppers and dispensers eject an item, note blocks play a sound) and won`t do anything again until deactivated and then activated again, while other mechanism components change their state when activated and don`t change back until the activation ends (redstone lamps stay on, doors/fence gates/trapdoors stay open, hoppers stay disabled, pistons stay extended, etc.).

Some mechanism components have additional ways of being activated:

  • dispensers Dispenser Type Block Requirements None Physics No Transparency No Luminance No Blast resistance 17.5 Hardness 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No First appearances See history Drops Dispenser (1) plus contents Block entity minecraft , droppers Dropper Type Solid Block Requirements ? Physics No Transparency No Luminance No Blast resistance 17.5 Hardness 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No First appearances See History Drops Dropper (1) plus contents Block minecraft , and pistons can also be activated if one of the methods above would activate a mechanism component in the block above the component, even if there is no mechanism component there (even if the block above the component is air Air Type Non-Solid Block Transparency Yes Luminance No Data value dec: 0 hex: 0 bin: 0 Name air Air is the block present in otherwise empty space. Contents 1 Obtaining 1.1 Natural generation 2 Usage 3 History 4 minecraft or a transparent block). This rule is often simplified to saying that the components can be powered by blocks diagonally above or two blocks above, but other methods of such activation exist (see image to the right). This method of activation is known as quasi-connectivity because the mechanism component`s activation is somewhat connected to the space above it.
  • doors occupy two spaces, one above the other, and anything that activates either space also activates the other.

Powered vs. activated

Powered vs. Activated ⃢₀ₔ The top lamp is both activated (the lamp is on) and powered (it can power the adjacent repeater), while the bottom lamp is activated but not powered.

For opaque mechanism components ( command blocks Command Block Type Block Entity Physics No Transparency No Luminance No Blast resistance 18,000,000 Hardness -1 Tool None Renewable No Stackable Yes (64) Flammable No First appearances See history Drops None Block entity id command_block minecraft , dispensers Dispenser Type Block Requirements None Physics No Transparency No Luminance No Blast resistance 17.5 Hardness 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No First appearances See history Drops Dispenser (1) plus contents Block entity minecraft , droppers Dropper Type Solid Block Requirements ? Physics No Transparency No Luminance No Blast resistance 17.5 Hardness 3.5 Tool Renewable Yes Stackable Yes (64) Flammable No First appearances See History Drops Dropper (1) plus contents Block minecraft , note blocks Note Block Type Solid Block Requirements None Physics No Transparency No Luminance No Blast resistance 4 Hardness 0.8 Tool Renewable Yes Stackable Yes (64) Flammable No, but catches fire from lava First appearances See History minecraft and redstone lamps), it is important to make a distinction between a mechanism component being activated and being powered (and this is the reason why mechanism components are described as activated instead of just saying they are powered).

  • A mechanism component is powered if it could power adjacent redstone dust, repeaters, or comparators.
  • A mechanism component is activated if it is doing something (or has done something and is waiting to be activated again).

Any method of powering a mechanism component (such as a redstone torch underneath it) will also activate it, but some activation methods (such as a redstone torch next to or above a mechanism component) won`t actually power the component (following the usual rules for power components).

Non-opaque mechanism components (doors, fence gates, hoppers, pistons, rails, trapdoors) can be activated (they can do things), but cannot be powered (in the sense that they can then power adjacent redstone dust, etc.).

Circuit vs. mechanism

These terms are sometimes used interchangeably to describe structures that incorporate redstone components, but a useful distinction can be made between the two:

  • A circuit performs operations on signals (generating, modifying, combining, etc.).
  • A mechanism manipulates the environment (moving blocks, opening doors, changing the light level, producing sound, etc.).

All mechanisms will necessarily incorporate redstone components or circuits, but a circuit by itself doesn`t have to have an effect on the environment (except possibly incidentally, such as a redstone torch changing its light level when changing its power state, or a piston moving a block to fulfill a role within the circuit). Making this distinction allows us to talk about circuits without having to define a specific in-game purpose for them, allowing players to find their own reasons to use them.

This article, and the other articles on redstone circuits, discuss only circuits that operate on signals. For articles about mechanisms, see the list of tutorials at the end of the article.

Size

The wiki describes circuit size (the volume of the rectangular solid it occupies) with the notation of shorter width ⃗ longer width ⃗ height, including support/floor blocks, but not including inputs/outputs.

Another method used for describing circuit size in the Minecraft community is to ignore non-redstone blocks simply used for support (for instance, blocks under redstone dust or repeaters). Be that as it may, this method is unable to distinguish between flat and 1-high circuits, as well as some other circuit differences.

Sometimes it is convenient to compare circuits simply by the area of their footprint (e.g., 3⃗4 for a circuit three block wide by four blocks long), or by a single dimension important in a particular context (e.g., length in a sequence of sub-circuits, height in a confined space, etc.).

Features

A number of featuresSpecial attraction may be considered desirable design goals:

1-High
A structure is 1-high (aka "1-tall") if its vertical dimension is one block high (meaning it cannot have any redstone components that require support blocks below them, such as redstone dust or repeaters). Also see flat.
1-Wide
A structure is 1-wide if at least one of its horizontal dimensions is one block wide.
Flat
A structure is flat if it generally can be laid out on the ground with no components above another (support blocks under redstone components are okay). Flat structures are often easier for beginners to understand and build, and fit nicely under floors or on top of roofs. Also see 1-high.
Flush
A structure is flush if it doesn`t extend beyond a flat wall, floor, or ceiling and can still provide utility to the other side, though redstone mechanisms may be visible in the wall. Flush is a desirable design goal for piston-extenders, piston doors, etc. Also see hipster and seamless.
Hipster
A structure is hipster if no redstone components are visible both before and after it completes its task (but it`s okay if some are visible during operation). Also see flush and seamless.
Instant
A structure is instant if its output responds immediately to its input (a circuit delay of 0 ticks).
Seamless
A structure is seamless if it is initially hidden behind a flat wall, floor, or ceiling and can still provide utility to the other side. Seamless is a desirable design goal for piston-extenders, piston doors, etc. Also see flush and hipster.
Silent
A structure is silent if it makes no noise (such as from piston movement, dispenser/dropper triggering when empty, etc.). Silent structures are desirable for traps, peaceful homes, and for reducing lag produced by sound.
Stackable
A structure is stackable if it can be placed directly next to other copies of itself, and they all can be controlled as a single unit. Also see tileable.
Tileable
A structure is tileable if it can be placed directly next to other copies of itself, and each copy can still be controlled independently. Also see stackable.
Structures might be described as "2-wide tileable" (tileable every two spaces in one dimension), or "2ℂₗ4 tileable" (tileable in two directions), etc. Some structures might be described as "alternating tileable", meaning they can be placed next to each other if every other one is flipped or a slightly different design.

Other design goals may include reducing the delay a sub-circuit adds to a larger circuit, reducing the use of resource-expensive components (redstone, nether quartz, etc.), and re-arranging or redesigning a circuit to make it as small as possible.

Circuit types

Although the number of ways to construct circuits is endless, certain patterns of construction occur over and over again. The following sections attempt to categorize the circuits that have proven useful to the Minecraft community, while the main articles describe the specific circuits that fall into those categories.

Some of these circuits might be used by themselves for simple control of mechanisms, but frequently you will need to combine them into more complex circuits to meet the needs of a mechanism.

Transmission circuit

Some aspects of signal transmission can be helpful to understand: transmission types, vertical transmission, repeaters, and diodes.

Vertical transmission
Transmitting signals upwards
Transmitting signals downwards
Examples of two-way vertical ladders in Pocket Edition
Although horizontal signal transmission is pretty straight-forward, vertical transmission involves options and trade-offs.
  • Redstone staircases: The simplest way to transmit signals vertically is by placing redstone dust on blocks diagonally upwards, either in a straight staircase of blocks, in a 2ℂₗ2 spiral of blocks, or in another similar variation. Redstone staircases can transmit signals both upwards and downwards, but can take up a lot of space and will require repeaters every 15 blocks.
  • Redstone ladders: Because glowstone, upside-down slabs and upside-down stairs can support redstone dust but don`t cut redstone dust, signals can be transmitted vertically (upwards only) by alternating these blocks in a 2ℂₗ1 "ladder". Redstone ladders take up less space than redstone staircases, but also require repeaters every 15 blocks. In Pocket Edition, hoppers and glass can be used create two-way vertical ladders that transmit signals both upwards and downwards.
  • Torch towers and torch ladders: A redstone torch can power a block above it, or redstone dust beneath it, allowing vertical transmission both upwards or downwards (different designs are required for each). Because it takes each torch a little time to change state, a torch tower can introduce some delay into a circuit, but no repeaters are necessary. Be that as it may, every torch inverts the redstone signal (i.e. changes it from powered to unpowered), so having an even number of torches is required.
Repeater
To "repeat" a signal means to boost it back up to full strength. The easiest way to do this is with a redstone repeater. Variations include:
  • Instant Repeater: Repeats a signal without the delay introduced by a redstone repeater.
  • Two-Way Repeater: Repeats a signal in both directions.
Diode
A "diode" is a one-way circuit that allows a signal to travel only in one direction. It is used to protect another circuit from the chance of a signal trying to enter through the output, which could incorrectly change the circuit`s state or interfere with its timing. It is also used in a compact circuit to keep one part of the circuit from interfering with another. Common choices for a diode include a redstone repeater or a height elevation to glowstone or an upside-down slab which won`t transmit a signal back downwards.
Many circuits are already one-way simply because their output comes from a block that can`t take input. For instance, you can`t push a signal back into a circuit through a redstone torch except through the block it`s attached to.

Logic circuit

It`s sometimes necessary to check signals against each other and only output a signal when the inputs meet some criteria. A circuit that performs this function is known as a logic gate (a "gate" that only allows signals through if the "logic" is satisfied).

Logic Gate Outputs
Shows the output (red) of each gate, for each combination of inputs A and B (green).
A ON ON off off Question Answered
B ON off ON off
NOT A off off ON ON Is A off?
A OR B ON ON ON off Is either input on?
A NOR B off off off ON Are both inputs off?
A AND B ON off off off Are both inputs on?
A NAND B off ON ON ON Is either input off?
A XOR B off ON ON off Are the inputs different?
A XNOR B ON off off ON Are the inputs the same?
A IMPLIES B ON off ON ON If A is on, is B also on?
See also: Tutorials/Basic Logic Gates
NOT Gate
A NOT Gate (aka "inverter") is on if its input is off.
OR Gate
An OR Gate is on if any of its inputs are on.
NOR Gate
A NOR Gate is on only if none of its inputs are on.
AND Gate
An AND Gate is on only if all of its inputs are on.
NAND Gate
A NAND Gate is on if any of its inputs are off.
XOR Gate
An XOR Gate is on if its inputs are different.
XNOR Gate
An XNOR Gate is on if its inputs are equal.
IMPLIES Gate
An IMPLIES Gate is on unless the first input is on and the second input is off.

Pulse circuit

Some circuits require specific pulses, other circuits use pulse duration as a way to convey information. Pulse circuits manage these requirements.

A circuit that is stable in one output state and unstable in the other is known as a monostable circuit. Many pulse circuits are monostable because their OFF state is stable, but their ON state will quickly (or eventually) revert to OFF.

Pulse Generator
A pulse generator produces a pulse of a specific duration.
Pulse Limiter
A pulse limiter (aka pulse shortener) reduces the duration of pulses that are too long.
Pulse Extender
A pulse extender (aka pulse sustainer, pulse lengthener) increases the duration of pulses that are too short.
Pulse Multiplier
A pulse multiplier outputs multiple pulses for every input pulse (it multiplies the number of pulses).
Pulse Divider
A pulse divider (aka pulse counter) only outputs a signal after a certain number of pulses have been detected through the input (the number of pulses is indicative of the number of loops).
Edge Detector
An edge detector reacts to either a signal changing from OFF to ON (a "rising edge" detector) or from ON to OFF (a "falling edge" detector), or both (a "dual edge" detector).
Pulse Length Detector
A pulse length detector reacts only to pulses in a certain range of durations (often only to pulses of one specific duration).

Clock circuit

A clock circuit is a pulse generator that produces a loop of specific pulses repeatedly. Some are designed to run forever, while others can be stopped and started.

A simple clock with only two states of equal duration is named for the duration of its ON state (e.g., for instance, a clock that alternates between a 5-tick ON state and a 5-tick OFF state is called a 5-clock) while others are usually named for their period (the time it takes for the clock to return to its original state; for instance, a "1-minute clock" might produce a 1-tick pulse every 60 seconds).

Observer Clocks

A repeating clock made with Observers and Pistons (an Observer looking at a piston)

Repeater clocks
A repeater clock consists of a loop of repeaters (usually either redstone repeaters or redstone torches) with occasional dust or blocks to draw off the appropriate pulses.
Hopper clocks
A hopper clock produces timed pulses by moving items around between hoppers and drawing signals off with redstone comparators.
Piston clocks
A piston clock produces a loop of pulses by passing a block back and forth (or around, with many pistons) and drawing off a pulse when the block is in a certain location.

Clocks can also be built using daylight sensors, minecarts, boats, water flow, item despawn, etc.

Memory circuit

Unlike a logic circuit whose state always reflects its current inputs, a memory circuit`s output depends not on the current state of its inputs, but on the history of its inputs. This allows a memory circuit to "remember" what state it should be in, until told to remember something else. There are five basic types of memory circuits. (A few circuits combine two different types.)

RS Latch
An RS latch has two inputs, one to set the output on and another to reset the output back to off. An RS latch built from NOR gates is known as an "RS NOR Latch", which is the oldest and most common memory circuit in Minecraft.
T Flip-Flop
A T flip-flop is used to toggle a signal (like a lever). It has one input, which toggles the output between on and off.
Gated D Latch
A Gated D Latch has a "data" input and a "clock" input. When the clock input turns on, it sets the output to equal its data input. Not to be confused with a D flip-flop, which only sets the output equal to its data input on a clock rising transition.
JK Latch
A JK latch has two inputs, one to set the output on and another to reset the output back to off (like an RS latch), but when both turn on simultaneously it toggles the output between on and off (like a T flip-flop).
Counter
Unlike T Flip-Flops and RS Latches, which can only hold two states (ON or OFF), a counter can be designed to hold a greater number of states.

Many other memory circuits are possible.

Miscellaneous circuits

These circuits aren`t generally needed for your typical project, but might find use in complex projects, proofs of concept, and thought experiments. Some examples:

Multiplexers and Relays
A multiplexer is an advanced form of logic gate that chooses which of two inputs to let through as output based on an additional input (for instance, if input A is ON then output input B, otherwise output input C). The reverse of this is a relay, which copies a data input to one of two outputs, depending on whether the additional input is ON or OFF.
Randomizers
A randomizer produces output signals unpredictably. Randomizers can be designed to produce a pulse at random intervals, or to randomize which of multiple outputs are turned ON (such as random number generators, or RNGs). Some randomizers use the random nature of Minecraft (such as cactus growth or dispens

Contents

show

    Redstone wire

    Redstone wire acts as a power conductor. {C}Power will travel through 15 blocks of wire. To increase the range, place Redstone repeaters in the circuit. {C}To place Redstone wire, right-click on a block while holding Redstone dust. {C}Note that Redstone can`t be placed on Ice, Glass, Pistons, Sticky Pistons, Leaves, TNT, Cake, Slabs, Stairs, Beds, Glowstone, and Wooden or Iron Doors.

    Powering blocks

    Some blocks in Minecraft may be powered or unpowered. Think of a "powered block" as a cube of dirt or an empty space (though no truly empty Air block can be powered) that is invisibly electrified but safe to touch.

    Power may be transmitted from a powered block to one or more of the six directly adjacent blocks. To transmit power, a block must be either:

    • an active power source (a Redstone torch),
    • the block to which a switch is attached (that is, the block under a pressure plate or the block on which a lever or button is mounted),
    • the block a switch is in,
    • the block above a Redstone torch
    • an active power conductor (Redstone wire that is immediately adjacent to a powered block).

    One must be careful to note that a Redstone torch placed on the side of a block of dirt is actually part of the block next to the dirt, not part of the dirt block itself. Similarly, Redstone wire that is placed on top of a block of dirt is part of the block above the dirt. However, if the block on which the Redstone wire is placed becomes powered in any way, so does the Redstone wire.

    Each actively powered block transmits power in several directions, depending on the contents of the block:

    • A Redstone torch powers itself and the block directly above it, unless that block is air. Because of how Redstone wires work, this also activates adjacent power conduits (Redstone wire).
    • A pressure plate activates the block it is physically located in, as well as the block below (on which it is placed).
    • A lever powers the block in which it is located and the block on which it is placed.
    • A button powers the block in which it is located and the block on which it is placed.
    • Redstone wire powers itself, the block below it, the block it is pointing to or the block below that.

    Redstone wire and signal strength

    Whether a block is weakly or normally (strongly) powered affects how Redstone wires interact with it. Blocks are strongly powered by Redstone power sources; torches (from below), repeaters, levers, pressure plates etc. If a block is powered only by Redstone wire then it is weakly powered. Redstone wire which is adjacent to, on top of, or below a block that is strongly powered will become active. It will not become active if that block is weakly powered.

    Powering devices

    A device, such as a door, a minecart track, a block of TNT, or fence gate is activated when an adjacent block is powered. As a simple example, placing a Redstone torch next to a door will change the state of the door to on. Similarly, standing on a pressure plate immediately adjacent to a door will activate the door. However, standing on a pressure plate two blocks away from a door will not activate the door, because the power does not reach the block next to or under the door.

    To power devices at a distance, the power must be conducted from the active power source to the device; Redstone wire is used for this purpose. As noted above, the Redstone wire is part of the block it is physically located in, not the block to which it is attached. Redstone wire, or dust, has two states: on (lit) and off (unlit).

    The simplest way to activate Redstone wire is to put a Redstone torch or switch adjacent to the wire. It also works to have a torch or switch directly above the wire, attached to a wall.

    A Redstone torch is itself a powered device; its default state is "on", but it will be turned off if it receives power from the block to which it is attached. This feature, along with the use of wire to transmit power in particular directions over distance, is the basis for the advanced Redstone devices and circuitry below.

    Care must be taken to follow the power rules precisely, or one might see unexpected results. For example, consider a pressure plate. Activating the plate will power the block underneath the plate as well as the block in which the plate resides. Nevertheless, Redstone wire beneath this block will still be powered, because it is adjacent to the powered block above it. However, activating the plate will not turn off a Redstone torch placed beneath the powered block⃢₀ₔin fact, placing a Redstone torch under the block under the pressure plate will power it continuously, effectively disabling the plate.

    Specific powered devices

    Certain devices act in specific ways, for example:

    • If a block is powered, a Redstone torch attached to it will be deactivated.
    • If a block is powered, a door on top of it or adjacent to it will toggle its state from open to closed or vice versa. (The actual state will depend, because doors were implemented unintuitively.)
    • If a block is powered, and it is a note block/dispenser, it will play/shoot once.
    • If a block is powered, and rails are above it, they will toggle shape. (You can still have the wiring power the rail directly.)

    Common errors to avoid

    The following are common errors to avoid:

    • Trying to transmit power through a block that doesn`t have any Redstone wire on it. While a generic block (dirt, sand, gravel, etc.) adjacent to the end of a wire can receive power, it will not transmit that power to wire on the other side, because it is not one of the blocks that can transmit power. If you have a block that you cannot move, send wire around it (including on top of it). Alternatively, you can put a repeater on the side transmitting power, as repeaters can send power through blocks (see below).
    • If a block has Redstone wire on top and a Redstone torch on the side, then the block above the torch must be either air, glass or a half-tile (unless you know what you`re doing). If you place any solid block above the torch, it will create a feedback loop and the torch will probably burn out.

    Logic gates

    A logic gate can be thought of as a simple device that will return a number of outputs, determined by the pattern of inputs and rules that the logic gate follows. For example, if both inputs in an AND gate are in the `true`/`on`/`powered` state, then the gate will return `true`/`on`/`powered`. Much more in-depth information and a better explanation of this expansive topic is available on Wikipedia.

    Below is a list of some of the basic gates with example images and MC Redstone Sim diagrams. There are many different ways to construct them other than those shown below, so use them as guidelines for creating one to fit your needs. Most circuits have multiple valid implementations, with various advantages and disadvantages between designs such as size, complexity, performance, maintenance overhead.

    Keep in mind that⃂₠:

    • tick is the delay between the events "Redstone torch receives power" and "Redstone torch turns off or on". (depending on its initial state);
    • repeaters can be set to 1,2,3,4 tick(s). One tick = 0.1 seconds.
    • The rapid pulser is too fast for repeaters.

    Basic logic gate diagrams

    Piston circuits

    Piston Circuits are circuits featuring logic gates created with pistons that are in some cases smaller and more compact than traditional logic gates. Some circuits, such as a 0.5 tick on and 0.5 tick off clock, need pistons.

    Circuit symbols

    Each symbol represents one to three blocks (most often one or two), viewed from above. All descriptions are with reference to a "ground level", the level where you are building your gate on.

    From left to right:

    1. Air: air over air, i.e. two empty blocks, one above the other above ground level
    2. Block: air over a block (of any sort)
    3. Two Blocks: block over block, i.e. two solid blocks above ground level
    4. Wire: wire (with a block assumed below the wire, below ground level)
    5. Redstone Torch: air over Redstone torch (all torches are Redstone torches in circuits)
    6. Wire over Block
    7. Torch over Block
    8. Block over Wire (i.e.: layer 1 is wire; layer 2 is a block)
    9. Block over Torch
    10. Torch over Wire (i.e.: layer 1 is wire; layer 2 is a torch, attached to adjacent layer 2 block not shown)
    11. Bridge: wire on top of block, over wire (with the usual empty air block above the top wire, see Redstone schesmatics
    12. Lever (aka Switch): air over switch
    13. Stone⃂₠Button: air