- Loaders
- Fabric
- Downloads on Modrinth
- 268
- Followers on Modrinth
- 0
- versions
- 7
- Updated
- April 1, 2026Apr 1
- Published
- in 2026
At a glance
Needed both in the game and on the server
This project has been archived due to Fabric's new EntityFluidInteractionRegistry and FluidBehavior api.
FluidLib
A library made to de-hardcode the fluid logic in fabric.
Features
- Basic fluid class to abstract out some stuff
- Custom push values using the TagManager
- Custom Burning Fluid to set the player on fire
- Swimmable fluids using an interface and a tag
- Bottleable fluids with an interface
- Boatable fluids using a tag
- Fluids that stop fall damage with a tag
- Ability to make custom potion mixes with an event
- Drownable fluids(tag)
- Fluids that can be used to hydrate farmland(tag)
- Runtime registering and deregistering of pushing tags, swimming tags, burning tags(1.21.1), and farmable tags
How To Add
To add fluidlib to your project, first add mavenCentral() and maven { url 'https://jitpack.io/' } in your repositories block.
Then, add it in your dependencies block like this:
1.21.11-:
modImplementation("com.infinitychances:fluidlib:VERSION+MINECRAFT_VERSION")
26.1+:
implementation("com.infinitychances:fluidlib:VERSION+MINECRAFT_VERSION")
Wiki/Docs
Wiki and docs are in progress, so until it is done any questions can be asked in my discord.
FAQ
How to install FluidLib?
Install Fabric for your Minecraft version, download FluidLib for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does FluidLib support?
FluidLib has builds for Minecraft 1.21.1, 1.21.11–26.1.2.
Is FluidLib needed on the server?
Needed in the game and on the server