介绍
中文介绍正在准备中,下面暂时显示原文。
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 支持哪些 Minecraft 版本?
Transport-Lib 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Transport-Lib 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Thepigcat76 的其他作品
查看全部 →Cable Facades
by Leclowndu93150, Thepigcat76
为各种管道添加伪装板
969.9万
2 个月前
Modrinth · CurseForge
MooFluids Modern
by Project8gbDeRam, Thepigcat76 等
Cows with Fluid !
212万
9 个月前
CurseForge
NauTec
by ReclipseTheOne, Thepigcat76 等
Nautec is a mod about exploring the depths of the ocean, discovering new technologies both powerful and dangerous.
193.4万
10 个月前
Modrinth · CurseForge
Eccentric Tome Updated
by Thepigcat76, Project8gbDeRam
Book of books (rewrite of Akashic Tome and port of Eccentric Tome)
99.5万
1 年前
CurseForge
评论
登录后评论和评分