π Pipes & Networks
Deepslate Industries includes a modular, direction-aware piping system for automation and logistics. There are currently three core types of pipes:
π¦ Item Pipes
Item Pipes allow you to transport items between machines, inventories, and containers.
- π Connections:
- Automatically connect to chests, hoppers, and machine inventories.
- Use a Wrench to toggle extraction mode on any pipe face.
- βοΈ Functionality:
- Items are extracted in batches (default: 16 per tick).
- Uses an internal pathfinding system to find the closest valid destination.
- Smartly avoids loops and redundant insertions.
- π§ Special Logic:
- Does not insert into the source inventory it extracts from.
- Supports double chests, sided inventories, and priority logic (coming soon).
β‘ Energy Pipes
Energy Pipes transfer Redstone Flux (RF) from power sources to machines.
- π Usage:
- Connect a power source (e.g., Basic Generator) to any compatible machine.
- Supports Tech Rebornβs energy API under the hood.
- π Flow Direction:
- Energy flows from output β input using smart BFS-based logic.
- Wrenching a pipe will not affect energy flow (all directions enabled by default).
π§ Fluid Pipes (WIP)
Fluid Pipes are currently in development.
- π§ͺ Will support fluids from standard Minecraft tanks and modded fluid containers.
- π Integration with other fluid-based machines is planned in future versions.
π Network System
All pipes utilize a Pipe Network Manager for efficient routing:
- π Pathfinding:
- Breadth-first search (BFS) to locate valid endpoints.
- Respects directionality, filters (future), and extraction cooldowns.
- β»οΈ Dynamic Updating:
- Pipes refresh their network when placed, broken, or wrenched.
- No manual chunkloader or world reset needed.