Waterhook
Waterhook is a tool/core mod to add a "water forming" event to Forge. Free Minecraft Java mod — download and open it in the game.
⬇ Download on CurseForgeWaterhook adds an event to Forge that is fired when Minecraft creates a water source block (infinite water).
Mod authors: To use Waterhook to prevent infinite water: Subscribe to the event info.loenwind.waterhooks.WaterFormEvent. Cancel it when you want to block infinite water. It is a sub-class of net.minecraftforge.fluids.FluidEvent, you can subscribe to that one and check the string form of the class name if you don't want a hard dependency on this mod.
Players: From version 1.2 on you can configure it to just disable infinite water completely. This can be done in the config file or with the ingame "Mod Options" menu.
Waterhook is a free Minecraft Java mod. Downloaded 2,843,520 times (via CurseForge). Download it and open it directly in the game.