Transport-Lib
A simple library allowing modders to create custom pipe networks
- Loaders
- NeoForge
- Downloads on Modrinth
- 591
- Followers on Modrinth
- 1
- version
- 1
- Updated
- May 21, 2026May 21
- Published
- in 2026
At a glance
Needed both in the game and on the server
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());FAQ
How to install Transport-Lib?
Install NeoForge for your Minecraft version, download Transport-Lib for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Transport-Lib support?
Transport-Lib has builds for Minecraft 1.21.1.
Is Transport-Lib needed on the server?
Needed in the game and on the server