Jump to: navigation, search

NAND Gate

NAND Gate
NAND Gate 256.png
NAND Gate
Type

Multipart block

Physics

No

Transparency

Yes (partial)

Luminance

Yes, 7

Blast resistance

?

Tool

Any tool

Renewable

Yes

Stackable

Yes (64)

Flammable

No

Availability

Survival

First appearance

v4.0.0

Drops

Itself

Data value

dec: 4 hex: 4 bin: 100

Multipart ID

pr_sgate


The NAND Gate is a combinational logic gate with 3 inputs and 1 output. Combinational gates work strictly from a defined truth table.


Obtaining

Crafting

Ingredients Crafting recipe
Anode +
Cathode +
Circuit Plate +
Conductive Plate
AnodeAnodeAnodeCathodeCathodeCathodeCircuit PlateConductive PlateCircuit Plate
NAND Gate


Usage

I/O

The NAND Gate has 3 inputs and 1 output. When placed, on the ground, the output is the side facing away from the player while the other 3 sides are the inputs.

Logic

The output is enabled by default. When a signal is received on all of its enabled inputs, the output is disabled.

Configuration

A shift-right-click with a screwdriver can toggle which inputs are active. Disabling inputs causes the gate to ignore that side. For example, if a NAND gate has only 2 sides enabled, then it would only need those 2 to be active in order to deactivate the output.

When shift+right-clicked, the gate's inputs are manipulated in this order: All active, right disabled, back disabled, left disabled, right and left disabled, back and left disabled, right and back disabled.

History

Version Changes
v4.0.0 Added the NAND Gate.

Issues

Issues pertaining to "NAND Gate" are maintained on the ProjectRed Github page. Report issues there.