Transport-Lib
Modby thepigcat76
A simple library allowing modders to create custom pipe networks
Type
Mod
CurseForge Downloads
3,701
CurseForge ID
1438695
Last Updated
Oct 4, 2026
Description
Transport Lib
A library to streamline the process of creating transport networks for any resource.
The library supports the following parameters by default:
- Resource loss per block (Energy loss, Fluids leaking…)
- Custom Transport Handlers for merging/splitting resources
- Syncing resource amounts to the client for visual display
- Accessing resources in cables through block capabilities (WIP)
Here is a concrete example of how to register a network.
public static final DeferredHolder<TransportNetwork<?>, TransportNetworkImpl<Integer>> MANA_NETWORK = NETWORKS.register("mana", () -> TransportNetworkImpl.builder(ManaTransportingHandler.INSTANCE) .synced(ByteBufCodecs.INT) .lossPerBlock((level, node) -> 1f) .transferSpeed(TransferSpeed::instant) .interactorCheck(((level, pos, direction) -> level.getBlockEntity(pos.relative(direction)) instanceof ManaBatteryBlockEntity)) .build());Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Shared Pets
Share ownership of tamed wolves and cats with other players via in-game GUI — co-owners, follow modes, ownership transfe...
Piggybanks
A mod that adds a unique form of item storage that collects interest!
Better Villages - Bountiful Compatibility
Adds compatibility between Better Villages and Buntiful
Immersive Vehicles Trin Decor Pack
decor pack for Immersive Vehicles
Day Counter
A simple mod for drawing custom UI elements to your screen.
Infinite Storage
Large storage