CurseForge · Minecraft mod
UnionLib (Potions & Fluids)
This allows mods to communicate what potion maps to what fluid
Quick answer
Which UnionLib (Potions & Fluids) release should I use?
UnionLib (Potions & Fluids) UnionLib-1.19.3-2.0.0-Forge targets 1.19.3 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.
Where it goes
Is UnionLib (Potions & Fluids) required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does UnionLib (Potions & Fluids) UnionLib-1.19.3-2.0.0-Forge need?
UnionLib-1.19.3-2.0.0-Forge. Change the file and its required mods may change too.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add UnionLib (Potions & Fluids) without breaking your instance.
Built for UnionLib (Potions & Fluids) UnionLib-1.19.3-2.0.0-Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use UnionLib-1.19.3-2.0.0-Forge. It targets 1.19.3 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside UnionLib-1.19.3-2.0.0-Forge. It opens that exact file at the source.
About this project
What does UnionLib (Potions & Fluids) add?
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:
a FluidToPotionEvent that communicates which fluid corresponds to what potion.
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.
Project description from CurseForge.
Pick your setup
UnionLib (Potions & Fluids) by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.18.2
1 loader buildCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
UnionLib (Potions & Fluids) versions and loaders
UnionLib-1.19.3-2.0.0-Forge
UnionLib (Potions Fluids)-1.19.3-2.0.0-Forge.jar
19 Mar 2023
UnionLib-1.19.3-2.0.0-Forge
UnionLib (Potions Fluids)-1.19.3-2.0.0-Forge.jar
2 Mar 2023
UnionLib-1.19.3-2.0.0-Forge
UnionLib (Potions Fluids)-1.19.3-2.0.0-Forge.jar
4 Jan 2023
UnionLib (Potions & Fluids)-1.18.2-1.0.0-Forge
UnionLib (Potions Fluids)-1.18.2-1.0.0-Forge.jar
28 Sept 2022
Looking for an older file? The official CurseForge project page is in Resources.