All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Fluidlogged API

Fluidlogged API

by jbredwards • Downloads: 3 • Followers: 0
Description
Gallery
Changelog
Versions

A library mod that adds highly customizable fluidlogging to 1.12.2!

Fluidlogging is a mechanic that's inspired by Vanilla's Waterlogging mechanic, and that functions very similarly. The main difference is that Fluidlogged API has support for non-source fluids and all modded fluids!

curseforge modrinth

If you're a modpack developer wanting to add Fluidlogged API to a modpack distributed outside of CurseForge or Modrinth, use File Director to avoid reuploading Fluidlogged API's files.


Any blocks can be made fluidloggable or non-fluidloggable through Fluidlogged API's configs, however it does make certain types of blocks fluidloggable by default. Any properly coded modded variants of these blocks are supported by default. Mods may also add fluidloggable blocks from their end. To see the full list of fluidloggable blocks, run the /fluidlogged_api print command in-game to create text files containing all active fluidlogging information.

Along with this, Fluidlogged API will download and apply community configs! This is to minimize the amount of work that players must do to have complete fluidlogging across mods, but this behavior can be fully disabled in fluidlogged_api/general.cfg if desired.


Fluidlogged API also heavily improves fluid collision accuracy, and fixes various Vanilla and modded fluid-related issues. Some Vanilla bug fixes include:

  • MC-2591 Walking over the corner of lava deals damage
  • MC-4533 Water graphical glitch when connecting diagonally
  • MC-68129 Smooth lighting doesn't work properly underwater
  • MC-100886 Falling sand with ID of water or lava does not render
  • MC-125771 Block selection not showing up underwater
  • MC-127030 Flowing water attempts to connect to waterlogged blocks when it shouldn't
  • MC-127108 Waterlogged blocks turn lava into obsidian or cobblestone on physically unconnected sides
  • MC-127270 Visual water level inside waterlogged blocks does not adjust correctly
  • MC-227302 Smooth lighting doesn't work properly on the water surface

Known Incompatibilities Known Solutions
Better Water Mesh None.
Corail Tombstone Use Corail Tombstone v4.6.0 or later!
Oceanic Expanse Use Oceanic Expanse v1.2.0 or later!
Phosphor Use Alfheim or 燐/Hesperus instead!
The Aether II Phosphor comes bundled with The Aether II. Luckily there exists The Aether II: Phosphor Not Included, which does as the name suggests!
Vintagium Use Celeritas instead!

Q / A:

How does this mod work?

Reading through the source code would be the best way of truly understanding the inner workings of this mod, but I'll describe a simplified version here:

For each block in the world, Vanilla has two features that get stored in each chunk: a required IBlockState and an optional TileEntity. Fluidlogged API adds a third feature that gets stored in each chunk: an optional FluidState, which stores the fluidlogged fluid if present.

