Перейти к содержимому
Mineforgian

FluidLib

Easy places to do custom fluid logic

Загрузки
129
Подписчики
0
Обновлён
1 апреля 2026 г.
Лицензия
MIT

Опубликован 24 февраля 2026 г.

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.

Ченджлог

0.1.4+26.1Релиз26.1, 26.1.1, 26.1.2 · 1 апреля 2026 г.
0.1.4+1.21.11Релиз1.21.11 · 1 апреля 2026 г.
0.1.4+1.21.1Релиз1.21.1 · 1 апреля 2026 г.
0.1.3+26.1Релиз26.1 · 28 марта 2026 г.
0.1.3+1.21.1Релиз1.21.1 · 28 марта 2026 г.
0.1.2+1.21.1Релиз1.21.1 · 7 марта 2026 г.

First release for 1.21.1.

0.1.2+1.21.11Релиз1.21.11 · 7 марта 2026 г.

First Release for 1.21.11, stable features

Комментарии

Загружаем…