这是一个纯技术向模组,旨在提升模组间的兼容性。所谓“纯技术向”,是指它不会为游戏添加任何新内容。
问题所在
鼓励模组创作者尽可能使用标签(tags),例如在制作合成表时。但如果希望多个模组能够协同工作,它们都应共享一套基础的、通用的“惯例”标签集合,以便将特定物品归为一类。然而,并非所有开发者都会将自己的物品添加到这些通用标签中,这意味着游玩大量模组的玩家或整合包制作者可能需要创建冗长的列表,找出符合特定条件的所有物品,并将它们添加到相应的标签中。
解决方案
加载世界时,此模组会根据代码逻辑自动填充部分标签,涵盖所有模组内容。
这对需要/希望通过添加物品到特定标签来配置模组的整合包制作者尤为有用——例如,这使他们可以轻松地将所有护甲物品添加到一个标签中,因为它们都会被归类到 c:armor 下。
再举一个例子,所有可以在头部槽位装备的物品都会被归入名为 c:head_equippables 的标签中:
更多信息
如需了解此模组当前添加的标签概览,以及通过数据包实现的黑名单选项,请查看 GitHub 上的 README。
如果您对新标签有任何建议,欢迎在评论区留言或在 GitHub 上提交 Issue!
希望这个模组能帮到一些人,让生活轻松一点。:)
模组图标是由 Lorc 和 Delapouite 创作的修改版图标的组合,原图来自 game-icons.net。
This is a purely technical mod with the aim to increase inter-mod compatibility. By "purely technical" I mean that it won't add any content to your game.
The Problem
Mod creators are encouraged to use tags where possible, e.g. when creating a recipe. If mods are supposed to work together though, they should all share a same base of common "conventional" tags, which group certain items together. Not all developers add their items to common tags though, which means that a person playing with many mods or a mod pack creator might need to create long lists of all items which fulfill certain criteria to add them to specific tags.
The Solution
Upon loading a world, this mod will automatically populate some tags based on code conditions, covering all modded content as well.
It's mostly relevant for mod pack creators who need / want to configure mods by adding to specific tags - this allows them to e.g. easily add all armor items to a tag, because they'll all be bundled in c:armor.
As another example, all items which are equippable in the head slot will land in a tag called c:head_equippables:
Additional Information
For an overview of the tags the mod currently adds, as well as the blacklist option via datapacks, view the README on GitHub.
If you have any suggestions for new tags, feel free to post them in the comments or open an issue on GitHub!
I hope this mod helps someone and makes their life a bit easier. :)
The mod icon is a composition of modified icons created by Lorc and Delapouite, found on game-icons.net.
评论 0
登录后参与评分
还没有评论,来抢沙发吧