This mod applies ASM (a bytecode manipulation library that's bundled with Forge) to allow Vanilla and Forge to properly read and make use of FluidStates.

Is this mod safe to add to existing worlds?

It's generally a good idea to always back up your worlds before adding any new mods. That being said, this mod doesn't change the behavior of IBlockStates, so adding it to existing worlds should be fine! Removing this mod from existing worlds should also be fine, just note that existing FluidStates will be removed and won't be recoverable upon doing so.

How do I use this mod's configs? How do I use this mod as a dependency?

This mod's wiki will eventually cover both of those topics, for now it only covers how to use this mod's config. If you want to use Fluidlogged API as a library (optional or required dependency), the best I can do until I finish the wiki is reference you to the source code of these other projects of mine: Campfire, Seared Ladder Backport, Subaquatic.

What should I do if I run into any bugs, crashes, or mod incompatibilities?

Reporting anything you find to this mod's issue tracker would greatly help me improve this mod! Without people generously taking the time to do so, this mod would not be where it is today!


If you want fluidlogging for versions beyond 1.12.2, check out Fluidlogged (not affiliated with Fluidlogged API) and Towelette!
Direct contact: jbred.dev@gmail.com
This mod will not be ported.

How to Install Fluidlogged API (Mod)

Fluidlogged API by jbredwards is verified for Forge across Minecraft versions 1.12.2 (latest release: 3.3.3, file size: 789 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.12.2) and platform (Forge).
  2. Make sure you have the compatible loader or environment installed for Forge.
  3. Move the downloaded Fluidlogged API file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.12.2
Forge
2mo ago 2
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
1.12.2
Forge
2mo ago 1
[3.3.3] v3.3.3-mc1.12.2 by jbredwards on Oct 18, 2026
Download

[3.3.2] v3.3.2-mc1.12.2 by jbredwards on Oct 18, 2026
Download
[3.3.1] v3.3.1-mc1.12.2 by jbredwards on Oct 18, 2026
Download
[3.3.0] v3.3.0-mc1.12.2 by jbredwards on Oct 18, 2026
Download
  • Features:**
  • Improve water particle water collision detection:
  • Accounts for fluid height.
  • Allows water particles to survive in any blocks that can create them (entities swimming in blocks that return true for isAABBInsideMaterial, but aren't a fluid, for example).
  • New config setting that allows FluidState redstone behavior to be disabled.


  • Compatibility Fixes:**
  • Cleanroom Mod Loader:
  • Fix a strange crash with Cleanroom on mobile (fixes [#292](https://github.com/jbredwards/Fluidlogged-API/issues/292)).
  • Should no longer require the Fugue mod for Fluidlogged API to run.
  • Dynamic Surroundings:
  • Account for FluidStates when checking fluid color for the position.
  • Add FluidState support for Dynamic Surroundings' underwater breathing effect.
  • Fluid drop particles no longer phase through FluidStates.
  • Now plays all ambient/random block effects for FluidStates!
  • Rain drop particles no longer phase through FluidStates.
  • Rain drop particles now create water ripples on FluidStates.
  • Steam jet effect now accounts for FluidStates when counting the amount of surrounding "hot" blocks.
  • Water splash jet effect is now FluidState-sensitive.
  • Galacticraft:
  • Fix a crash when fire checks whether certain Galacticraft fluids are flammable (fixes [#291](https://github.com/jbredwards/Fluidlogged-API/issues/291)).
  • Make Galacticraft's fluid drip particle account for FluidStates during its collision check.
  • Immersive Engineering:
  • Wires (and other IE-like wires from other addons like Industrial Wires) now correctly trigger electrocuted damage + knockback with this mod installed (fixes [#286](https://github.com/jbredwards/Fluidlogged-API/issues/286)).
  • NuclearCraft:
  • Make all NuclearCraft source gas fluid blocks only vaporize their FluidState while fluidlogged instead of the whole block (fixes 2nd half of [#289](https://github.com/jbredwards/Fluidlogged-API/issues/289)).
  • OreLib:
  • Allow OreLib's IBlockAccessEx class to read FluidStates. This fix was originally part of my Subaquatic mod, but I'm moving it so it can be updated here as necessary.
  • Tropicraft:
  • Allow Tropicraft's fish hook entity to account for FluidS
...
[3.2.0] v3.2.0-mc1.12.2 by jbredwards on Oct 18, 2026
Download
  • Features:**
  • Add Modrinth updateJSON url.
  • Minor performance improvements.



  • API Changes:**
  • New method: ...api.util.IFluidloggable.canFluidConnect(IBlockAccess, BlockPos, IBlockState, EnumFacing).
  • New method: ...api.util.FluidloggedUtils.canFluidConnect(IBlockAccess, BlockPos, IBlockState, EnumFacing).
  • Restore FluidloggedUtils methods that were accidentally removed in v3.0.0.
[3.1.3] v3.1.3-mc1.12.2 by jbredwards on Oct 18, 2026
Download

[3.1.2] v3.1.2-mc1.12.2 by jbredwards on Oct 18, 2026
Download
[3.1.1] v3.1.1-mc1.12.2 by jbredwards on Oct 18, 2026
Download
  • Compatibility Fixes:**
  • Astral Sorcery:
  • Crystal cluster creation now accounts for FluidStates (only if the block there is replaceable).
  • Fix crystal tool item entity crash ([#266](https://github.com/jbredwards/Fluidlogged-API/issues/266)).
  • Liquid Starlight now uses this mod's fluid collision system, fixing some bugs.
[3.1.0] v3.1.0-mc1.12.2 by jbredwards on Oct 18, 2026
Download
  • Features:**
  • Fluidlogged API's config gui is now translucent while in a world. This will probably be added to all of my other mods as well!



  • API Changes:**
  • ...mod.common.message.SMessageSyncRuntimeConfigs has been renamed to ...mod.common.message.SMessageSyncConfigs. This is an internal class, so it shouldn't affect any mods.
  • New interface: ...api.message.IServerMessageHandler. Functions as a server-side counterpart to IClientMessageHandler.
  • New method: ...api.message.IClientMessageHandler.isCtxValid(REQ, MessageContext).
  • New method: `...api
...
[3.0.6] v3.0.6-mc1.12.2 by jbredwards on Oct 18, 2026
Download
[3.0.5] v3.0.5-mc1.12.2 by jbredwards on Oct 18, 2026
Download

[3.0.4] v3.0.4-mc1.12.2 by jbredwards on Oct 18, 2026
Download
[3.0.3] v3.0.3-mc1.12.2 by jbredwards on Oct 18, 2026
Download
[3.0.2] v3.0.2-mc1.12.2 by jbredwards on Oct 18, 2026
Download
  • Bug Fixes:**
  • Cleanroom support (without Fugue).
  • Fix Chiseled Me mod compatibility.
Fluidlogged API Icon
Download Fluidlogged API
Select game version
Select platform