如果线程设计无法渲染,请使用文本版本
Almost Unified 是什么?
本模组的灵感来源于 UniDict 的理念。这是一个在 1.12.2 时代存在但已不再维护的旧模组。
早期版本的 Minecraft 使用了一种名为“矿物词典”(Ore Dictionary)的系统。其目的是让模组开发者在添加可能已在其他模组中存在的新资源时更加轻松。如果正确使用,你可以在配方中互换使用来自各个模组的资源。然而,如果你曾经玩过那个时代的庞大整合包,你可能知道由于许多模组都添加了这些资源,每种材料往往会有大约 10 种不同的锭。
这通常导致存储空间不足,因为这些来自不同模组的资源无法堆叠。此外,一些模组没有在其配方中正确使用词典,导致大量资源变得无用。
UniDict 通过统一来自不同模组的相同资源来解决这个问题,使得每种资源只保留一个物品,并可用于所有配方。因此,你不再拥有 10 种不同的铜锭,而只会拥有一种作为主导通用铜锭的物品。
自 1.12.2 以来已经过去了很多时间,矿物词典早已消失。在当今的模组化 Minecraft 中,存在着与矿物词典非常相似的标签系统(tag system)。尽管如此,它们同样没有解决来自不同模组的许多相似资源的问题。
Almost Unified 试图以类似于 UniDict 的方式解决这个问题。
它的目标是为每个配置的标签提供一个主导资源,并使所有配方都使用这个主导条目。
它是如何工作的?
通过在配置中定义优先级模组列表和目标标签,Almost Unified 尝试为每个条目找到一个主导物品,并根据该结果更改配方。
在现代 Minecraft 中,配方通常由 JSON 文件构成,并在加入世界时加载。每个加载的配方都会被模组读取,并根据 JSON 内部的不同属性进行修改。
对于所有输入项,统一过程会尝试使用指定的标签,从而使所有物品保持有用,这意味着 Almost Unified 也应该能在现有世界中工作。
对于输出项,Almost Unified 将使用主导物品。
由于修改发生在游戏加载配方之前,因此在游戏运行时不会进行任何耗时的处理过程。
Almost Unified 有哪些功能?
该模组转换现有配方,使其拥有一个玩家可以和整合包制作者使用的统一资源列表。它不添加自己的配方、资源、矿石生成或类似内容。
由于统一时可能会出现重复配方的情况,Almost Unified 会处理重复项并将其移除。
此外,它会自动在 JEI/REI 中隐藏所有非主导条目。
该模组完全支持重新加载。每次统一过程开始时都会加载配置文件,这意味着可以即时编辑配置。要重新启动过程,只需重新加入世界或使用 /reload 命令即可。
能举个例子吗?
假设有两个模组(modA 和 modB),它们都添加了银矿石。此外,它们还都添加了银锭以及获取锭的相关配方,例如熔炼或焙烧矿石。
如果其中一个配方不接受标签作为输入,Almost Unified 将会改变这一点。此外,它会根据 unify.json 配置文件中的模组优先级列表选择一个银锭作为主导物品。无论来源模组是哪个,主导银锭都将用作所有配方的输出。
统一过程结束后,你会得到一些相同的配方。Almost Unified 会将它们合并,并更改其命名空间,以便显示该配方已被修改。最终,你将拥有接受标签作为输入且仅以主导物品为输出的配方。重复的配方消失了。
更多信息
如需了解更多限制条件、原生集成或常见问题解答,请查看 Wiki。
Text version if the thread design does not render
What is Almost Unified?
The mod is inspired by the idea of UniDict. An old, no longer maintained mod from the days of 1.12.2.
Old versions of Minecraft used a system called the Ore Dictionary. Its purpose was to make the life of modders easier when adding new resources that might exist in other mods already. When used correctly, you could use resources from various mods in their recipes interchangeably. However, if you ever played a big modpack back in the days, you probably know that there were like 10 different ingots for each material because of many mods adding them.
This often resulted in a lack of storage space because all these resources from the different mods didn't stack. Additionally, some mods didn't use the dictionary correctly for their recipes so a lot of the resources were useless.
UniDict solved this issue by unifying the same resources from different mods so only one item for each resource was left and could be used for all recipes. So instead of having 10 different copper ingots, you will only have one which acts as the dominant universal copper ingot.
A lot of time has passed since 1.12.2 and the Ore Dictionary is long gone. In today's modded Minecraft, there is the tag system which acts quite similar to the Ore Dictionary. Still, they also don't solve the problem of many similar resources from different mods.
Almost Unified tries to solve this by working in a similar fashion as UniDict did.
Its goal is to have one dominant resource for each configured tag and make all recipes use this dominant entry.
How does that work?
By defining a priority mod list and target tags in the config, Almost Unified tries to find a dominant item for each entry and changes the recipes depending on that.
In modern Minecraft, recipes are usually made of JSONs and are loaded when joining a world. Each loaded recipe is read by the mod and altered depending on different properties inside the JSON.
For all inputs, the unification process tries to use the designated tag so all items will remain useful which means Almost Unified should also work in existing worlds.
For outputs, Almost Unified will use the dominant item.
Since the modification happens before the recipe is loaded by the game, there are no demanding processes going on while the game is running.
What features does Almost Unified have?
The mod transforms existing recipes to have a unified resource list that players and packmakers can work with. It doesn't add its own recipes, resources, ore generation or similar content.
Because there is a chance to have duplicate recipes when unifying, Almost Unified will take care of duplications and remove them.
Additionally, it hides all non-dominant entries from JEI/REI automatically.
The mod is fully reloadable. Configs are loaded every time the unification process starts which means they can be edited on the fly. To restart the process, just rejoin the world or use the /reload command.
Can you give an example?
Think about having two mods (modA and modB) that both add Silver Ore. Additionally, they both add Silver Ingots and respective recipes to obtain the ingot such as blasting or smelting the ore.
If one of those recipes doesn't accept a tag as input, Almost Unify will change that. Furthermore, it will pick one of the Silver Ingots as the dominant item depending on the mod priority list inside the unify.json config. The dominant Silver Ingot will then be used as output for all recipes no matter the mod.
After the unification process, you will end up with some equal recipes. Almost Unified will merge them and change their namespace so it's visible that the recipe was changed. In the end, you will have recipes that accept tags as inputs and only the dominant item as output. Duplicate recipes are gone.
More Information
For more information like limitations, native integrations or the FAQ, check out the wiki.
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Almost Unified
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 修复了占位符定义为空时统一功能无法正常工作的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