Legible Alchemy
一款尝试修复某些药水配方在配方查看器中不显示的模组。
你是否注意到,有些模组添加了药水,但当你试图查看酿造配方时,它们看起来似乎完全没有酿造方法?
或者,Create 的自动化酿造在即使你已经弄清了配方的情况下,仍然无法识别输入药水或原料?
药水配方(遗憾的是)无法通过数据包实现。这也意味着对于这类配方的外观并没有一个完整的标准。
在 Forge 的实际应用中,存在一种情况:BrewingRecipe 类,它提供了用于查找原料的方法,但重要的是,添加配方唯一需要的是 IBrewingRecipe,而该类并未提供这些方法。(这有其合理性,因为它允许添加独立于药水的配方(例如普通药水转喷溅药水),而不必为每一个单独配置。)
这意味着那些希望使用酿造配方的模组真正需要的是 BrewingRecipe,但有时只能获得 IBrewingRecipe,这对它们的目的来说是不可用的。
Legible Alchemy 应运而生。
它尝试找出并修复尽可能多的配方。
常见问题解答
问:我的药水有时显示酿造配方。
答:在我们的配置文件 legible_alchemy-common.toml 中增加 time_to_sleep 的值。我们拦截了配方,但在该时间之前进行了暴力搜索。你需要重启游戏。
问:即使将 time_to_sleep 设置得极高,我的药水也从未显示过配方。
答:请为该模组提交 Issue。我们可以在开发环境中查看它添加的配方,了解所需条件并调整我们的暴力搜索以捕获该配方。有些模组的某些药水确实没有合法的配方。
问:我的药水在没有 Legible Alchemy 时可以酿造,但在有它时无法酿造,即使 time_to_sleep 设置得极高。
答:请为受影响的模组提交 Issue。我们可以在开发环境中查看它添加的配方,了解所需条件并调整我们的暴力搜索以捕获该配方。它们的配方类添加了多个配方,我们至少捕获了一个,但漏掉了另一个。
问:你会移植到 Loader/X.x.x 吗?
答:是的,针对 1.18.2、1.19.2、1.19.4、1.20.4、1.20.6 和 1.21.1(以及未来的更高版本),前提是该问题在该加载器和版本上存在。
超过 1.20.1 的版本,我将支持 Neoforged 而非 Forge。我会检查这在 Neoforged 上是否仍然是一个可能的问题,因为 Neoforged 基于 Forge。我对 Fabric 不太熟悉,但我认为它不支持物品输入,仅支持药水,因此这个问题在 Fabric 上本不应存在,但我会在有空时进行检查。
问:这个模组可以用于我的整合包吗?
答:可以,但请注意我们的许可证不允许直接将模组文件包含在你的整合包中。
Legible Alchemy
A mod that tries to fix certain potion recipes not showing up in recipe viewers.
Ever noticed how some mods add potions with only seemingly no way to brew them when you try to check for a brewing recipe?
How Create's automated brewing doesn't pick up the input potion or ingredient even after you've figured out the recipe?
Potion recipes (sadly) aren't datapackable. That also means there's no complete standard for what such a recipe looks like.
In practice in Forge there is one: the BrewingRecipe class, which provides methods for looking up ingredients, but importantly, the only thing that's required to add a recipe is an IBrewingRecipe, which doesn't provide those methods. (There is sense to that, as it allows adding potion-independent recipes (such as normal to splash) without making each one individually.)
And that means that mods that want to use a brewing recipe really want a BrewingRecipe, but sometimes only get an IBrewingRecipe, which is unusable for their purposes.
In comes Legible Alchemy.
It tries to find and fix as many recipes as it can.
F.A.Q.
Q: My potion only sometimes has a shown brewing recipe.
A: Increase time_to_sleep in our config legible_alchemy-common.toml. We've intercepted the recipe but did our brute-forcing before that. You'll need to restart your game.
Q: My potion never has a recipe, even with time_to_sleep obscenely high.
A: Please make an issue for the mod. We can look at the recipe it adds in a dev environment to see what's required and adjust our brute-forcing to catch that too. Some mods also legitimately don't have recipes for some of their potions.
Q: My potion has a recipe that is brewable without Legible Alchemy but isn't with it, even with time_to_sleep obscenely high.
A: Please make an issue for the affected mod. We can look at the recipe it adds in a dev environment to see what's required and adjust our brute-forcing to catch that too. Their recipe class adds multiple recipes, at least one of which we catch and another one we miss.
Q: Will you be porting to Loader/X.x.x?
A: Yes to 1.18.2, 1.19.2, 1.19.4, 1.20.4, 1.20.6, and 1.21.1 (and future later releases), provided the issue is present on the loader and version.
Past 1.20.1, I'll support Neoforged instead of Forge. I will check whether this is still a possible issue on Neoforged, as those are based on Forge. I'm not too familiar with Fabric, but I don't think it supports item inputs, only potions, and so this issue shouldn't exist on Fabric to begin with, but I'll check when I have the time.
Q: Can this be used in my modpack?
A: Yes, but do note our license does not allow directly including the mod files in your pack.
评论 0
登录后参与评分
还没有评论,来抢沙发吧