Disclaimer: this library is in development, so you might encounter problems. Please report any problems you find on github.
It's a library making it easier for mod developers to add fluids.
I guess it's possible to add some things to existing fluids using datapacks and tags, but this is meant for mod developers.
All you'll have to do is include the JitPack repository in your project like this:
repositories {
maven {
name = "JitPack"
url = "https://jitpack.io"
}
}
Then you'll have to actually include the library:
dependencies {
include modImplementation("top.offsetmonkey538:fluid-lib:[VERSION]")
}
Make sure to use the latest version of the library.