Skip to content

Malek's Fluid Interaction API

This is a library that provides an easy api for implementing fluid interactions

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

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!