Pipez · Explained · Intermediate
Pipez Distribution & Redstone Modes Explained: Round Robin vs Nearest First
Mastering distribution and redstone modes in Pipez is essential for preventing machine bottlenecks and automating your processing lines efficiently. In this guide, you will learn how to unlock and configure Round Robin, Nearest First, Furthest First, and Random routing logic, while integrating redstone control for smart resource extraction.
What you need
- Item Pipe, Fluid Pipe, Gas Pipe, or Universal Pipe
- Pipe Wrench (or any Forge-compatible wrench)
- Basic Pipe Upgrade (minimum required for Redstone modes)
- Improved Pipe Upgrade (minimum required for Distribution modes)
- A source inventory (such as a Chest or Tank) and multiple destination machines
- Redstone control sources (Lever, Redstone Torch, or Comparator)
Step by step
1Set Up Your Extraction Point
Connect your chosen Pipez pipe from a source block to at least two different destination inventories or machines. Equip your Pipe Wrench, hold Sneak, and right-click the specific connection segment touching the source block. A distinct visual flange will appear on the pipe end, confirming it is now in extraction mode.
Tip: Pipes will not move any resources at all unless at least one connected end is explicitly set to extract.
2Install the Required Pipe Upgrade
Right-click the extracting flange with an empty hand (or anything other than a wrench) to open the pipe configuration GUI. Place an Improved Pipe Upgrade (or a higher tier like Advanced or Ultimate) into the upgrade slot on the right side. While a Basic Pipe Upgrade unlocks redstone controls, you must use at least an Improved Pipe Upgrade to access distribution buttons.
Tip: Check JEI for the exact transfer rates of each upgrade tier, as higher tiers also drastically increase extraction speed.
3Configure Nearest First for Priority Lines
Locate the distribution mode button in the GUI, which defaults to Nearest First. In this mode, the pipe calculates the block distance along the pipe network and sends everything to the closest valid inventory until it is completely full. Use this setting when you want a primary storage drawer or priority machine to fill up before overflowing into secondary storage.
4Switch to Round Robin for Load Balancing
Click the distribution button to cycle to Round Robin mode when connecting one output to an array of identical machines, such as multiple furnaces or crushers. Instead of stuffing the first machine in the line, the pipe will alternate its deliveries evenly across all connected and valid destinations. This ensures all your machines work simultaneously for maximum processing throughput.
Tip: If one destination becomes full during Round Robin cycling, the pipe will automatically skip it and distribute to the remaining open inventories.
5Utilize Furthest First and Random Modes
Cycle the distribution button further to access Furthest First or Random modes for specialized builds. Furthest First sends payloads to the inventory at the very end of the pipe path, working backward only as distant containers fill up. Random mode selects a valid destination completely by chance on each extraction operation, which is useful for non-deterministic sorting or loot distribution systems.
6Automate Extraction with Redstone Modes
Click the Redstone Mode button in the GUI to toggle between three states: Ignore, On When Powered, and Off When Powered. By default, it is set to Ignore, meaning the pipe works continuously regardless of external signals. Switch it to On When Powered and place a Lever or Redstone Comparator adjacent to the extracting pipe segment to halt transfers until a redstone signal is actively applied.
Tip: When using a Universal Pipe, remember that each resource tab on the left side of the GUI has its own independent Distribution and Redstone mode settings.
7Clone Your Configurations
If you are building a large factory with dozens of extraction points, you do not need to click through the GUI for every single pipe. Remove your configured Improved or Advanced Pipe Upgrade from the GUI, place it into a crafting grid alongside a blank upgrade of the exact same tier, and craft them together. This duplicates all distribution, redstone, and filter settings onto the blank upgrade instantly.
How it works
Understanding Pipez's performance design explains how its routing logic operates. In a Pipez network, regular connecting pipe segments are simple blocks without block entities, meaning they do not tick or store data. Only the extracting pipe end is an active block entity. Because of this, all pathfinding, distance checking, and redstone detection occur strictly at the extraction block.
When an extracting pipe prepares to push a payload, it scans the connected pipe grid to compile a list of valid receiving inventories and measures their path distance in blocks. Nearest First and Furthest First simply sort this destination list by path length in ascending or descending order. Round Robin maintains an internal index pointer on the extracting pipe, advancing to the next valid inventory in the list after every successful transfer cycle.
Furthermore, all configuration data—including your chosen distribution logic and redstone state—is saved directly onto the NBT data of the Pipe Upgrade item itself rather than the pipe block in the world. If you pull the upgrade out of the pipe, the pipe immediately reverts to its slow, default Nearest First and Redstone Ignore behavior until an upgrade is reinserted.
Common mistakes
- Powering the wrong pipe segment: Applying a redstone signal to the middle of a pipe line or the insertion end does nothing. Because only the extracting pipe is a ticking block entity, redstone signals must be directed straight at the extracting pipe block.
- Using a Basic Upgrade for load balancing: Players often craft a Basic Pipe Upgrade expecting to use Round Robin, only to find the button locked. You must craft at least an Improved Pipe Upgrade to unlock distribution modes.
- Expecting strict 1-to-1 item splitting in high-tier Round Robin: Higher-tier upgrades extract larger batches of items per operation. If an Ultimate Upgrade extracts a full stack at once, Round Robin will send that entire stack to Machine A, and the next stack to Machine B. If you only have one stack total in the source chest, Machine A gets all of it.
- Losing settings by breaking upgrades carelessly: Since settings are stored inside the upgrade item, mixing up configured upgrades with blank ones in your inventory can be confusing. Always check the item tooltip in your inventory to verify if an upgrade holds saved configuration data.
FAQ
Why is the Distribution Mode button grayed out or unclickable?
You either have no upgrade installed or are only using a Basic Pipe Upgrade. You must insert an Improved, Advanced, Ultimate, or Infinity Pipe Upgrade to unlock distribution modes.
How does Round Robin handle two paths that are equal distance vs different distances?
Distance does not affect Round Robin order. The extracting pipe simply indexes all valid connected destinations and cycles through them one by one per extraction operation, regardless of how far away they are.
Can I set Fluid extraction to Round Robin while keeping Item extraction on Nearest First in the same block space?
Yes. If you use a Universal Pipe with an Improved Upgrade or higher, you can click the Item and Fluid tabs on the left side of the GUI and set completely different distribution and redstone rules for each type.
What happens in Nearest First mode if two inventories are the exact same block distance away?
The pipe will prioritize one based on internal directional scanning order (such as North/South/East/West block coordinates) and fill it completely before moving to the second equidistant inventory.
By combining at least an Improved Pipe Upgrade with smart distribution and redstone settings at the extraction point, you can effortlessly balance machine loads and automate resource flow with minimal server lag.