Skip to content

FluidLib

Easy places to do custom fluid logic

Fabric
Loaders
Fabric
Downloads on Modrinth
268
Followers on Modrinth
0
versions
7
Updated
April 1, 2026Apr 1
Published
in 2026
This is a library — other mods need it, and it adds nothing to the game by itself

At a glance

A library: other mods need it
Runs on Fabric
For Minecraft 1.21.1, 1.21.11–26.1.2
Needed in the game and on the server
Latest version — 0.1.4+26.1 from April 1, 2026
Requires Fabric API
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.21.1, 1.21.11–26.1.2

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

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More