Malek's Fluid Interaction API

Malek's Fluid Interaction API

174 Downloads

Fluid interactions in fabric are done in two different places, and are rather strange to mixin, so this library provides a standard registry to implement fluid interactions for vanilla and modded fluids, anything that impelements the fluid block and doesn't mixin the FluidBlock class should work perfectly fine! Also it consolidates the two locations the Fluid and FluidBlock where fluid interactions are handeled, and it provides an easily overridable and extendable FluidInteractionGroup that lets you perform any sort of interaction, or check any way you want for fluids to be nearby or do anything such as spawn a mob when two fluids meet, spawn an ore, do basically anything!