Mineuniverse
Log in Register
Mods

UnionLib (Potions & Fluids)

This allows mods to communicate what potion maps to what fluid
by Stereowalker
Claim this project
760 downloads
0 likes
Updated Jun 30, 2026
0 hypes

Some Info

    This mod is not a requirement if you're using UnionLib. If you have that mod installed, just ignore this one as that one has this bundled together with it

 

Description

    This is a very simple mod that allows the mod to fire the events provided by it to get what potions map to what fluids and vice versa. The point of this mod is to make it significantly easier for mods with custom fluids for their potions to communicate such to mod authors that need the information.
    The mod adds 2 events:

1) a FluidToPotionEvent that communicates which fluid corresponds to what potion.

2) a PotionToFluidEvent that communicates which potion corresponds to what fluid.


Changes To Vanilla

    From a gameplay point of view, the changes from this mod are negligible, but from a coding standpoint, the mod uses the FluidToPotionEvent event when the player collects water from a source water block with a glass bottle, setting the potion allows you to change what potion is resulted from that action, and as long as the potion results in the event are not null, any fluid can be collected from the bottle. By default, the Water potion is mapped to the Water fluid.

 

Source

    Unfortunately, I will not be attaching the source for this mod to this project as the files for this mod are a part of the main UnionLib mod. I simply made it a separate mod to allow other modders using this not to have to worry about the main mod. If you aren't perturbed by that fact, go ahead and use this mod as you like. Just make sure you're downloading it from CurseForge and not one of those clone sites that like to copy mods from here.

No files available for download.

More from Stereowalker

Concept Of Magic Battle And Technology
96,234
Violent Villagers
7,551
UnionLib
7,132,049
Controller Support Mod
414,690
Survive
3,412,450
Advanced Block Interactions [ABI] (Forge)
2,783

You Might Also Like

Fragmentum [NeoForge Edition]
The lightweight framework for the Obscuria Collection multi-loader mods
992,307
Iguana Lib
An iguana lib core for my mods.
992,164
Potentials
Library to allow mod developers to use cross platform capabilities
981,373
SDM Engine Core
The game engine in Minecraft!
980,484
Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527