HomeJavaModsLiquid Lab
Liquid Lab
ModsJava

Liquid Lab

by HersheyLightning · on Modrinth

A fluid API to streamline the creation of custom fluids and gasses. Free Minecraft Java mod for 1.21.1.

⬇ Download on Modrinth
Liquid Lab — screenshot 1Liquid Lab — screenshot 2

Description

Liquid Lab is a fluid API to streamline the creation of custom fluids, as most fluid attributes are hardcoded. Some features include setting fog color, custom mixing behavior, and the creation of gaseous fluids that flow upwards. This mod exists because fluids on fabric have limited functionality and it would be useful to have a way to create a high quality custom fluid.

Features

Base Fluid Changes

Lots of utility methods added to the base Fluid class

Fluid Mixing

Entity Splashing

Entity Interactions

Entity Viscosity

Item Viscosity

Fog

Rain Particles

Bucket Sounds

Pathfinding

Fluid Tags

7 fluid tags are added by the API:

Gaseous Fluids

Additionally, the API also adds reversed fluids that flow upwards. Gas fluids are registered in the same way as regular fluids, except the block form is created with GasFluidBlock and the fluid form is created by extending FlowableGasFluid. To correctly render a gas fluid, use SimpleGasFluidRenderHandler, rather than SimpleFluidRenderHandler in your client initializer.

Utility

Some simple utility methods are added by the API to make registering certain aspects of fluids simpler.

Particle Utils

Contains methods related to registering block leak particles. The class allows for registering dripping, falling, and landing particles independently or all at once for fluids and gasses.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more