Description
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.
AD
Become Premium to remove Ads!
What means Verified?
-
Compatibility: The mod should be compatible with the latest version of Minecraft and be clearly labeled with its supported versions.
-
Functionality: The mod should work as advertised and not cause any game-breaking bugs or crashes.
-
Security: The mod should not contain any malicious code or attempts to steal personal information.
-
Performance: The mod should not cause a significant decrease in the game's performance, such as by causing lag or reducing frame rates.
-
Originality: The mod should be original and not a copy of someone else's work.
-
Up-to-date: The mod should be regularly updated to fix bugs, improve performance, and maintain compatibility with the latest version of Minecraft.
-
Support: The mod should have an active developer who provides support and troubleshooting assistance to users.
-
License: The mod should be released under a clear and open source license that allows others to use, modify, and redistribute the code.
-
Documentation: The mod should come with clear and detailed documentation on how to install and use it.
AD
Become Premium to remove Ads!
How to Install
Download Forge & Java
Download Forge from the offical Site or here. If you dont have Java installed then install it now from here. After Downloading Forge you can run the file with Java.
Prepare
Lounch Minecraft and select your Forge istallation as Version this will create a Folder called Mods.
Add Mods
Type Win+R and type %appdata% and open the .minecraft Folder. There will you find your Folder called Mods. Place all Mods you want to play in this Folder
Enjoy
You are now Ready. Re-start your Game and start Playing.