TheBOM(物料清单)插件
本模组在 JEI 的合成界面中添加了一个新标签页,展示将物品分解为所有所需组件后的列表。
功能:
- 将任何合成配方分解为基础物品
- 利用额外输出(extra outputs)使物品列表尽可能准确
- 工具提示显示所需的堆叠数量
- 可切换的 GUI 物品追踪器,显示你还需要哪些剩余物品
- 能够增加输出量,以便同时制作多个物品
如何使用 GUI 物品追踪器:
- 在 JEI 中找到你想要制作的物品
- 前往“物料清单”标签页
- 点击“追踪”(Track)
- 按住 Alt 键进行滚动(可在控制设置中更改)
- 要关闭追踪,请在“物料清单”标签页中打开任意物品并点击“取消追踪”(Untrack)
如何配置:
目前有三种配置选项:
- 字体大小(0 到 1 之间的数值,用于调整数量的字体大小,以防其过小/或与 TTFR 配合使用时出现问题)
- 基础物品(不会再被进一步分解的物品,例如木板、下界岩或皮革)
- 配方黑名单物品(我的算法不会选择使用这些物品的配方,例如 UU 物质或神秘农业精华)
要将物品添加到任一列表中,必须添加注册名("minecraft:planks")。这支持正则表达式,因此任何正则表达式模式均可生效。如果你只是想添加一个简单物品而不懂正则表达式,只需将注册名放在 '^' 和 '$' 之间即可("^minecraft:planks$")。
还可以针对具有特定耐久值(damage values)的特定物品进行目标设定。只需在物品字符串末尾添加 @ 符号及耐久值即可("^minecraft:planks$@0")。
配置文件中还有更多示例。
常见问题解答:
鸣谢:
- Mezz 提供 JEI API
- Kienan 提供纹理
欢迎将此模组添加到你发布的任何整合包中!无需征求许可,但我很乐意得知你将其添加到了哪个整合包中。
TheBOM(bill of materials)Plugin
This mod adds a new tab to JEI's recipe screen that shows the item broken down into all the components needed to craft it.
Features:
- Breaks any crafting recipe down into its basic items
- Makes use of extra outputs so that the item list is most accurate
- Tooltip shows number of stacks needed
- Toggleable GUI item tracker that shows remaining items you need
- Ability to increase the output for when you're trying to make multiple items
How to use GUI Item Tracker:
- Find the item you want to make in JEI
- Go to the Bill of Materials tab
- Click "Track"
- To scroll hold alt (Configurable in controls)
- To close open any item in the Bill of Materials tab and click "Untrack"
How to configure:
There are three configurations options right now:
- Font size (number between 0 and 1 that changes the font size of the amounts in case it's too small/to work correctly with TTFR)
- Base items (items that will not be broken down any further, such as wood planks, netherrack, or leather)
- Recipe blacklist items (my algorithm will not choose any recipes that use these items, such as uu matter, or mystical agriculture essence)
To add items to either of these lists, you must add the registry name ("minecraft:planks") to the list. This is regex, so any regex pattern will work. If you just want to add a simple item without knowing regex, just put the registry name in between a '^' and a '$' ("^minecraft:planks$").
There is also the possiblility of targeting specific items with specific damage values. To do this simply add an @ symbol followed by the damage value to the very end of the item ("^minecraft:planks$@0").
There are more examples inside the config file.
Frequently Asked Questions:
Credits:
- Mezz for JEI's api
- Kienan for textures
Feel free to add this mod to any modpack you release! You don't have to ask for permission, but I'd love to hear what pack you are adding it to.
评论 0
登录后参与评分
还没有评论,来抢沙发吧