Fluid Skills
A library mod to control how players see and interact with fluids using skill-based rectrictions created in KubeJS scripts. This is similar to Ore Stages, but it targets fluids instead of blocks and interacts with JEI/REI for hiding recipes that use fluids, complementing Item Skills.
xSkills Mods
Player Skills | Block Skills | Dimension Skills | Fluid Skills | Item Skills | Mob Skills
Concepts
This mod leans extensively on Player Skills by creating and consuming the Skill-based Restrictions. Out of the box, this mod can restrict whether a fluid can be removed from the world, crafted, visible in JEI or REI, and whether it can be identified in a tooltip. It also provides a way to mask fluids in world by replacing them with either air or another fluid (e.g. make all crude oil appear and function as lava). Lastly, this mod also provides a way to manipulate fluid finitiude (e.g. make water finite or make lava infinite).
Caveats
- Adding a replacement restriction on common fluids (i.e. turning water in the Overworld into lava or similarly with lava in the Nether) can cause a lot of lag in Forge on skills change which could kill single player instances without enough memory.
- We can only prevent picking up a fluid with
unbucketable
because we are not guaranteed access to know what's in the bucket and whether it contains anything without sacrificing working with bucket-like items from mods. To prevent placing a fluid, use Item Skills restrictions on the bucket item. - To see replacements in world, Block Skills must be installed.
- JEI integration does not remove recipes related to the
unconsumable
flag. It does hide the recipes from right-clicking on the ingredient. However, it does not remove the recipe itself -- onlyunproducible
does that. That is, a crafty player could view a recipe that produces the item, then right click on the produced item to see what recipes with which it can be consumed.
More Information
Documentation, examples, and more can be found in the readme on Github.
Modpacks
Want to use this in a modpack? Great! This was designed with modpack developers in mind. No need to ask.
External resources
Featured versions
See allProject members
impleri
Owner