Pipez · Setup guide · Advanced
How to Use Pipez Gas Pipes for Mekanism Ore Processing
Scaling up a Mekanism Tier 4 or Tier 5 ore processing plant often leads to severe server lag or even world-breaking crashes due to how Mekanism calculates its native pipe networks. By replacing Pressurized Tubes and other native cables with Pipez Gas Pipes and Universal Pipes, you will build a high-throughput, crash-proof chemical and ore processing line. This guide covers how to route gases, slurries, power, and items simultaneously without tanking your tick rate.
What you need
- Gas Pipes and Universal Pipes from the Pipez mod
- Pipe Wrench (or any compatible mod wrench)
- Advanced Pipe Upgrades and Ultimate Pipe Upgrades
- Filter Destination Tool
- A Mekanism ore processing setup (Electrolytic Separator, Chemical Infuser, Chemical Dissolution Chamber, Chemical Washer, Chemical Crystallizer, Injection Chamber, Purifying Chamber)
- JEI (Just Enough Items) installed to verify specific chemical IDs and transfer rates
Step by step
1Configure Mekanism Machine Sides
Before placing any pipes, open the GUI of your Mekanism machines and click the Side Config tab. For each machine, set the Gas, Infuse, Slurry, Item, and Energy tabs to map inputs and outputs to specific faces. Critically, disable 'Auto-Eject' on all Mekanism machines; Pipez handles extraction directly, and leaving Mekanism's auto-eject active causes redundant tick calculations.
Tip: If you plan to use Universal Pipes, you can set a single machine face to accept Energy, Items, and Gases all at once by enabling that side in multiple config tabs.
2Run Gas Pipes for Dedicated Chemical Lines
Connect your Electrolytic Separator, Chemical Infuser, and Chemical Dissolution Chamber using Pipez Gas Pipes. Unlike Mekanism's Pressurized Tubes, these pipes will merge into a single visual line even if they carry different gases like Oxygen, Hydrogen Chloride, or Sulfuric Acid. If two gas lines run directly next to each other and you want them physically separated, sneak-right-click the connection point between the pipes with a Pipe Wrench to disconnect them.
3Set Extraction Points
Pipez networks are completely passive until configured to pull. Approach the gas output face of your chemical producers (such as the Electrolytic Separator or Chemical Infuser) and sneak-right-click the end of the Gas Pipe connected directly to the machine using your Pipe Wrench. A wider collar will appear on the pipe connection, indicating it is now an active extracting node with a block entity.
Tip: Only set extraction on the output side of a machine; setting it on the destination side will try to pull chemicals out of the receiving machine.
4Install Advanced or Ultimate Pipe Upgrades
Default Pipez transfer speeds are too slow to keep up with Mekanism factories. Right-click the extracting collar on your Gas Pipe to open its GUI, and insert an Advanced Pipe Upgrade or Ultimate Pipe Upgrade into the upgrade slot on the right. Advanced Pipe Upgrades are the minimum requirement to unlock chemical filtering, while Ultimate Pipe Upgrades provide the massive transfer speeds needed for multi-slot Elite or Ultimate Factories.
Tip: Check JEI or your modpack's config files to see the exact millibucket-per-tick transfer rate for each upgrade tier, as pack authors frequently tweak these values.
5Filter Multi-Chemical Networks with the Destination Tool
When one Gas Pipe line touches multiple machines (like an Electrolytic Separator outputting both Oxygen and Hydrogen), you must prevent gases from clogging the wrong inputs. Hold the Filter Destination Tool and right-click the exact face of the receiving machine (e.g., the Purifying Chamber's gas input face) where the pipe connects. Open the extracting pipe's GUI, click 'Add' in the filter section, place the linked Filter Destination Tool into the destination slot, and specify the chemical (such as Oxygen) by typing its ID or dragging it from JEI into the chemical slot.
Tip: The Filter Destination Tool only works if you click the exact block face that the receiving pipe is physically attached to.
6Balance Parallel Factories with Distribution Modes
If you are feeding Hydrogen Chloride or Oxygen into a row of multiple Injection or Purifying Factories, the closest machine will normally starve the others. Open the extracting Gas Pipe's GUI and look at the distribution mode button (unlocked by Improved Pipe Upgrades and higher). Cycle the mode from 'Nearest First' to 'Round Robin' to split the gas packets evenly across all connected factories.
7Compact the Factory Line with Universal Pipes
For the main ore processing row (Injection Chamber -> Purifying Chamber -> Crusher -> Enrichment Chamber -> Smelter), replace all individual cables with a single line of Universal Pipes behind the machines. Set the Universal Pipe connections to extract from your power source, gas producers, and each machine's item output face. Open the Universal Pipe GUI and use the tabs on the far left to switch between Item, Fluid, Energy, and Gas configurations independently.
Tip: One Pipe Upgrade inserted into a Universal Pipe boosts the speed and unlocks filtering for all four transfer types simultaneously.
8Clone Configurations Across Your Plant
Once you have configured a complex set of gas filters and distribution modes for one processing line, you do not need to manually redo it for parallel lines. Remove the configured Pipe Upgrade from the pipe GUI, place it into a crafting grid alongside a blank Pipe Upgrade of the same tier, and craft them together. This duplicates all filter rules, redstone settings, and distribution modes onto the second upgrade.
How it works
Mekanism's native Pressurized Tubes and Logistical Transporters treat every single pipe segment as a ticking block entity with an internal buffer. Furthermore, Mekanism calculates its network paths using a recursive algorithm. In huge late-game factories with thousands of pipe segments, this recursive calculation causes severe TPS lag and can ultimately crash the server or client with a StackOverflowError.
Pipez solves this by fundamentally changing how pipe networks exist in the world. Non-extracting Pipez segments are simple blocks without block entities, meaning they do not tick, do not store gases inside the pipe, and do not load neighboring chunks. Only the extracting end of a pipe has a block entity. When it ticks, it instantly moves the gas directly from the source machine's internal tank to the destination machine's tank.
Furthermore, Pipez stores all of its configuration data—including chemical filters, distribution modes, and destination coordinates—directly inside the NBT data of the Pipe Upgrade item rather than the pipe block itself. This allows you to break, move, or mass-produce complex chemical routing rules simply by handling the upgrade items.
Common mistakes
- Forgetting to wrench the pipe into extract mode: Placing a Gas Pipe between two machines does nothing by default; you must sneak-right-click the source connection with a wrench until the extraction collar appears.
- Using Basic or Improved Upgrades when filters are needed: You cannot filter gases or use the Filter Destination Tool unless at least an Advanced Pipe Upgrade is installed in the extracting pipe.
- Clicking the wrong machine face with the Filter Destination Tool: If your pipe connects to the back of a Chemical Infuser, but you click the front face of the Infuser with the tool, the filter will fail to route the gas because the pipe is not connected to that specific face.
- Leaving Mekanism Auto-Eject enabled on gas and item outputs: Because Pipez has no internal pipe buffer, having Mekanism machines try to push into a non-extracting Pipez segment does nothing, and pushing into an extracting segment wastes server ticks.
FAQ
Can Pipez Gas Pipes transport all Mekanism chemical types?
Yes. In current versions where Mekanism unifies Gases, Infuse Types, Pigments, and Slurries under its chemical system (or via Pipez's Mekanism integration), the Gas Pipe and the Gas tab on the Universal Pipe handle all Mekanism chemical transfers, including Clean and Dirty Ore Slurries.
How do I stop a Gas Pipe from emptying my chemical tank when a backup reserve is needed?
Install at least a Basic Pipe Upgrade to unlock Redstone Modes. You can set the extracting pipe to 'On when powered' or 'Off when powered' and control it using a Comparator or Mekanism Logic Adapter reading your tank levels.
Why is my Universal Pipe transferring power and items, but refusing to move Oxygen?
Check two things: first, ensure you switched to the Gas tab on the left side of the Universal Pipe GUI to check for conflicting filters; second, verify in the Mekanism machine's Side Config that the Gas tab has that specific block face set to Input or Output.
Can I empty or vent leftover gas locked inside a Pipez Gas Pipe?
Pipez Gas Pipes do not have an internal buffer and never hold gas inside the pipe itself. Any leftover gas is sitting inside your Mekanism machine's internal tank, which can be cleared using the Gauge Dropper inside the machine's GUI.
By replacing Mekanism's recursive Pressurized Tubes with upgraded, destination-filtered Pipez Gas and Universal Pipes, you eliminate pipe-buffer lag and prevent network crashes while running a high-speed ore processing facility.