← Назад к ресурсам

Fluid Skills

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

Modrinth adventure game-mechanics utility

Описание

# 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](https://img.shields.io/github/license/impleri/fluid-skills?color=bcdeb7&label=Source&logo=github&style=flat)](https://github.com/impleri/fluid-skills) [![Discord](https://img.shields.io/discord/1093178610950623233?color=096765&label=Community&logo=discord&logoColor=bcdeb7&style=plastic)](https://discord.com/invite/avxJgbaUmG) [![1.19.2](https://img.shields.io/maven-metadata/v?label=1.19.2&color=096765&metadataUrl=https%3A%2F%2Fmaven.impleri.org%2Fminecraft%2Fnet%2Fimpleri%2Ffluid-skills-1.19.2%2Fmaven-metadata.xml&style=flat)](https://github.com/impleri/fluid-skills#developers) [![1.18.2](https://img.shields.io/maven-metadata/v?label=1.18.2&color=096765&metadataUrl=https%3A%2F%2Fmaven.impleri.org%2Fminecraft%2Fnet%2Fimpleri%2Ffluid-skills-1.18.2%2Fmaven-metadata.xml&style=flat)](https://github.com/impleri/fluid-skills#developers) ### xSkills Mods [Player Skills](https://modrinth.com/mod/player-skills) | [Block Skills](https://modrinth.com/mod/block-skills) | [Dimension Skills](https://modrinth.com/mod/dimension-skills) | [Fluid Skills](https://modrinth.com/mod/fluid-skills) | [Item Skills](https://modrinth.com/mod/item-skills) | [Mob Skills](https://modrinth.com/mod/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](https://github.com/impleri/fluid-skills). ## Modpacks Want to use this in a modpack? Great! This was designed with modpack developers in mind. No need to ask.