Waterfinity

Description

waterfinity 🔗

Finite liquids implementation for modern Minetest.

Note: Recommended to add this mod to new worlds only. For MTG, the default settings replace water and lava in mapgen but not existing terrain.

Physics 🔗

  • Source liquid always tries to produce more flowing liquid.
  • Flowing liquid evens out with its neighbours.
  • Thin liquid runs towards holes up to N blocks away.
  • If the Jittering setting is enabled, almost even liquid will jitter around randomly, so all bodies even out "eventually".

Mod support 🔗

  • default: Finite water and lava replace the 'regular' variants in generation.
  • buckets: Custom buckets are supported with basic liquid pickup/place logic.
  • mesecons: Pistons can push into liquids and compress them against blocks. (WIP)

API 🔗

waterfinity.register_liquid {
    source = "waterfinity:spring",
    flowing = "waterfinity:water",
    
    drain_range = 3,
    jitter = true,
    
    bucket = "waterfinity:bucket_water",
    bucket_desc = S("Finite Water Bucket"),
    bucket_images = {
        "waterfinity_bucket_water_part.png^waterfinity_bucket_bar_1.png",
        "waterfinity_bucket_water_part.png^waterfinity_bucket_bar_2.png",
        "waterfinity_bucket_water_part.png^waterfinity_bucket_bar_3.png",
        "waterfinity_bucket_water_part.png^waterfinity_bucket_bar_4.png",
        "waterfinity_bucket_water_part.png^waterfinity_bucket_bar_5.png",
        "waterfinity_bucket_water_part.png^waterfinity_bucket_bar_6.png",
        "waterfinity_bucket_water.png^waterfinity_bucket_bar_7.png",
    }
}
  • source: Optional. The node for the 'spring' liquid. Infinite, always tries to produce more liquid, absorbs liquid from above.
  • flowing: The node for the finite liquid.
  • drain_range: Defaults to 3. How far thin liquid will run towards holes.
  • jitter: Defaults to true. Whether almost even bodies will jitter when the Jittering setting is enabled.
  • bucket: Optional. The prefix for bucket items to be registered for the liquid. E.G. "waterfinity:bucket_water_1"
  • bucket_desc: The description for bucket items. E.G. "S("Finite Water Bucket")"
  • bucket_images: A list of bucket item textures.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2026-04-20

Download

2026-04-20 05:33 UTC

2026-04-20 🔗

  • Add proper groups to finite water, lava nodes
  • Silence warning message relating to mesecons
  • Reduce delay on downwards updates
  • Adjust update delay logic
  • Use 8 water levels
  • Implement better piston-pushing logic
  • Fix placing liquid in another liquid & update on falling checks
  • More robust jitter
  • Many other changes
  • Adjust post effect color
  • Fix bug in flow detection
  • Fix errors when interacting with unknown nodes

2024-05-02

Download

2024-05-02 07:50 UTC

2024-05-02 🔗

No release notes

All releases

Information

Provides

waterfinity

Dependencies

Required
No required dependencies
Optional
bucket default mesecons

Information

Type
Mod
Technical Name
waterfinity
Languages
English
License
MIT for code,
CC-BY-SA-3.0 for media.
Maintenance State
Work in Progress
Added
2024-05-02 07:49 UTC
Maintainers
rdococ