User:MentalMouse42/Sandbox/Piston Circuits - minecraft.fandom.com

Jump to navigation Jump to search
Treść tej podstrony pochodzi z artykułu „User:MentalMouse42/Sandbox/Piston Circuits” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0

Piston-Only Gate[]

Pistons can produce alternate designs for many of the classic logic gates. Piston-only gates generally don't use redstone torches for logic, but may use them to supply a constant signal.

NOT Gate/Inverter[]

Piston NOT Gate, top view
Piston NOT Gate, side view

The piston-only NOT gate is slightly larger than a standard redstone NOT gate, so it is rarely used alone. However, it demonstrates an important concept used in many piston mechanisms, namely that torches below solid blocks create a current in any surrounding wire. When an input is triggered, the piston extends, uncovering the torch hole removing the signal from the output line. The input can power the piston from almost any direction.

OR Gate[]

Piston OR gate. The torch is in a hole, on the level below the mobile block

This design is slightly faster than the standard redstone OR gate, with a comparable size. It uses one piston which covers a torch when extended by any of the inputs.

AND Gate[]

Piston AND gate.
The mobile block (un)covers a hole containing redstone dust.

Incredibly fast AND gate. When unpowered, the sticky piston pulls the block over the hole, breaking the circuit. When powered, it extends and lets the current flow in and out of the hole. One input feeds the piston, the other feeds the circuit it interrupts; both must be ON to release a signal.

IMPLIES Gate[]

B
A
Piston IMPLIES gate.

Comparable size and speed to some of the basic redstone IMPLIES gate. This gate represents material implication. Returns false only if the implication A → B is false. That is, if the conditional A is true, but the consequent B is false. It is often read "if A then B." It is the logical equivalent of "B or NOT A".