Compatibility
Minecraft: Java Edition
26.1.x
1.21.11
1.21.1
Platforms
Supported environments
Client and server
Tags
Creators
Details
Licensed MIT
Published 2 months ago
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.


