Minecraft Wiki
m (Revert consecutive edits by 172.68.2.60 (talk))
m (Fix some missing blank cells.)
(22 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{Schematic|caption=
<!-- [[Image:and gate.png|thumb|Standard AND gate. Inputs are on light blue wool, the actual gate is on white wool, and the output is on red wool. Switches and redstone lamp are not required.]]
 
  +
'''Basic AND Gate (A)'''
-->
 
  +
''2&times;2&times;3 (12 block volume)''<br />''silent, tileable''<br />''circuit delay: 2 ticks''
   
  +
| style = display: inline-block; float: none; vertical-align: text-top;
   
 
|input|rd-ew|SB+rt-!||||-
{{Schematic|caption=Basic AND gate (A)
 
|float=left
 
|input|rd-ew|SB+rt-!|||-
 
 
|||SB+rd-ns!|rt-w|rd-ew|output|-
 
|||SB+rd-ns!|rt-w|rd-ew|output|-
|input|rd-ew|SB+rt-!||
+
|input|rd-ew|SB+rt-!|||
 
}}
 
}}
   
{{Schematic|caption=Adjacent-input AND gate (B)
+
{{Schematic|caption=
  +
'''Adjacent-input AND Gate (B)'''
|float=left
 
  +
''3&times;2&times;2 (12 block volume)''<br />''silent''<br />''circuit delay: 2 ticks''
  +
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|input|rd-ew+SB-u|SB+rt-!|SB+rd-sw!|rt-w|rd-ew|output|-
 
|input|rd-ew+SB-u|SB+rt-!|SB+rd-sw!|rt-w|rd-ew|output|-
|input|SB+rd-ew|rt-w!|rd-nw!||
+
|input|SB+rd-ew|rt-w!|rd-nw!|||
 
}}
 
}}
  +
{{-}}
 
{{Schematic|caption=AND gate with repeater and piston (C)
+
{{Schematic|caption=
  +
'''Piston AND Gate with Repeater (C)'''
|float=left
 
  +
''2&times;3&times;2 (12 block volume)''<br />''1-tick, flat''<br />''circuit delay: 1 tick''{{verify}}
|input|rd-ew|sp-s||-
 
  +
|||MB||-
 
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|input|rd-ew|sp-s|||-
 
|||MB|||-
 
|input|rr-e1||rd-ew|output
 
|input|rr-e1||rd-ew|output
 
}}
 
}}
   
{{Schematic|caption=Vertical AND gate (D)
+
{{Schematic|caption=
  +
'''Vertical AND Gate (D)'''
|float=left
 
  +
''1&times;4&times;4 (16 block volume)''<br />''silent, 1-wide''<br />''circuit delay: 2 ticks''
||input|rd-$||-
 
  +
|||SB|rt-$w!||-
 
  +
| style = display: inline-block; float: none; vertical-align: text-top;
||||rd-$!|||-
 
  +
||||SB|rt-$w|rd-$|output|-
 
|input|rd-$|SB|rt-$w!||SB||
+
||rd-$ew||||||-
 
|input|SB|rt-$w!|rd-$ew!||||-
 
||||SB|rt-$w|rd-$ew|output|-
 
|input|rd-$ew|SB|rt-$w!||SB|
 
}}
 
}}
   
{{Schematic|caption=Vertical AND gate with repeater (E)
+
{{Schematic|caption=
  +
'''Vertical AND Gate with Repeater (E)'''
|float=left
 
  +
''1&times;5&times;3 (15 block volume)''<br />''silent, 1-wide''<br />''circuit delay: 2 ticks''
|input|SB|rt-$w!|rd-$!||-
 
  +
||||SB|rd-$!||-
 
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|input|SB|rt-$w!|rd-$ew!||||-
 
||||SB|rd-$ew!|||-
 
|input|SB|rt-$w!|rr-$e1!|SB|rt-$w|output
 
|input|SB|rt-$w!|rr-$e1!|SB|rt-$w|output
 
}}
 
}}
   
