AND Gate

AND Gate
Stackable
Yes(64)

Overview

The AND Gate is a Digital Gate that outputs a Redstone signal of 15 if both input pins receive a Redstone signal greater than 0. Otherwise, it outputs 0. This makes the AND Gate one of the simplest and most widely used gates in digital logic.

Boolean Logic Table

The AND Gate operates according to the following Boolean logic table:

Input AInput BOutput
000
100
010
111

Configuration

Pin Marks A denote the inputs of the gate. They can be configured to face any direction on right-click.

Parallel AND Gate
Stackable
Yes(64)

Parallel AND Gate

The AND Gate also has a Parallel Gate version, which is used in parallel circuit designs. Unlike the standard AND Gate, the Parallel Gate version does not allow input configuration because its logic relies on fixed input arrangements.

The Boolean logic table for the Parallel AND Gate is as follows:

LeftBackRightOutput
0000
1000
0100
1101
0010
1010
0111
1111

Crafting

Normal AND Gate

Parallel AND Gate

Version Log

VersionDescription
0.0.0Introduced. On update from anywhere reads redstone signal only and updates neighbours when output changes.
0.0.1Unlike in the previous version, block first reads the blockstate on the input, and if suitable, uses blockstate value, if not, reads redstone signal.
0.1.1Changed registry name from and to floor_and and paralel_and to floor_parallel_and. Replaced bottom texture from being that on the top to Smooth Stone Block.
0.2.0Changed registry name from floor_and to normal_and and floor_parallel_and to parallel_and. Can be placed on walls and ceiling. Updates the block on the output when output changes instead of updating all neighbours. Output data is stored on Block Entity. Lost `rotate` and `mirror` block methods..
0.2.1Reimplemented `rotate` block method.