Mineuniverse
Mods
Transport-Lib

Transport-Lib

MOD
A simple library allowing modders to create custom pipe networks
by thepigcat76
Download Claim this project
Add a badge to your pageLink to Transport-Lib from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the mod page on MineUniverse.

4,087 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
API and Library Energy, Fluid, and Item Transport
Advertisement Remove ads with Premium →

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());
transport_lib-1.0.4.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-07-12 Get
transport_lib-1.0.2.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-02-03 Get
transport_lib-1.0.3.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-02-03 Get
transport_lib-1.0.1.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-24 Get
transport_lib-1.0.0.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-01-20 Get

More from thepigcat76

Advertisement Remove ads with Premium →

You Might Also Like