FANDOM


Icon Warning Before you read this page, you should first read Redstone Basics.

Redstone can be used to make circuits. These can be as simple as "You must pull two levers to open this door" to an entire fully-functioning computer. This article articulates the basics.

GatesEdit

In hardware programming, a gate is a way to take one or more inputs and use those to give one or more outputs. Usually a gate takes in two or more and gives only one.

NOT GateEdit

Info See Also List of NOT Gates

Ingame NOT Gate

In-game NOT gate

A NOT gate (AKA inversion, inverter or signal inverter) inverts a single input into a single output. That is to say, it changes a wire's ON signal into an OFF signal, or its OFF signal into an ON signal. This can be simply made with a redstone torch on a block; if the block is powered, the torch is off, else, it's on.

SymbolsEdit

  • NOT
  • !
  • ~
  • ¬

Truth TableEdit

Input Output
ANOT A
1 0
0 1

AND GateEdit

Info See Also List of AND Gates

Ingame AND Gate

In-game 2-input AND gate

An AND gate (AKA conjunction) takes in two or more inputs and gives a single output, which is only ON if all the inputs are also ON.

SymbolsEdit

  • AND
  • &
  • &&

Truth TablesEdit

2 Inputs
Inputs Output
ABA AND B
11 1
10 0
01 0
00 0
3 inputs
Inputs Output
ABCA AND B AND C
111 1
110 0
101 0
100 0
011 0
010 0
001 0
000 0


OR GateEdit

Info See Also List of OR Gates

Ingame OR Gate

In-game 2-input OR gate

An OR gate (AKA disjunction) takes in two or more inputs and gives a single output, which is only OFF if all the inputs are also OFF.

SymbolsEdit

  • OR
  • |
  • ||

Truth TableEdit

2 Inputs
Inputs Output
AB
11 1
10 1
01 1
00 0
3 inputs
Inputs Output
ABCA OR B OR C
111 1
110 1
101 1
100 1
011 1
010 1
001 1
000 0

AND+NOT equivalentEdit

Ingame OR with AND+NOT only

An OR gate only using AND and NOT gates. Black blocks are NOT gates, and yellow blocks are AND gates.

Every gate can be made using only AND andor NOT gates. A OR B is the same as a NOT(NOT(A) AND NOT(B)). This is illustrated to the right in Minecraft gates.


XOR GateEdit

Info See Also List of XOR Gates

Ingame XOR Gate

In-game 2-input XOR gate

An XOR gate (AKA exclusive OR, exclusive disjunction) takes in two or more inputs and gives a single output, which is only ON when the number of ON inputs is odd.

SymbolsEdit

  • XOR
  • EOR
  • EXOR
  • ^

Truth TablesEdit

2 Inputs
Inputs Output
AB
11 0
10 1
01 1
00 0
3 inputs
Inputs Output
ABCA OR B OR C
111 1
110 0
101 0
100 1
011 0
010 1
001 1
000 0

AND+NOT equivalentEdit

Ingame XOR with AND+NOT only

An XOR gate only using AND and NOT gates. Black blocks are NOT gates, and yellow blocks are AND gates.

Every gate can be made using only AND andor NOT gates. A XOR B is the same as a NOT(NOT(A AND NOT(A AND B)) AND NOT(A AND B) AND B)). This is illustrated to the right in Minecraft gates.


ClocksEdit

A clock is any way to repeatedly send an on-and-off signal.

Repeater ClockEdit

Ingame Repeater Clock

A basic repeater clock

Info See Also List of Repeater Clocks

This is a clock which takes advantage of the delay and full signal produced by repeaters. These all have variable-length signals, as reducing of increasing the length of the signal is as easy as adding more repeaters or even changing the delay on individual repeaters.

ToggleableEdit

Ingame Toggleable Repeater Clock

A basic repeater clock made toggleable

A repeater clock can be activated or deactivated by using a sticky piston which inserts or removes a conductive block in place of one of the clock's redstone wires.

Minecart ClockEdit

Ingame Minecart Clock

A basic minecart clock

Info See Also List of Minecart Clocks

This is a clock which uses the output of a detector rail when a minecart moves across it. To keep the minecart going, people often use powered rails.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.