{{Schematic|caption=Here the mobile block (un)covers a hole containing redstone dust. (F)
+
{{Schematic|caption=
  +
'''Piston AND Gate (F)'''
|float=left
 
  +
''2&times;3&times;3 (18 block volume)''<br />''1-tick''<br />''circuit delay: 1 tick (off) / instant (on)''
  +
The mobile block (un)covers the hole with redstone dust.
  +
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|||input|||-
 
|||input|||-
 
|||rd-ns|||-
 
|||rd-ns|||-
 
|||sp-s|||-
 
|||sp-s|||-
 
|input|rd-ew|rd-ew+lighter+MB-u|rd-ew|output
 
|input|rd-ew|rd-ew+lighter+MB-u|rd-ew|output
}}
+
}}
   
{{Schematic|caption=Vertical AND gate with repeater and piston (G)
+
{{Schematic|caption=
  +
'''Vertical Piston AND Gate (G)'''
|float=left
 
  +
''1&times;3&times;3 (9 block volume)''<br />''1-tick, 1-wide''<br />''circuit delay: 1 tick''{{verify}}
|input|rd-$||||-
 
  +
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|input|rd-$ew||||-
 
||SB|rt-$w!|sp-$d!||-
 
||SB|rt-$w!|sp-$d!||-
|input|rd-$|rr-$e1|se-$d|rd-$|output|-
+
|input|rd-$ew|rr-$e1|se-$d|rd-$ew|output|-
 
||SB|SB|MB|SB
 
||SB|SB|MB|SB
 
}}
 
}}
   
{{Schematic|caption=3-input AND gate (H)
+
{{Schematic|caption=
  +
'''3-input AND Gate (H)'''
|float=left
 
  +
''1&times;3&times;3 (9 block volume)''<br />''silent, 3-input''<br />''circuit delay: 2 tick''
  +
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|||input+rd-ns|||-
 
|||input+rd-ns|||-
 
|||SB+rt-!|||-
 
|||SB+rt-!|||-
Line 64: Line 92:
 
}}
 
}}
   
{{Schematic|caption=Compact AND gate using [[Redstone Comparator]] (I)
+
{{Schematic|caption=
  +
'''Subtraction AND Gate (I)'''
|float=left
 
  +
''3&times;3&times;2 (18 block volume)''<br />''silent, flat''<br />''circuit delay: 2 ticks''
|input|rd-ew|SB|rt-w!|-
 
  +
The bottom input only has a 1-tick delay.
||||rd-ns!|-
 
  +
|input|rd-ew|rd-ew|rc-e|rd-ew|output
 
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
 
|input|rd-ew|SB|rt-w!|||-
 
||||rd-ns!|||-
 
|input|rd-ew|rd-ew|rs-e|rd-ew|output
 
}}
 
}}
   
{{Schematic|caption=AND gate using [[Redstone Comparator]] and [[Redstone Repeater]] (J)
+
{{Schematic|caption=
  +
'''3-input Subtraction AND gate with Repeater (J)'''
|float=left
 
  +
''2&times;5&times;2 (20 block volume)''<br />''silent, flat''<br />''circuit delay: 3 ticks''
  +
The middle input only has a 2-tick delay. The repeaters are sometimes unnecessary.
  +
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
  +
 
|||output|||-
 
|||output|||-
|rt-!|rs-e|rs-n|rs-w|rt-!|-
+
|SB+rt-!|rs-e|rs-n|rs-w|SB+rt-!|-
 
||rr-n1|rr-n1|rr-n1||-
 
||rr-n1|rr-n1|rr-n1||-
||input|input|input||
+
||input|input|input|
 
}}
 
}}
  +
  +
{{Schematic|caption=
  +
'''Multi-input AND Gate'''
  +
''3&times;2&times;(N+1)''<br />''2-tick''<br />
  +
  +
| style = display: inline-block; float: none; vertical-align: text-top;
  +
  +
||input+ rr-s1|input+ rr-s1|input+ rr-s1|input+ rr-s1|ellipsis-ew|-
  +
||SB+rt-!|SB+rt-!|SB+rt-!|SB+rt-!|ellipsis-ew|-
  +
|output+rt-e|SB+rd-new!|SB+rd-new!|SB+rd-new!|SB+rd-new!|ellipsis-ew
  +
}}
   
 
{{-}}
 
