Waterhook
Waterhook is a specialized Minecraft mod that extends Forge functionality by adding a specific event related to the creation of infinite water sources in the game.
For Mod Developers
If you're creating mods and want to control the infinite water formation process, you can subscribe to the info.loenwind.waterhooks.WaterFormEvent event. To block water source creation, simply cancel this event. Notably, this event is a subclass of net.minecraftforge.fluids.FluidEvent, which allows avoiding hard dependency on Waterhook - you can subscribe to the parent event and check the string representation of the class name.
For Players
Starting from version 1.2, Waterhook provides the ability to completely disable the infinite water mechanism. This setting is available both through editing the configuration file and through the in-game "Mod Options" menu.