Fluid Skills
一个库模组,用于通过 KubeJS 脚本中创建的技能限制来控制玩家如何查看和与流体进行交互。这与 Ore Stages 类似,但目标对象是流体而非方块,并且会与 JEI/REI 互动以隐藏涉及流体的配方,从而补充 Item Skills。
xSkills Mods
Player Skills
| Block Skills
| Dimension Skills
| Fluid Skills
| Item Skills
| Mob Skills
概念
本模组大量依赖 Player Skills,通过创建和消耗基于技能的限制来实现功能。开箱即用,本模组可以限制是否可以从世界中移除流体、是否可制作、在 JEI 或 REI 中是否可见,以及在工具提示中是否可识别。它还提供了一种在世界中掩盖流体的方法,即通过将流体替换为空气或其他流体(例如,使所有原油看起来并表现为熔岩)。最后,本模组还提供了一种方法来操作流体的有限性(例如,使水变为有限源或使熔岩变为无限源)。
注意事项
- 对常见流体添加替换限制(即将主世界的水变成熔岩,或在下界中对熔岩做类似操作)可能会导致 Forge 上在技能变更时产生大量延迟,这可能会在没有足够内存的情况下导致单人游戏实例崩溃。
- 我们只能使用
unbucketable 来阻止 拾取 流体,因为我们无法保证知道桶里装的是什么以及是否包含任何内容,除非牺牲与来自其他模组的桶状物品的兼容性。要防止 放置 流体,请使用 Item Skills 中的桶物品限制。
- 要在世界中看到 替换效果,必须安装 Block Skills。
- JEI 集成不会删除与
unconsumable 标志相关的配方。它只是从右键点击原料时隐藏这些配方。然而,它不会删除配方本身——只有 unproducible 才会这样做。也就是说,精明的玩家可以查看生产该物品的配方,然后右键点击生产出的物品以查看可以使用哪些配方将其消耗掉。
更多信息
文档、示例等可以在 Github 上的 readme 中找到。
整合包
想在整合包中使用这个模组?太棒了!这是专门为整合包开发者设计的。无需询问。
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 -- 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