{{-}}
   
 
{| class="wikitable" style="float: left"
 
{| class="wikitable" style="float: left"
  +
|+Material Costs
! Design !! A !! B !! C !! D !! E !! F
 
  +
! Design !! Volume !! Redstone !! Torches !! Repeaters !! Comparators !! Pistons
 
|-
 
|-
  +
! A
| Size || 2x2x3 || 3x2x2 || 2x1x3 || 4x5x1 || 5x3x1 || 1x2x3
 
 
| 12 || 1 || 3 || 0 || 0 || 0
 
|-
 
|-
  +
! B
| Torches || 3 || 3 || 0 || 3 || 3 || 0
 
 
| 12 || 2 || 0 || 1 || 0 || 1
 
|-
 
|-
  +
! C
| Redstone || 1 || 2 || 0 || 1 || 2 || 0
 
 
| 12 || 0 || 0 || 1 || 0 || 1
 
|-
 
|-
  +
! D
| Repeaters || 0 || 0 || 1 || 0 || 1 || 0
 
 
| 16 || 4 || 3 || 0 || 0 || 0
 
|-
 
|-
  +
! E
| Sticky pistons || 0 || 0 || 1 || 0 || 0 || 1
 
  +
| 15 || 2 || 3 || 1 || 0 || 0
  +
|-
  +
! F
  +
| 12 || 3 || 0 || 0 || 0 || 1
  +
|-
  +
! G
  +
| 9 || 3 || 1 || 1 || 0 || 1
  +
|-
  +
! H
  +
| 18 || 1 || 4 || 0 || 0 || 0
  +
|-
  +
! I
  +
| 18 || 5 || 1 || 0 || 1 || 0
  +
|-
  +
! J
  +
| 20 || 0 || 2 || 3 || 3 || 0
 
|}
 
|}
  +
 
{{-}}
 
{{-}}
  +
  +
 
[[Category:Ajax loaded pages]]
 
[[Category:Ajax loaded pages]]
 
[[Category:Redstone circuits]]
 
[[Category:Redstone circuits]]

Revision as of 08:22, 11 June 2021

Basic AND Gate (A)

2×2×3 (12 block volume)
silent, tileable
circuit delay: 2 ticks

Adjacent-input AND Gate (B)

3×2×2 (12 block volume)
silent
circuit delay: 2 ticks

Piston AND Gate with Repeater (C)

2×3×2 (12 block volume)
1-tick, flat
circuit delay: 1 tick[verify]

Vertical AND Gate (D)

1×4×4 (16 block volume)
silent, 1-wide
circuit delay: 2 ticks

Vertical AND Gate with Repeater (E)

1×5×3 (15 block volume)
silent, 1-wide
circuit delay: 2 ticks

Piston AND Gate (F) 2×3×3 (18 block volume)
1-tick
circuit delay: 1 tick (off) / instant (on)

The mobile block (un)covers the hole with redstone dust.

Vertical Piston AND Gate (G)

1×3×3 (9 block volume)
1-tick, 1-wide
circuit delay: 1 tick[verify]

3-input AND Gate (H)

1×3×3 (9 block volume)
silent, 3-input
circuit delay: 2 tick

Subtraction AND Gate (I) 3×3×2 (18 block volume)
silent, flat
circuit delay: 2 ticks

The bottom input only has a 1-tick delay.

3-input Subtraction AND gate with Repeater (J) 2×5×2 (20 block volume)
silent, flat
circuit delay: 3 ticks

The middle input only has a 2-tick delay. The repeaters are sometimes unnecessary.

Multi-input AND Gate

3×2×(N+1)
2-tick
Material Costs
Design Volume Redstone Torches Repeaters Comparators Pistons
A 12 1 3 0 0 0
B 12 2 0 1 0 1
C 12 0 0 1 0 1
D 16 4 3 0 0 0
E 15 2 3 1 0 0
F 12 3 0 0 0 1
G 9 3 1 1 0 1
H 18 1 4 0 0 0
I 18 5 1 0 1 0
J 20 0 2 3 3 0