
Malek's Fluid Interaction API
In Fabric, fluid interactions are handled in two different locations, creating difficulties when using mixins. This library provides a unified registration system for implementing interactions between vanilla and modded fluids. It works correctly with any fluids implementing fluid blocks without using mixins of the FluidBlock class.
The library combines the two locations of fluid interaction processing - Fluid and FluidBlock, providing an easily configurable and extensible FluidInteractionGroup system. This allows creating any types of interactions: checking for nearby fluids, spawning mobs when fluids mix, generating ores, or implementing practically any other mechanics when fluids come into contact.