kc00l’s Pipeworks
Factorio-style fluid pipes and tanks: every connected run is one segment holding one fluid
介绍

Pipeworks is a simple fluid logistics mod. It adds pipes, a storage tank, a pump to draw fluid from a source and an outlet to place it in the world.
Why?
Because I wanted my own fluid logistics for the -Works mods suite. Nothing special here, simplicity rules.
NeoForge, Minecraft 26.1.2 only. Pipeworks is early work, so please report any issues you find on GitHub.
To play Pipeworks beside every other FactoryWorks mod, install the FactoryWorks Showcase modpack from CurseForge.
Pipeworks is built for modpacks and other mods. It registers no fluid and no machine. It carries whatever fluid another mod puts in, as Beltworks carries any item, and the creative pipe lets you try it with nothing else installed.
Features
- Pipes and a storage tank. A pipe holds 100 mB and a tank 25,000 mB, Factorio’s volumes. Pipes draw an arm toward each pipe, tank or port they link to, and toward any block beside them that holds fluid.
- One fluid per segment. A pipe or tank that would join two segments holding different fluids is refused, with a message saying so.
- Breaking splits fairly. Breaking a pipe, tank or port splits its segment by capacity, and the broken block takes its share of the fluid. Segments are saved with the world and keep their fluid while their chunks are unloaded.
- See the level. A storage tank shows how full its segment is, in fifteen steps, as fluid of the right colour in its glass. With Jade installed, looking at a pipe, tank or port shows its segment’s fluid, amount and capacity.
- The creative pipe.
pipeworks:creative_pipe, in the creative tab, keeps its segment full of the fluid its screen sets. Click its slot with a bucket, or any item holding a fluid, to set it, and with an empty cursor to clear it. With JEI or EMI installed, a fluid can be dragged onto the slot.
Not yet: the in-line pump, pipe-to-ground, and a 3 by 3 tank.
For pack authors
- Closing a pipe’s sides. A pipe’s side can be closed, to keep two runs apart or cut a pipe off from a block holding fluid. It is off until a pack allows it: put the items that should do it in the item tag
pipeworks:closes_sides, which ships empty. A right-click on a pipe with one of them toggles the side clicked. Opening a side that would mix two fluids is refused.
For mod authors
- Ports. A block entity joins the segments beside it by implementing
FluidPort(io.github._5thlayer.pipeworks.api) and callingFluidPorts.join(this)fromonLoad. Its block callsFluidPorts.leave(level, pos)when removed, and it fills and drains the segment throughFluidPorts.segment(level, pos), a NeoForgeResourceHandler<FluidResource>. A pipe or tank also exposes that handler asCapabilities.Fluid.BLOCK, except on a closed side. - Planning pipes.
FluidPipes.wouldLinkandFluidPipes.wouldDrawArmread what a pipe placed at a position would link to and draw, for a mod that lays pipes for the player.FluidPipes.toggle,close,openandisClosedclose sides from a mod’s own tool. CHANGELOG.mdlists what each version changed for a mod building against it.
Dependencies
Groundworks is required and a separate download. Jade, JEI and EMI are optional, as above.
Art
The pipe, tank and creative pipe models and textures are from Oritech v1.2.12 by Rearth, CC0 1.0. They are renamed and retextured to Pipeworks’ ids; none is from the ArtOfTecharium or unused-textures sets Oritech credits under other licences. REUSE.toml records each file.
Developing
A 5thlayer Library: a mod the FactoryWorks Pack consumes as a pinned local jar. See CONTEXT.md for the domain glossary. sh ./gradlew build runs the JUnit tests on a plain JVM, and sh ./gradlew runGameTestServer the game tests headless. The segment rules are segment/SegmentGraph, with no Minecraft types, so they are tested without a world.
License
MIT, with the art above under CC0 1.0. Source is on GitHub.
This is a hobby project: I’m not monetizing any part of FactoryWorks. I’m building it for fun, to see how far I can take it.
常见问题
kc00l’s Pipeworks 支持哪些 Minecraft 版本?
kc00l’s Pipeworks 支持 Minecraft Java 版 26.1.2,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
kc00l’s Pipeworks 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
kc00l 的其他作品
查看全部 →Mechanical Mastery Plus
基于 Ammonium 制作的 Forge 1.19.2 版 Mechanical Mastery 分支,并加入了一些变化
Groundworks
Place whole lines of blocks in one drag, preview every placement before you click, rotate, raise and lower it, and take lines back up with one Dismantle, all in vanilla.
kc00l’s Craftworks
Factorio-style automated crafting: a Personal Assembler that plans every intermediate, plus FE-powered Assemblers and an electric Refiner.
Beltworks
Factorio-style belts for NeoForge, laid block by block on the grid, with splitters, slopes and four speed tiers. Loaders move items between belts and any inventory, vanilla or modded, so it works with any tech mod.
评论
登录后评论和评分