Fluid Skills

Fluid Skills

Mod

A library mod that exposes KubeJS methods to restrict how players see and interact with fluids.

Client and server AdventureGame MechanicsUtility

366 downloads
5 followers
Createda year ago
Updateda year ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

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.

MIT license Discord 1.19.2 1.18.2

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

  1. 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.
  2. 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.
  3. To see replacements in world, Block Skills must be installed.
  4. 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 -- only unproducible 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.


Project members

impleri

Owner


Technical information

License
MIT
Client side
required
Server side
required
Project ID