Buildcraft · Automation · Advanced
BuildCraft Logic Gates & Pipe Wires Explained: Smart Automation
Master BuildCraft's Silicon module by integrating Logic Gates and colored Pipe Wires directly onto your transport network. This advanced guide will teach you how to build self-regulating factories that automatically prevent item spills, stop engines from overheating, and manage fluid routing without massive vanilla redstone circuits.
What you need
- Assembly Table and at least 4 BuildCraft Lasers
- Power supply (Stirling Engines or Combustion Engines) to run the Lasers
- Redstone, Iron, Gold, and Diamond Chipsets
- Pipe Wires (Red, Blue, Green, and Yellow)
- BuildCraft Pipes (Stone, Cobblestone, Gold, or Kinesis/Fluid equivalents)
- Stone Wrench (for configuring orientations and separating pipes)
- Pipe Plugs (optional, for isolating wire networks)
Step by step
1Set Up the Silicon Fabrication Infrastructure
Place an Assembly Table on the ground and surround it with several Lasers within a small radius, leaving an air gap between them. Power the Lasers using Stirling or Combustion Engines via Kinesis Pipes. First, insert raw materials like Redstone together with Iron, Gold, or Diamonds into the Assembly Table to fabricate Chipsets. These Chipsets are the foundational components required to craft both Logic Gates and Pipe Wires.
Tip: More Lasers drastically increase crafting speed, as high-tier Diamond gates require a substantial amount of energy to assemble.
2Manufacture Pipe Wires and Logic Gates
Insert Redstone, dye, and iron into the Assembly Table to produce Red, Blue, Green, and Yellow Pipe Wires (check JEI for exact ingredient ratios in your specific version). Next, combine your Chipsets with various Pipe Wires inside the Assembly Table to craft Basic, Iron, Gold, and Diamond Gates. When selecting a recipe in the Assembly Table GUI, you must explicitly choose between an AND variant or an OR variant before the Lasers finish the craft.
Tip: Higher-tier gates provide more condition slots and can read all four colors of Pipe Wire simultaneously.
3Mount Gates and Lay Down Pipe Wire
Right-click any BuildCraft transport, fluid, or kinesis pipe with a Logic Gate in hand to snap it onto that specific block face. Next, take your colored Pipe Wires and right-click along a continuous line of connected pipes to paint a circuit along them. Notice that a Basic Gate cannot interact with Pipe Wires at all, an Iron Gate only interacts with Red wire, a Gold Gate handles Red and Blue, and a Diamond Gate can communicate across all four wire colors.
Tip: You can place multiple gates on the exact same pipe segment as long as they occupy different cardinal faces.
4Configure Inventory Overflow Protection
Place a Gate on the pipe segment directly touching a receiving Chest or machine, and another Gate on the Wooden Transport Pipe pulling items from your source. Run Red Pipe Wire along the entire pipe connecting them. Open the receiving Gate's GUI: set the left slot (Condition) to 'Inventory Full' and the right slot (Action) to 'Red Pipe Wire On'. On the extraction Gate, set the Condition to 'Red Pipe Wire On' and the Action to 'Redstone Signal Off' (or invert it so it only emits a signal when the wire is off). This stops extraction before items can overflow and spill onto the ground.
Tip: If you use an Autarchic Gate on the Wooden Pipe, set the action to 'Energy Pulser' instead of using an external Redstone Engine.
5Automate Combustion Engine Safety Shutoffs
Attach at least an Iron Gate to the Kinesis or Fluid pipe directly adjacent to a Combustion Engine. Open the Gate's GUI and cycle the left Condition slot to 'Engine Blue' or 'Engine Green' (which indicate safe operating temperatures). Set the right Action slot to 'Redstone Signal'. As long as the engine stays cool and has water, the gate emits redstone to keep it running; the moment it turns Yellow or Red from overheating, the condition fails, the redstone signal drops, and the engine safely shuts off before exploding.
Tip: Pair this with a second condition slot checking for 'Fluid in Pipe' on your coolant line for redundant explosion prevention.
6Implement Multi-Condition AND vs OR Logic
When using Iron, Gold, or Diamond Gates, you have multiple rows of Conditions and Actions. In an OR Gate, if any single left-side Condition that targets a specific right-side Action is true, that Action triggers. In an AND Gate, if you assign the exact same Action (such as 'Redstone Signal') to two different rows, BOTH left-side Conditions must be true simultaneously for that Action to execute. Use AND gates when you only want a pump or engine to turn on if the storage tank has space AND the power buffer is low.
Tip: You can visually tell gate types apart on the pipe: AND gates typically have dark red markings while OR gates have brighter orange/yellow accents.
7Control Fluid Routing with Pipe Wire Signals
Attach a Gate to a Fluid Pipe leading into a Tank and set it to read 'Tank Has Space' -> 'Blue Pipe Wire On'. Run Blue Pipe Wire back to a Gate mounted on the pipe adjacent to your Fluid Pump's power source. Set the Pump's gate to 'Blue Pipe Wire On' -> 'Redstone Signal'. Now your pump will dynamically power down the exact tick your fluid tank fills up, saving fuel and preventing backpressure.
Tip: Certain Conditions like 'Contains Fluid' or 'Items in Inventory' will open a small secondary filter slot in the middle of the GUI where you can drag a specific bucket or item from your inventory to filter for it.
How it works
BuildCraft Logic Gates operate on a localized Condition-to-Action evaluation loop. Every game tick, a gate scans the pipe it is mounted on and every block directly adjacent to that specific pipe segment. If the gate detects a valid neighbor—such as an inventory, a fluid tank, an engine, or another pipe—it dynamically populates its left-hand Condition menu with states relevant to that neighbor. If no valid neighbor exists, those specific conditions will not even appear in the GUI.
The difference between AND and OR gates only applies when two or more rows are configured to trigger the exact same Action. In an OR gate, rows act independently: if Row 1 is true and Row 2 is false, an Action shared by both rows will still fire. In an AND gate, identical Actions are grouped together into a logical conjunction: every single Condition pointing to that shared Action must evaluate as true at the same time, otherwise the output remains off.
Pipe Wires act as a four-channel bundled cable that runs inside the bounding box of your pipe network. A wire signal travels infinitely along connected pipes without signal decay, crossing effortlessly from Item Transport Pipes to Fluid Pipes and Kinesis Pipes whenever they sit adjacent to one another. This allows your power grid, fluid network, and item logistics to talk to each other on up to four independent colored frequencies (Red, Blue, Green, Yellow) without laying a single dust of vanilla redstone.
Common mistakes
- Mounting the gate one block too far from the target machine. A gate can only read the state of an inventory, tank, or engine if the pipe segment holding the gate is directly touching that machine.
- Using the wrong gate tier for your wire color. For example, trying to trigger a Blue Pipe Wire with an Iron Gate will not work because Iron Gates only possess the internal hardware to read and write to Red Pipe Wire.
- Allowing Pipe Wires to accidentally bridge across parallel pipe networks. Because Pipe Wires connect across any adjacent pipes (even from a Fluid Pipe to an Item Pipe), signals can bleed into unrelated circuits unless you separate the pipes with a Stone Wrench or block the junction with a Pipe Plug.
- Confusing AND gate row behavior by assigning different Actions to each row. An AND gate only combines conditions that share the exact same output Action; if Row 1 outputs Redstone and Row 2 outputs Blue Wire, they will trigger completely independently just like an OR gate.
FAQ
Why are the 'Inventory Full' or 'Engine Blue' options missing from my Gate GUI?
Gates only display conditions for blocks directly touching the pipe segment the gate is mounted on. Make sure your pipe is physically connected or adjacent to the chest or engine before opening the GUI.
How do I extract items from a Wooden Pipe without using any engines at all?
Craft an Autarchic Gate (by combining an existing gate with a Pulsating Chipset in the Assembly Table). It unlocks the 'Single Energy Pulser' and 'Constant Energy Pulser' actions, which internally power the Wooden Pipe whenever your chosen condition is met.
Can Pipe Wire signals pass through Cobblestone Structure Pipes?
Yes! Cobblestone Structure Pipes are an inexpensive way to run Pipe Wires across empty gaps or between unconnected Fluid and Item networks without transferring items or fluids.
How do I stop Pipe Wires from connecting between two adjacent pipes?
Craft a Pipe Plug and place it on the inner face between the two pipes. This blocks both pipe connections and wire signals across that specific face.
By pairing the right tier of AND/OR Logic Gates with four-channel Pipe Wires, you can turn basic BuildCraft transport pipes into an intelligent, self-regulating factory network that never overflows or overheats.