Community Fluid API

A from-scratch implementation of discontinued (Neo)Forge fluid API.

File Details

cfa-0.3.0.jar

  • B
  • Jun 15, 2026
  • 120.41 KB
  • 9
  • 26.1.2
  • NeoForge

File Name

cfa-0.3.0.jar

Supported Versions

  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:community-fluid-api-1568813:8251935"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Huge list of improvements. Check the commit log for details. Most user-visible changes:

  • Nautilus now path correctly in modded fluids (no more awkward floating around)
  • (Riptide) Tridents work
  • Drowned are now smart enough to take cover in modded fluids
  • Underwater sounds, splashing on entering/exiting, etc. now apply correctly
  • Splash bubbles have the correct duration
  • Wolves can now be wetted
  • Dolphins are probably less likely to commit suicide
  • First pass at supporting a bunch of additional animals, and their spawns
  • First pass at thrown projectile slowdown
  • Item movement logic is now implemented
  • Several more methods have been patched into FluidType
  • Fluids can now stop mobs from catching fire (from sunlight) in the first place
  • fishing methods now have extra context, to simplify loot tables
  • FluidType light levels are now respected (unless blocklight is higher; still need to set LiquidBlock's hasDynamicLightEmission to true if you plan on dynamic light levels)
  • First pass at supporting vehicle slowdown/ quieting

Will probably add a method to change out the splash particle later, in case your fluid isn't blue.