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

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

  7. 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.

More Buildcraft guides

Buildcraft · Getting startedBuildCraft Getting Started Guide: Gears, Pipes, and Early PowerThis guide walks you through your very first steps in BuildCraft, from crafting the core mechanical gears to building an automated item extraction system. Mastering these basics is essential because every advanced machine, quarry, and fluid factory in the mod relies on this foundational transport and power logic.Beginner7 steps
Buildcraft · ExplainedBuildCraft Transport Pipes Explained: Item, Fluid, and Kinesis RoutingMastering BuildCraft transport pipes is the foundation of automating your base, allowing you to seamlessly move items, pump liquids, and distribute engine power. By understanding the unique behaviors of each pipe material, you can prevent catastrophic item spills, avoid power bottlenecks, and construct an automated early-game sorting system using Diamond Transport Pipes.Beginner7 steps
Buildcraft · PowerBuildCraft Engines & MJ Power Guide: From Stirling to CombustionMastering BuildCraft power generation allows you to automate large-scale mining, refining, and building operations using Minecraft Joules (MJ). This guide covers the progression from basic Redstone Engines to liquid-fueled Combustion Engines, explaining how to manage heat stages, set up reliable water cooling, and prevent catastrophic base explosions.Intermediate7 steps
Buildcraft · Setup guideHow to Set Up and Maximize the BuildCraft QuarryThe BuildCraft Quarry is the ultimate mid-to-late-game automated mining machine, capable of excavating massive areas down to bedrock without player intervention. In this guide, you will learn how to expand the Quarry to its maximum custom size using Land Marks, power it safely with an efficient engine array, handle underground fluids, and automatically sort the massive influx of resources.Intermediate7 steps
Buildcraft · PowerHow to Build an Oil Refinery and Fuel Power PlantMastering oil extraction and refinement is the ultimate milestone in BuildCraft, transitioning your base from slow coal-burning engines to massive industrial power generation. This guide covers how to locate and pump crude oil, process it using either the classic Refinery or the newer Distiller system, and construct a failsafe, water-cooled Combustion Engine power plant.Intermediate7 steps
Buildcraft · ProgressionBuildCraft Silicon Guide: Lasers, Assembly Table, and ChipsetsMastering the BuildCraft Silicon module unlocks the ability to craft Redstone Chipsets, Pipe Wires, and advanced Logic Gates. By setting up a high-powered Laser array around an Assembly Table and an Integration Table, you can transition from manual engine maintenance to fully automated pipe networks. This guide walks you through building an efficient laser processing setup for mid-to-late game automation.Intermediate7 steps