Fluid Container API

Description

This is a fluid container and transfer API for Luanti. It augments the default bucket mod and adds these features:

  • Nodes can now have "internal buffers" of fluid.
  • Buckets can be registered with a color instead of an image.
  • Buckets have callbacks that can insert and take fluid from certain nodes with internal buffers.
  • Fluid storage tanks!
  • Fluid transfer nodes!

Note 1: Default storage tanks are registered for all fluids that have a bucket.

Note 2: "Compatible games" list only shows games, where the bucket_compat compatibility library is officially supported. There shouldn't be reason for this mod not to work anywhere else, except for potentially the bucket-directly-into-node placement.

API documentation is available in the README.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2026-03-22

Download

Luanti 5.6+

2026-03-22 09:55 UTC

2026-03-22 🔗

  • Fixed a potential "attempt to index local 'node' (a nil value)" crash (initially reported by sfence).
  • Changed tank node draw type to "glasslike_framed" from "glasslike_framed_optional"; "Connect glass" setting is no longer required (contributed by CodingMantisUA).

2025-10-27

Download

Luanti 5.6+

2025-10-27 18:59 UTC

2025-10-27 🔗

  • Fix fluid transfer nodes' dig groups for Mineclonia.

2025-09-04

Download

Luanti 5.6+

2025-09-04 14:43 UTC

2025-09-04 🔗

  • Fixed an issue where the node_io API was used incorrectly when inserting fluids into nodes.
  • Added a delay to the initial load of transfer pumps to account for formation of multi-node structures, such as those from Elepower.

Make sure you get the latest version of melterns and/or elepower as well, if you're playing with those mods!

2025-05-31

Download

Luanti 5.6+

2025-05-31 06:24 UTC

2025-05-31 🔗

  • Added another hack workaround for fetching flowing nodes from source nodes (thanks MonkeyMatrix).
  • Added a new utility to fetch source nodes from flowing nodes.

2025-04-22

Download

Luanti 5.4+

2025-04-22 18:18 UTC

2025-04-22 🔗

  • Add translation strings.
  • Add crafting recipes to non-MTG games (oops, forgot about those).
  • Fix bucket fetching code for MTG bucket based mods.
All releases

Information

Provides

bucket_compat fluid_lib fluid_tanks fluid_transfer

Dependencies

Required
No required dependencies
Optional
bucket default mcl_buckets mcl_core mesecraft_bucket node_io xcompat

Information

Type
Mod
Technical Name
fluid_lib
Languages
English
License
MIT for code,
CC0-1.0 for media.
Maintenance State
Beta
Added
2018-07-29 12:53 UTC
Maintainers
IcyDiamond sirrobzeroone

Used By