Pipez · End game
Lag-Free Server-Friendly Mega Processing Factory
This mega processing factory architecture leverages the Pipez mod to link over a hundred end-game processing machines while maintaining a rock-solid 20 TPS. By deliberately balancing upgrade tiers and enforcing Redstone polling windows, it eliminates the micro-stutters and tick lag commonly caused by large-scale logistics networks. You should build this to process massive quantities of quarry resources without getting banned by your server administrator.
- Footprint
- 21x15x6 blocks
- Power
- Zero native power for pipes; ~100+ kFE/t routed to machines (check JEI for specific machine loads)
- Throughput
- Hundreds of items per transfer pulse
- Difficulty
- advanced
Flow diagram
How items, fluids and energy move through the setup, left to right.
Swipe sideways to see the whole diagram
Materials
| Item | Count |
|---|---|
| Wrench (Pipez) | 1 |
| Filter Destination Tool | 1 |
| Item Pipe | 128 |
| Energy Pipe | 128 |
| Fluid Pipe | 64 |
| Gas Pipe | 64 |
| Universal Pipe | 128 |
| Basic Pipe Upgrade | 100 |
| Improved Pipe Upgrade | 8 |
| Advanced Pipe Upgrade | 12 |
| Ultimate Pipe Upgrade | 4 |
| Chest | 8 |
| Redstone Dust | 64 |
| Redstone Repeater | 8 |
| Redstone Torch | 2 |
Build it step by step
1Construct the Machine Spine
Lay out your 100+ processing machines in two parallel rows of 50, leaving a 3-block wide central maintenance corridor between them. Group similar machines together into Array A (e.g., crushers) and Array B (e.g., smelters). Leave at least one block of air above and below the rows for clean pipe routing.
2Run Dedicated Input Pipelines
Instead of using Universal Pipes everywhere, run dedicated pipelines along the back of the machines to save server calculations. Place Energy Pipes along the bottom face, Item Pipes along the back face, and Fluid or Gas Pipes along the top face depending on what each machine array requires.
3Install Output Collection Lines
Along the front face of the machines inside the central corridor, run a line of Universal Pipes (or dedicated Item Pipes if only exporting solids) leading directly to your Master Output Storage. Use the Pipez Wrench to shift-right-click the pipe connections touching the machines to set them to extract mode.
4Sever Unused Pipe Connections
Walk down the corridor with your Wrench and disconnect any pipes that accidentally bridged across different networks or attached to wrong machine faces. Preventing loopbacks and unnecessary inventory checks is the single most critical step in keeping the pathfinding calculation cost near zero.
5Insert Tier-Appropriate Upgrades
Place Ultimate Pipe Upgrades ONLY on the Energy Pipe extraction points at your Main Energy Buffer. Place Advanced Pipe Upgrades on the Master Input Chests, Improved Pipe Upgrades on Fluid/Gas intakes, and Basic Pipe Upgrades on all 100 individual machine output extraction connections.
6Configure Modes and Destination Filters
Open the GUI of your main input Item Pipe extraction nodes and set the distribution mode to Round Robin so items split evenly across the arrays. Use the Filter Destination Tool to bind specific raw materials strictly to Array A and intermediate dusts strictly to Array B, eliminating blind inventory scanning.
7Wire the Throttled Redstone Clock
Build a simple vanilla Redstone Repeater clock at the head of the factory that pulses once every 2 to 3 seconds. Run Redstone Dust over the input extraction nodes and output extraction nodes, and set every Basic, Improved, and Advanced Pipe Upgrade in the GUI to 'On with Redstone'.
How it works
The core philosophy behind this lag-free design is understanding how Pipez impacts server TPS. Every time an extracting pipe ticks, it scans the inventories of all connected destinations to see where items can fit. When players slap Ultimate Pipe Upgrades onto hundreds of machines, the server is forced to move full stacks every single tick, triggering thousands of inventory scanning checks per second when outputs inevitably back up. By restricting machine outputs to Basic Pipe Upgrades, you throttle the polling rate to once every 15 ticks (check JEI or mod configs for exact server tick intervals), reducing CPU overhead by over 90 percent while easily keeping up with machine processing speeds.
Furthermore, integrating a vanilla Redstone Clock takes optimization to the extreme by enforcing batch processing. By setting the upgrades to only operate on a Redstone pulse, the entire 100-machine network sits completely dormant for 40 to 60 ticks at a time, costing zero server calculation time. When the Redstone pulse hits, the Advanced Pipe Upgrades on the input chests instantly push massive batches of items into the pre-filtered machines in a single tick, and the outputs sweep finished goods into storage. Dedicated Energy, Fluid, and Item Pipes are used on the intake side rather than Universal Pipes so the code never checks fluid tanks for item capability or vice versa.
Upgrades and scaling
- Replace the vanilla Redstone Repeater clock with a modded timer block (if available in your modpack) to cleanly trigger a 1-tick pulse every 100 ticks without lighting update lag.
- Upgrade the Master Input and Output Chests to deep storage drawers or a digital storage interface so the destination pipes only have a single inventory slot index to scan.
- If a specific subset of high-speed machines outpaces the Basic Pipe Upgrade extraction rate, swap only those specific bottlenecks to Improved Pipe Upgrades rather than upgrading the whole line.
Common mistakes
- Putting Ultimate Pipe Upgrades on all 100 machine output nodes, which forces every pipe to scan the output chest 20 times a second even when the machines are completely empty.
- Using Universal Pipes for the entire factory backbone; Universal Pipes check item, fluid, energy, and gas capabilities on every connected block, multiplying tick time by four.
- Leaving the distribution mode on 'Nearest First' for large machine arrays, which causes the first three machines to clog while the pipe endlessly scans the remaining 97 machines.
- Allowing pipes to form closed visual loops, which while functionally fine in Pipez, often causes adjacent machine faces to accidentally register as valid inventory destinations.
FAQ
Why shouldn't I use Ultimate Pipe Upgrades everywhere if I am in the end-game?
Ultimate Pipe Upgrades check inventories every single tick (20 times a second) for items. Across 100 machines, that is 2,000 inventory scans per second, which destroys server TPS if the output storage fills up or machines sit idle.
How does the Filter Destination Tool reduce server lag?
Without a destination filter, an extracting pipe scans every connected machine in the line until it finds a valid slot. Binding a filter forces the pipe to check only the specified target inventory, skipping dozens of useless checks.
Do I need to throttle the Energy Pipes with Redstone too?
No, leave Energy Pipes on 'Always Active' with Ultimate Pipe Upgrades. Forge Energy distribution calculations are lightweight compared to multi-slot item inventory checks, and machines need constant power to prevent recipe resets.