? 一种奶酪。适用于所有食谱。
Croptopia 有奶酪,Pam's HarvestCraft 有奶酪,Meadow 有奶酪,Brewin' & Chewin' 也有奶酪。但它们都不是同一种奶酪 —— 它们各自为自己的食物打上标签,使用的是四种互不兼容、彼此从不引用的命名方言。因此,那些需要奶酪的食谱只能接受其中某一种,而你的整合包中便悄然运行着几个互不相通的平行食品经济体系。Kaleidoscope Cookery 的铁锅甚至不会点火,除非你手动放入它专属的烹饪油,而其他五个模组的烹饪油则静静地躺在同一个箱子里。
Pantrywork 解决了这个问题。它是一个纯粹的数据包:通过一个标签层,将这些方言桥接至 NeoForge / Farmer's Delight 官方 c:foods/* 规范;随后添加第二个层级,描述食材具备的功能。不包含任何方块、物品或玩法改动。只是让食谱终于能正常工作了。
NeoForge 适用于 Minecraft 1.21.1 及版本 26.1–26.2,Fabric 适用于 1.21.1–1.21.11 及 26.1–26.2(Fabric 需要 Fabric API),Forge 适用于 1.20.1。1.20.1 版本的文件桥接了 24 个模组中的 21 个,并排除了那些需要条件覆盖的替换项,因为该版本本身没有这些覆盖机制——下文“Forge 1.20.1”部分明确列出了具体是哪些,更新日志中也再次说明。
?️ 两个层级
身份标识 — c:foods/*。扩展内置规范,并将其他模组的命名方式翻译为此规范。
Croptopia 的复数方言(c:cheeses)、Pam's 的拼接方言(c:rawpork)以及 Farm & Charm 的下划线方言(c:raw_pork)均解析为标准名称(c:foods/cheese、c:foods/raw_pork)。桥接是双向运行的:这 74 个模组各自的方言标签获得了其他模组的等效物品(共 84 个标签文件,其余十个为如 c:foods/corn 和 c:foods/oranges 这类标准的 c:foods/* 叶子节点),因此它们自身的食谱也能接受外来食材 —— Meadow 的奶酪食谱可以接受 Brewin' & Chewin' 的奶酪,Pam's 的鱼食谱可以接受 Aquaculture 钓获的鱼,Croptopia 的菠萝食谱可以接受 Fish of Thieves 的菠萝。
当某个模组读取的是其自身的标签而非共享标签时,Pantrywork 会写入该标签。Kaleidoscope Cookery 的铁锅在烹饪前会检查 #kaleidoscope_cookery:oil,因此现在来自五个模组的烹饪油都能激活它 —— 而这正是开启其全部 225 个铁锅食谱的门槛。
当某个模组种植食物却未将其归入任何共享标签时,Pantrywork 会为其归档。Oh The Biomes We've Gone 的蓝莓原本只存在于其自带的浆果标签中,而在任何地方都没有单独的蓝莓标签,导致其他模组无法识别它们;现在它们能够用于 Hearth and Harvest 的五种蓝莓食谱以及 Croptopia 的三种蓝莓食谱了。
仅公平替换。 Pantrywork 添加到食谱标签中的物品,其价格不得超过每个定义该标签的模组中已有物品的最低价格的 1.5 倍,计算时需考虑其制作方式(例如,一瓶牛奶的成本是一个桶牛奶成本的十六分之一)。只有当部分模组接受如此低价的物品时,替换才会在其中一个模组安装的情况下生效(即条件式资源包覆盖,游戏仅在加载对应模组时应用此覆盖)。因此,一瓶牛奶永远不会填满为桶设计的食谱,一条培根条在 Pam's 的食谱中也不会被算作一整块猪肉,Refurbished Furniture 的每 loaf 六片吐司也不会出现在其他模组的食谱中。此项检查涵盖 Pantrywork 添加的内容;各模组在其自身标签中列出的内容则由它们自行决定。版本 0.7.0 移除或使所有未能通过检查的旧版替换变为条件触发,更新日志中列出了所有这些条目;0.8.0 未移除任何内容,其更新日志列出了新增条件的两项替换以及放宽条件的三项替换。0.9.0 移除了五项:Pam's Food Extended 将其五种豆腐替代品归入生牛肉、生猪肉、生羊肉和生鱼标签中,且每一种都是压制大豆制成,因此它们不再能通过 Pantrywork 关联到标准的肉类或鱼类标签。在同一操作中,四个标准标签——生牛肉、生猪肉、生羊肉和生鱼——停止指向整个方言集合,转而列出其具体成员,这正是允许豆腐接入的关键;而这些成员本身并未改变。
角色功能 — pantrywork:food_component/{protein, starch, dairy, garnish, liquid_base, sweetener}。
基于身份标识层的“标签之标签”,描述功能而非身份。只需编写针对 #pantrywork:food_component/protein 的一条食谱,即可接受原版牛排、Farmer's Delight 培根,以及未来任何打了该标签的模组物品 —— 无需你发送更新。角色功能描述的是食材的作用,而非其成本:dairy 将牛奶瓶和植物奶与桶装奶并列存放。
? 无需安装任何食物模组
所有跨模组引用均为 required: false。你可以将 Pantrywork 与所有支持的模组、其中之一或不安装任何模组一起使用 —— 无论哪种情况它都能干净加载,并仅桥接它所发现的模组。在 Fabric 上,Fabric API 是必需的:它是加载模组数据的核心,若无它,Fabric 加载器拒绝启动并指明缺失依赖。
仅服务端 —— 将其放入服务器端,所有玩家均可受益,客户端无需安装。单人游戏同样适用(你的游戏运行内部服务器;正常安装即可)。
支持列表:Farmer's Delight(含 Fabric 版的 Refabricated) · Croptopia(含 Croptopia Refabricated) · Pam's HarvestCraft 2 — 全部四个模块:Food Core、Crops、Trees 和 Food Extended · Ocean's Delight(完整身份模块) · End's Delight(父级加入) · [Let's Do] Vinery、Farm & Charm、Meadow · Aquaculture 2 · Brewin' & Chewin' · Create · Bountiful Fares · Fish of Thieves · Refurbished Furniture · Kaleidoscope Cookery · Hearth and Harvest · Cultural Delights · Cook's Collection · Rustic Delight · Hybrid Delights · Oh The Biomes We've Gone(世界生成模组,此处因其种植的四种水果) · Origins(食肉/素食饮食标签)。
? Forge 1.20.1 上的情况
这里有一个 Forge 1.20.1 版本的文件,它是真正的移植而非重新打包——在该版本中,共享词汇表是 forge: 而不是 c:,且标签文件位于名称不同的文件夹中,因此载荷中的每个文件都经过重建。其中的食物模组存在相同的问题以及相同的四种方言:七种奶酪拼写、七种牛奶拼写、四种洋葱拼写,且完全没有交叉引用;此外,Hearth and Harvest 将其奶酪归类在一个该版本上其他任何模组都不会读取的标签中。
有两点内容比 1.21.1 版本更少,值得你在安装前了解。它桥接了 21 个模组(共 24 个)——Pam's Crops and Trees 在 Forge 1.20.1 上没有构建版本,而 Bountiful Fares 在该版本上仅限 Fabric。另外,1.21 版本有条件地提供的 19 次替换在此被省略:某些替换仅在安装了特定模组时才公平,1.21 通过条件数据包叠加层处理这种情况,而 Minecraft 1.20.1 没有这些功能。为了避免将定价过低的物品带入你的配方,此文件选择省略它们——奶酪、面团、牛奶、盐、面粉、卷心菜、鸡肉部位和三文鱼刺身各失去一个条目或几个条目。在实际差异方面,通过运行服务器测量:安装 Farm & Charm 后,1.21 版本文件在 Croptopia 的面团标签中统一了六种面团,而此版本仅统一了两种。
其余部分均为相同的模组,包括公平交换规则及其背后的价格检查机制,这些机制是从 1.20.1 的配方中重新读取的,而非假设未发生变化。
?? 对于整合包制作者
停止为每个食物模组编写单独的配方。目标应是一个角色标签(role tag),这样配方就能覆盖你玩家已安装以及未来会安装的每一个模组。
?️ 对于模组作者
PantryworkTagKeys(仅限 1.21.1 NeoForge jar——Fabric、26.x 和 Forge 1.20.1 文件是纯数据,不包含类)以编译时常量的形式暴露角色标签和最常被要求的身份标签——奶酪、黄油、面团、熟米饭、面粉——以便你可以引用分类法而无需硬编码字符串或依赖正在桥接的模组。该层级中的任何其他内容都是你可以直接编写的普通 c: 标签 ID。
✅ 经核实,而非假设
此处声称的每一个桥接都在运行服务器上进行了检查,而非推断得出——配方数量是从模组自身的文件中读取的,但交换是否有效始终经过实测。受支持的模组被一起加载,并实际执行了桥接操作——Pam 自己的烤奶酪火腿三明治使用 Farm & Charm 的黄油和 Brewin' & Chewin' 的奶酪制作(并使用 Croptopia 更便宜的奶酪制作时会被拒绝);Farmer's Delight 的鸡蛋三明治由 Pam's 和 Bountiful Fares 的鸡蛋制成;Croptopia 的菠萝鸡使用 NeoForge 26.2 上的 Fish of Thieves 菠萝制作;Croptopia 的香蕉奶昔使用 Farmer's Delight 的牛奶制作;Hearth and Harvest 的蓝莓箱和 Croptopia 的蓝莓果酱由 Oh The Biomes We've Gone 的浆果制成;以及在 0.9.0 新增的内容,Pam's Food Extended 的两个食谱完全由其他模组的食物构建而成——来自 Croptopia 的洋葱和文化亮点(Cultural Delights)的黄油的炸洋葱,以及来自 Croptopia 的面包和 Meadow 的奶酪片的吐司奶酪。Fabric 构建版已在 1.21.1、1.21.10、1.21.11、26.1.2 和 26.2 上启动;NeoForge 构建版在 1.21.1、26.1.2 和 26.2 上启动——其中 26.1.2 的启动是在 All the Mods 11 所搭载的确切 NeoForge 构建版上进行的,同时搭配其自带的 Croptopia 和 Aquaculture 2。单独的运行测试包括:不安装任何受支持模组的情况下启动,移除 Farm & Charm 的情况下启动,以及安装和不安装条件交换所依赖的模组的情况下启动——仅在 1.21.1 发布版 jar 上就有十二种此类组合,这证明了十四个条件中的十三个既开放又关闭。少数无法触及的情况则在开发版启动中证明,并且更新日志说明了具体是哪一种,而不是暗示全面覆盖。自动 GameTests 覆盖了角色标签、跨模组身份识别、反向桥接、成本下限以及通过 RecipeManager 的配方解析。
Forge 1.20.1 在其专属服务器上遵循相同标准:仅凭该文件即可通过 50 项标签断言,日志中没有任何错误;加载 16 个名录模组后,它在 83 个标签上通过了 338 项断言。第三次启动运行相同的模组集但移除 Pantrywork,从而证明那 31 个错误是由那些模组产生的,而非 ours——两份列表返回完全一致。在该版本上,断言的是标签成员资格而非制作(1.20.1 既没有命令也没有制作测试所使用的方块),并且套件已通过使用 1.21 的文件夹名重建文件来展示失败能力:50 项断言中有 39 项失败,即所有断言存在的项均失败。
当某些内容无法通过标签修复时,更新日志会明确说明,而不是暗示可以修复:指定确切物品 ID 的配方无法通过任何数据包扩大范围,而多个受支持的模组正是这样做的。
? One cheese. Every recipe.
Croptopia has cheese. Pam's has cheese. Meadow has cheese. Brewin' & Chewin' has cheese. None of them are the same cheese — they all tag their food, in four incompatible naming dialects that never reference each other. So the recipe that wants cheese takes exactly one of them, and your pack quietly runs parallel food economies that never touch. Kaleidoscope Cookery's wok will not even light unless you hand it its cooking oil, with five other mods' oils sitting in the same chest.
Pantrywork fixes that. It is pure data: a tag layer that bridges those dialects into the official
NeoForge / Farmer's Delight c:foods/* convention, then adds a second layer describing what an
ingredient does. No blocks, no items, no gameplay changes. Just recipes that finally work.
NeoForge on Minecraft 1.21.1 and 26.1–26.2, Fabric on 1.21.1–1.21.11 and 26.1–26.2 (Fabric needs Fabric API), and Forge on 1.20.1. The 1.20.1 file bridges 21 of the 24 mods and leaves out the swaps that need a conditional overlay, because that version has none — the "Forge 1.20.1" section below says exactly which, and the changelog says it again.
?️ Two layers
Identity — c:foods/*. Extends the built-in convention and translates the others into it.
Croptopia's plural dialect (c:cheeses), Pam's concatenated dialect (c:rawpork), and Farm &
Charm's underscored dialect (c:raw_pork) all resolve to canonical names (c:foods/cheese,
c:foods/raw_pork). Bridges run in both directions: 74 of those mods' own dialect tags gain the
other mods' equivalent items (84 tag files in all, the other ten being canonical c:foods/* leaves
like c:foods/corn and c:foods/oranges), so their own recipes accept foreign ingredients — Meadow's
cheese recipes take Brewin' & Chewin' cheese, Pam's fish recipes take an Aquaculture catch, and
Croptopia's pineapple recipes take a Fish of Thieves pineapple.
Where a mod reads a tag of its own instead of a shared one, Pantrywork writes that tag. Kaleidoscope
Cookery's wok checks #kaleidoscope_cookery:oil before it will cook, so five mods' cooking oils now
prime it — and that is the gate in front of all 225 of its wok recipes.
And where a mod grows food but files it in no shared tag at all, Pantrywork files it. Oh The Biomes We've Gone's blueberries sat in its own berry tag and in no blueberry tag anywhere, so no other mod could see them; they now reach Hearth and Harvest's five blueberry recipes and Croptopia's three.
Fair swaps only. An item Pantrywork adds to a recipe tag may be at most 1.5x cheaper than the cheapest thing each mod that defines that tag already puts there, counting how it is made (a 16-per-bucket milk bottle costs a sixteenth of a bucket). When only some of those mods accept something that cheap, the swap is added only while one of them is installed (a conditional pack overlay, which the game applies only while that mod is loaded). So a milk bottle never fills a recipe written for a bucket, a bacon strip never counts as a whole porkchop in Pam's recipes, and Refurbished Furniture's six-per-loaf toast stays out of other mods' recipes. The check covers what Pantrywork adds; what each mod lists in its own tags is its own call. Version 0.7.0 removed or made conditional every older swap that failed it, and its changelog lists them all; 0.8.0 removed nothing, and its changelog lists the two swaps that gained a condition and the three conditions that got easier to satisfy. 0.9.0 removed five: Pam's Food Extended files five tofu analogues in its raw beef, pork, mutton and fish tags, and each one is a pressed soybean, so none of them reaches a canonical meat or fish tag through Pantrywork any more. In the same pass four canonical tags — raw beef, raw pork, raw mutton and raw fish — stopped pointing at a whole dialect and now list their members, which is what let the tofu in; the members themselves are unchanged.
Role — pantrywork:food_component/{protein, starch, dairy, garnish, liquid_base, sweetener}.
Tags-of-tags over the identity layer, describing function rather than identity. Author one recipe
against #pantrywork:food_component/protein and it accepts vanilla steak, Farmer's Delight bacon,
and anything a future mod tags — without you shipping an update. Roles describe what an ingredient
does, not what it costs: dairy holds milk bottles and plant milk next to buckets.
? No food mod required
Every cross-mod reference is required: false. Install Pantrywork with all the supported mods, one
of them, or none — it loads clean either way and simply bridges whatever it finds. On Fabric,
Fabric API is required: it is what loads mod data, and without it Fabric Loader refuses to start and
names the missing dependency.
Server-side only — drop it on the server and every player benefits, no client install needed. Works in singleplayer too (your game runs an internal server; just install it normally).
Supported: Farmer's Delight (incl. Refabricated on Fabric) · Croptopia (incl. Croptopia Refabricated) · Pam's HarvestCraft 2 — all four modules: Food Core, Crops, Trees and Food Extended · Ocean's Delight (full identity module) · End's Delight (parent joins) · [Let's Do] Vinery, Farm & Charm, Meadow · Aquaculture 2 · Brewin' & Chewin' · Create · Bountiful Fares · Fish of Thieves · Refurbished Furniture · Kaleidoscope Cookery · Hearth and Harvest · Cultural Delights · Cook's Collection · Rustic Delight · Hybrid Delights · Oh The Biomes We've Gone (a worldgen mod, here for the four fruits it grows) · Origins (carnivore/vegetarian diet tags).
? On Forge 1.20.1
There is a Forge 1.20.1 file, and it is a real port rather than a repackage — on that version the
shared vocabulary is forge: instead of c:, and the tag files live in a differently named folder,
so every file in the payload is rebuilt. The food mods there have the same problem and the same
four dialects: seven spellings of cheese, seven of milk, four of onion with no cross-references
at all, and Hearth and Harvest filing its cheese in a tag nothing else on that version reads.
Two things are smaller than on 1.21.1, and worth knowing before you install it. It bridges 21 of the 24 mods — Pam's Crops and Trees have no Forge 1.20.1 build and Bountiful Fares is Fabric-only there. And 19 swaps that 1.21 ships conditionally are left out: some substitutions are only fair when a particular mod is installed, 1.21 handles that with a conditional pack overlay, and Minecraft 1.20.1 does not have those. Rather than ship them unconditionally and let an underpriced item into your recipes, this file leaves them out — cheese, dough, milk, salt, flour, cabbage, chicken parts and sashimi each lose one entry or a few. The practical difference, measured on a running server: with Farm & Charm installed, the 1.21 file unifies six doughs in Croptopia's dough tag and this one unifies two.
Everything else is the same mod, including the fair-swap rule and the price checks behind it, which were re-read from the 1.20.1 recipes rather than assumed unchanged.
?? For pack makers
Stop writing one recipe per food mod. Target a role tag and the recipe covers every mod your players have installed, plus the ones they install later.
?️ For mod authors
PantryworkTagKeys (the 1.21.1 NeoForge jar only — the Fabric, 26.x and Forge 1.20.1 files
are pure data with no classes) exposes the role tags and the most-asked-for identity tags —
cheese, butter, dough, cooked rice, flour — as compile-time constants, so you can reference the
taxonomy without hardcoding strings or taking a dependency on the mods being bridged. Anything else
in the layer is a plain c: tag id you can write directly.
✅ Verified, not assumed
Every bridge claimed here was checked on a running server, not inferred — recipe counts are read
out of the mods' own files, but whether a swap works is always measured. The supported mods are loaded
together and the bridges are exercised for real — Pam's own Grilled Cheese & Ham crafted with
Farm & Charm butter and Brewin' & Chewin' cheese (and refused with Croptopia's cheaper cheese);
Farmer's Delight's egg sandwich made from Pam's and Bountiful Fares eggs; Croptopia's pineapple
chicken made from a Fish of Thieves pineapple on NeoForge 26.2; Croptopia's banana smoothie made
with Farmer's Delight milk; Hearth and Harvest's blueberry crate and Croptopia's blueberry jam made
from Oh The Biomes We've Gone berries; and, new at 0.9.0, two of Pam's Food Extended recipes built
entirely out of other mods' food — fried onions from Croptopia's onion and Cultural Delights' butter,
and cheese on toast from Croptopia's toast and Meadow's cheese slice. The Fabric build is booted on 1.21.1, 1.21.10, 1.21.11, 26.1.2 and 26.2;
the NeoForge builds on 1.21.1, 26.1.2 and 26.2 — the 26.1.2 boot on the exact NeoForge build All the
Mods 11 ships, alongside its Croptopia and Aquaculture 2. Separate runs boot it with none of the
supported mods installed, with Farm & Charm removed, and with and without the mods the conditional
swaps depend on — twelve such combinations on the 1.21.1 release jar alone, which prove
thirteen of the fourteen conditions both open and closed. The few they cannot reach are proven on the
development boot instead, and the changelog says which rather than implying full coverage. Automated
GameTests cover role tags, cross-mod identity, reverse bridges, cost floors, and recipe resolution
through RecipeManager.
Forge 1.20.1 is held to the same standard on its own dedicated server: the file alone passes 50 tag assertions with a log that carries no errors at all, and with 16 of the roster mods loaded it passes 338 across 83 tags. A third boot runs that identical mod set with Pantrywork removed, so the 31 errors those mods log are proven to be theirs and not ours — the two lists come back identical. On that version the assertions are tag membership rather than crafts (1.20.1 has neither the command nor the block the craft tests use), and the suite was shown able to fail by rebuilding the file with 1.21's folder name: 39 of the 50 assertions fail, which is every one that asserts presence.
Where something cannot be fixed with tags, the changelog says so rather than implying otherwise: a recipe that names an exact item id cannot be widened by any datapack, and several of the supported mods do exactly that.
下载 Pantrywork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Pantrywork
下载 Pantrywork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Pantrywork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Pantrywork
下载 Pantrywork
下载 Pantrywork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Pantrywork
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Pantrywork
下载 Pantrywork
0.10.0 - Forge 1.20.1,以及一个自八月以来一直错误的回答。
新增:Forge 1.20.1 版本文件。 这是本页面中的第五个文件,它不会替换任何现有内容——四个 1.21.1 / 26.x 版本的文件在 0.9.0 版本中保持不变。与 Fabric 和 26.x 版本的文件一样,它纯粹是数据:没有类、没有代码,客户端无需安装。将其放入服务器端,所有玩家即可自动获取。
为什么现在才提供,尽管页面此前两个月声称无法做到? 旧的回答是 1.20.1 没有可扩展的食物标签——该平台的共享词汇表仅为 forge:,且 forge: 仅记录了五种作物:甜菜根、胡萝卜、下界疣、马铃薯和小麦。这对平台而言是正确的,但对模组而言并非如此。Farmer's Delight 的 1.20 分支声明了 64 个自己的 forge: 标签——牛奶、面团、意大利面、谷物、鸡蛋、浆果、面包、四种生肉和四种熟肉、卷心菜、洋葱、大米、番茄——这些标签完全符合后来在 c: 下重建的双层结构。在 1.20.1 上,食物模组自行扩展了 forge:,正如它们随后扩展 c: 的方式一样。在本次为此读取的十九个 1.20.1 jar 文件中:共有 957 个 forge: 物品标签文件,336 个不同的食物标签路径。整个过程中一直存在可桥接的词汇表;旧的回答引用的是文档而非实际读取 jar 文件,而这正是本项目一贯禁止的做法。
因此,这是一个移植版本,而非全新模组。分类体系和公平交换规则与 1.21 版本文件相同,其背后的价格判定逻辑也相同——除非模组本身在 1.20.1 上的版本不同(这种情况很常见)。有 39 个价格下限和 4 个物品价格是从 1.20.1 配方中重新读取的,而非直接沿用,因为如果在版本间配方发生变化,原本公平的交换可能会悄然变得不公平。
1.20.1 版本的模组列表包含 21 个模组,而非 24 个。 Pam's HarvestCraft 2 的 Crops 和 Trees 完全没有 Forge 1.20.1 构建版本——它们仅有的 1.20.x 构建版本需要比 1.20.1 自带的更新版本的加载器,这一点是通过尝试启动来验证的,而非假设——并且在该版本上 Bountiful Fares 仅支持 Fabric。列表中的其他所有内容均已就位:Farmer's Delight、Croptopia、Pam's Food Core 和 Food Extended、Ocean's Delight、End's Delight、全部三个 Let's Do 模组、Aquaculture 2、Brewin' & Chewin'、Create、Fish of Thieves、Refurbished Furniture、Kaleidoscope Cookery、Hearth and Harvest、Cultural Delights、Cook's Collection、Rustic Delight、Hybrid Delights、Oh The Biomes We've Gone 和 Origins。
同样的混乱局面等待清理。 共享命名空间中存在七种奶酪和七种牛奶的不同拼写,其中奶酪之间有两条交叉引用,牛奶之间有三条。洋葱有四种拼写,但它们之间零交叉引用。Hearth and Harvest 将其奶酪片放入 forge:foods/cheese,而 1.20.1 上没有任何其他模组读取此标签——因此直到有人对其进行桥接之前,Pam's 和 Meadow 的奶酪配方都看不到它的奶酪。这正是本模组旨在解决的问题,只不过是在低一个版本的平台上。
在此文件生效后,情况如下:
- Hearth and Harvest 的奶酪片可以连接到 Pam's 的
forge:cheese和 Croptopia 的forge:cheeses,因此那些原本只接受自家模组奶酪的配方,现在也能使用它们的奶酪了。 - Kaleidoscope Cookery 的炒锅点亮了六个模组的油——包括其自身的油,以及 Cook's Collection、Croptopia 的橄榄油、Hearth and Harvest、Pam's 和 Rustic Delight。炒锅在烹饪任何食物前都会检查其中一个标签,因此它的全部 225 个炒锅配方都受此控制。
- 盐不再作为三个独立的项目存在:Croptopia 和 Pam's 的盐可以连接到 Hearth and Harvest 读取的标签,而 Hearth and Harvest 的盐也可以连接到它们的标签。
- Croptopia 的草莓和 Farm & Charm 的草莓都进入了共享的水果标签,且两者互不依赖——因此移除其中一个模组时,不会连带移除另一个模组的草莓。
与 1.21.1 版本文件相比,你得不到什么。 坦诚说明这一点,而不是让版本标签暗示功能对等:
- 19 个条件交换被移除。 某些交换仅在安装了特定模组时才公平——例如,便宜的团面对 Farm & Charm 来说是合理的,因为它也出售便宜的面团;但对 Croptopia 来说则不合理,因为它不卖。在 1.21 中,这些以条件覆盖层的形式发布,游戏仅在救援模组加载时应用它们。Minecraft 1.20.1 不支持此类功能——覆盖层功能于 1.20.2 引入,条件类型更晚推出。如果无条件地发布这些交换,会导致定价过低的物品进入没有救援者可见的配方中,而这正是公平交换规则旨在防止的情况,因此在 1.20.1 中将这些交换排除在外。受影响的内容包括:Pam's 奶酪、四种廉价面团、三瓶牛奶、三种盐、Hearth and Harvest 的面粉和玉米粉、Farmer's Delight 的卷心菜叶、Farm & Charm 的鸡肉部位以及 Kaleidoscope 的生鱼片。
- 由于数字比规则更容易让人信任,其实际影响为:在安装 Farm & Charm 的情况下,1.21 版本文件将 Croptopia 的面团标签统一为 6 种面团。而在 1.20.1 上,该标签仅包含 2 种。关于面团的其他一切功能仍然正常运作——另一个共享的面团标签在两个版本中都包含全部六种。
- 无
PantryworkTagKeys。 API 类针对 1.21.1 类型编译,因此 1.20.1 版本文件仅发布标签,不包含其他内容。1.20.1 上的模组作者通过 ID 引用标签,这种方式效果相同,也是该类所提供的便利功能。 - 仅限 Minecraft 1.20.1,且仅限 Forge。未标记为 NeoForge 1.20.1,因为未经过测试。
验证方式与此处其他所有内容一致:在运行中的服务器上进行。 为此文件专门搭建了一个 Forge 1.20.1 服务器。仅加载此文件时:50 项断言通过,0 项失败,日志中没有任何类型的错误。 同时加载名单中的 16 个模组后:338 项通过,0 项失败,共涉及 83 个标签(tags)。其余五个模组——Create、Fish of Thieves、Refurbished Furniture、Hybrid Delights 和 Oh The Biomes We've Gone——各自需要额外的库模组才能启动,因此它们是从各自的 1.20.1 jar 文件中桥接加载的,并未包含在该次引导测试中;这些模组的条目是此文件最无法保证的部分。第三次引导运行使用了完全相同的模组集合,但移除了 Pantrywork,以证明那些模组记录的错误源于它们自身而非此文件——错误列表完全一致,31 对 31,且没有任何一次引导将错误归咎于 Pantrywork。
还有一项值得描述的额外检查,因为一个永远不会失败的测试套件毫无意义。此次移植中最大的隐患在于,1.20.1 将其标签文件存放在名为 tags/items/ 的文件夹中,而 1.21 使用的是 tags/item/,并且在另一个版本中会被静默忽略——既无报错也无警告,标签 simply 不存在。因此,该文件被故意使用 1.21 的文件夹名称重新构建并再次运行:50 项断言中有 39 项失败,即所有断言某物存在的测试全部失败。该测试套件能够区分有效负载和无效负载。
在此版本上无法通过标签修复的问题:
- Pam's Food Extended 在其自身的标签中将来自 Crops and Trees 的物品列为必需条目。由于这两个模组无法在 1.20.1 上加载,Pam's Food Extended 的 16 个标签加载失败——包括其浆果类和柑橘类家族。无论是否安装 Pantrywork,这种情况都会发生;此处没有任何内容引用这 16 个标签,只有 Pam's Food Extended 自己能修复它。
- Cultural Delights 0.16.7 通过提供空文件删除了一些原版配方,而 1.20.1 无法读取这些空文件。无害,每次引导都会记录,需由上游修复。
- 与每个版本一样:指定精确物品 ID 而非标签的配方无法通过任何数据包进行扩展,而这些模组中的几个正是这样做的。
0.8.0 - 新增六个模组,炒锅终于点火开灶。
新增:Kaleidoscope Cookery、Hearth and Harvest、Cultural Delights(含 Cook's Collection)、Rustic Delight 和 Hybrid Delights,这五个均出自同一位作者的报告。这五个均为 NeoForge 1.21.1 上的 Farmer's Delight 扩展模组;Rustic Delight 和 Hybrid Delights 同时提供 Fabric 1.21.x 版本(Rustic Delight 亦提供 Fabric 26.x 版本),因此它们的桥接文件也已发布在 Fabric 版本中——尽管目前没有任何 Fabric 测试环境包含这五个模组中的任何一个,所以 Fabric 端的兼容性是通过数据验证和 NeoForge 启动来证明的,而非通过 Fabric 启动测试。
核心亮点:炒锅现在可以使用其他模组的油。 Kaleidoscope Cookery 的炒锅在烹饪前必须用食用油进行“预处理”,其代码通过读取标签而非物品 ID 来判断何种物品算作油。Pantrywork 现在会写入该标签,因此 Hearth and Harvest、Cook's Collection 和 Rustic Delight 的食用油、Croptopia 的橄榄油以及 Pam's Cooking 的食用油均可用于预处理炒锅。这是开启炒锅全部 225 个配方的前提条件。
第六个模组:Oh The Biomes We've Gone。 来自同一线程稍后的另一份报告:“Biomes You'll Go 的蓝莓与任何其他模组化的蓝莓不兼容。” 事实确实如此,原因是 BYG 将其蓝莓归类于其专属的浆果标签中,而未放入任何通用的蓝莓标签。Pantrywork 现在将它们加入共享的蓝莓标签中,这使得 Hearth and Harvest 的五种蓝莓配方(松饼、派、果酱、果汁、板条箱)可以读取它们,而 Croptopia 自身的蓝莓标签也引用了该共享标签,因此 Croptopia 的三种蓝莓相关配方(果酱、种子、司康饼)也能读取到它们。仅因缺失一个标签条目,就影响了八个配方。BYG 的其他三种水果——青苹果、猴面包树果实和丝兰果实——也在同一次更新中被加入通用水果标签。
关于此处的两点诚实说明:反向操作并不可行:BYG 的蓝莓派直接通过精确的物品 ID 指定其使用的浆果,因此没有任何数据包能让 Croptopia 或 Hearth and Harvest 的浆果烘焙出它——只有 BYG 的作者本人能做到。此外,灵魂果被刻意排除在外。 BYG 将其与其他三种水果一同归入水果标签,但食用它会致盲,而公平交换检查衡量的是制作成本,而非食物对玩家的效果。因此它被排除在水果标签之外,正如原版金苹果和 Create 蜂蜜苹果的处理方式一样。它仍保留在 BYG 自己的水果标签中,因为没有任何数据包可以移除某个标签的成员——这是 BYG 的决定权,而非我们的。
其他新增内容:
- Kaleidoscope 的煎蛋再次成为已烹饪鸡蛋。 此前它被归入了一个无人读取的复数标签名称下。现在它加入了真正的“已烹饪鸡蛋”标签,因此 Farmer's Delight 的鸡蛋三明治和培根炒蛋,以及 Cultural Delights 的四种鸡蛋配方均可接受它。
- Kaleidoscope 的面团可在安装 Farm & Charm 时用于 Croptopia 的 13 种面团配方,也可用于 Farmer's Delight 的面团标签,后者被跨七个模组的 11 个配方所读取。
- Hybrid Delights 的盐此前没有任何标签。现在它可用于 75 个配方(Pam's 17 个、Croptopia 45 个、Meadow 13 个)。
- 第五种拼写形式的盐实现了桥接。 Hearth and Harvest、Cultural Delights 和 Cook's Collection 共享一个旧版模组从未听说过的盐标签,该标签被 36 个配方所读取。Hybrid Delights、Meadow 和 Refurbished Furniture 的盐现在可接入该标签;当安装 Hearth and Harvest 时,Croptopia 和 Pam's 的盐也可接入该标签。
- 食用油可进入其他模组的油槽。 Hearth and Harvest、Rustic Delight 和 Cook's Collection 的食用油可用于 Pam's 的 16 个烹饪用油配方;Cook's Collection 的食用油还可用于 Croptopia 的 25 个橄榄油配方;Croptopia、Cook's Collection、Hearth and Harvest 和 Pam's 的食用油则可用于 Rustic Delight 自身的油标签(共 10 个配方)。
- 黄油。 Hearth and Harvest 和 Cultural Delights 的黄油加入了 Croptopia 的黄油标签(共 15 个配方)。但这并非解决“Hearth and Harvest 黄油与 Cultural Delights 黄油不可互换”问题的修复方案——详见下文。
已修复:无人报告的空白。
- 卷心菜与叶菜类从未相遇。 Croptopia 的卷心菜和 Farm & Charm 的生菜对于跨 Farmer's Delight、Cultural Delights、Rustic Delight、Brewin' & Chewin' 和 Ocean's Delight 的 22 个配方而言是隐形的。现在两者均可接入各自的标签。
- 洋葱与番茄。 Croptopia 和 Farm & Charm 的洋葱与番茄,以及 Kaleidoscope 的番茄,现在可接入读取这些标签的 10 个配方。其中两个是 Farmer's Delight 的配方,在安装 Rustic Delight 后会被其限制——炒饭和烤鳕鱼炖汤现已恢复可用。
- Rustic Delight 的九种完整甜椒加入了蔬菜标签,被 23 个配方所读取。Cultural Delights 的蔬菜也随之加入。
如何判定交换。 未改变:Pantrywork 添加至某配方所读取标签中的物品,其价格不得超过该标签定义者列表中已有物品的最便宜价格的 1.5 倍。如果仅部分模组接受如此低价的物品,则该交换仅在其中一个模组安装时才保留。0.8.0 确立了两项惯例:种植种子的成本为其产出作物成本的一部分(一个南瓜产出四个种子),且以生物掉落物为起点的路线不被视为更便宜的路线——成本衡量的是加工努力程度,而非稀缺性。注意:Rustic Delight 的油配方、读取其油标签的十种配方中的九种,以及其切片配方均受其自身配置标志控制(默认开启),而成本模型并无此类概念的概念。在 Fabric 上,需要 Fabric API: 否则 Fabric Loader 将拒绝启动并指明缺失的依赖项。
与 0.7.0 相比的变化。没有任何内容被移除——本次更新中没有物品从标签中移出。
此前无条件,现改为有条件:
- Farm & Charm 的鸡肉部位在生鸡肉标签中:仅在安装 Farmer's Delight 时有效。Kaleidoscope Cookery 也定义了该标签并列出整鸡,因此三分之一只鸡的价格远低于其下限;唯有 Farmer's Delight 自身的半鸡切割能挽救这一情况。
- Kaleidoscope 的生鱼片在生鱼标签中:仅在安装 Farmer's Delight 或 Rustic Delight 时有效(三分之一条鱼,对比整鱼的下限)。
比之前更容易满足条件(只要安装数量严格增加即可触发交换):
- 在 Croptopia 的面粉食谱中使用 Create 的小麦面粉:原本支持 Bountiful Fares、Farm & Charm 或 Pam's;现在也支持 Kaleidoscope Cookery。
- 在复数 salt 标签中使用 Pam's 的盐:原本来自 Croptopia;现在来自 Cook's Collection 或 Croptopia。
- 在 vegetables 标签中使用 Farmer's Delight 的卷心菜叶:原本来自 Croptopia;现在来自 Croptopia 或 Kaleidoscope Cookery。
在 0.7.0 版本移除后,作为条件性内容重新加入:
- 当安装了 Cultural Delights 或 Rustic Delight 时(这两个模组都使用自定义的半蔬菜切块来定义该标签),将 Farmer's Delight 的卷心菜叶作为完整蔬菜处理。
- 当安装了 Kaleidoscope Cookery,以及 Cultural Delights 和 Rustic Delight 时,在 Farm & Charm 的 fish 标签中加入 Farmer's Delight 的鳕鱼片和鲑鱼片,同时加入 Cultural Delights 和 Rustic Delight 的鱿鱼圈。
从一开始就是新增且带条件的: Hearth and Harvest 的面粉和玉米面(需安装 Bountiful Fares 或 Farm & Charm);其盐(需安装 Cook's Collection);其山羊奶瓶(需安装 Pam's,而复数标签需安装 Croptopia);Hearth and Harvest 的新共享 salt 标签中的 Croptopia 盐和 Pam's 盐;Croptopia 的面粉食谱中的 Cultural Delights 和 Kaleidoscope 的面团(需安装 Farm & Charm);以及 vegetables 标签中的 Cultural Delights 的四类切块加上 Rustic Delight 的九种辣椒切片和土豆切片(需安装 Croptopia 或 Kaleidoscope Cookery)。它们的完整蔬菜版本是无条件的。Croptopia Refabricated 被视为 Croptopia;在 Fabric 平台上,Farmer's Delight 的条件对 FD Refabricated 开放。仅在 Minecraft 26.x 上 Rustic Delight 才有构建版本,且仅限 Fabric,因此在 26.x 的文件中几乎没有任何内容会在此处切换生效——对于未安装的模组的条目仅仅是无效的。
仅在开发引导环境中验证过,未在带有发布版 jar 文件的专用服务器上测试 —— 直白地说而非含糊其辞:Bountiful Fares 涉及的两个面粉条件的一半(没有专用服务器场景会携带 Bountiful Fares);Create 在其 开放 状态下的条件(没有发布场景会同时加载 Create 和 Pam's);Hybrid Delights 的三个盐桥接(其 jar 文件需要 HAPI 和 Kotlin 用于 Forge,且其盐物品仅在与 Hybrid Aquatic 共存时才存在);以及 Cultural Delights 涉及的卷心菜叶条件的一半及其四类切块,因为 Cultural Delights 要求 NeoForge 21.1.247,而专用的 1.21.1 测试服务器故意停留在 21.1.241,因此在该场景中用 Rustic Delight 代替。
无法通过标签修复:
- Cultural Delights 的黄油和 Hearth and Harvest 的黄油仍然不可互换。 在此次更新之前,它们就已经处于同一个标签中了——这从来不是问题所在。它们各自的食谱(各五种)指定了确切的黄油物品 ID,而不是标签,而任何标签更改都不会影响食谱所请求的内容。只有这两位作者才能修复它;上述 Croptopia 黄油的胜出是另一回事。
- Refurbished Furniture、Hybrid Delights、Cultural Delights 和 Hearth and Harvest 中其他指定确切物品 ID 的食谱也是如此。Hybrid Delights 是最明显的例子:其盐现在可以在另外 75 个食谱中工作,而没有其他东西能在其自身的十一个食谱中工作。
- Kaleidoscope Cookery 的油壶补充和黄油茶包指定了其自身的油物品。
在其他模组中发现的错误 (都不是 Pantrywork 需要修复的问题,但都值得报告):
- Kaleidoscope Cookery 的炒锅消耗手持物品且不返回容器,因此瓶装油会丢失玻璃瓶。Farmer's Delight 自己的烹饪锅则会返回容器。
- Cook's Collection 附带了一个 Brewin' & Chewin' 兼容食谱,其中引用了一个在 1.20 之后停止存在的 Farmer's Delight 物品 ID。当两个模组都安装时,它不会静默失败:每次加载时,食谱管理器都会记录带有堆栈跟踪的解析错误,并且披萨缺失。
- Kaleidoscope Cookery 自己的标签列表将其仅限 Quark 的家具列为必需 ID,因此在没有 Quark 的游戏中会记录缺失的引用。
故意不进行桥接: Rustic Delight 的鱼和饼干的 反向 方向。向外它们是流通的——其鱿鱼圈加入三个生鱼标签,其熟鱿鱼圈加入两个熟鱼标签,其三种饼干加入共享饼干标签,因此其他模组的食谱可以使用它们。不桥接的是反过来的方向,且没有任何数据包能做到这一点:其自身的鱿鱼食谱通过 ID 命名物品或读取 squid 标签,而其三种饼干食谱是从其自身的风味标签制作,而不是从 cookie 标签制作。熟鸡蛋保持在 raw-egg 标签之外,该标签被十二个模组中的 59 个食谱作为 生 蛋槽位读取(其中 40 个不在 Kaleidoscope 本身内)。Kaleidoscope 自己的油保持在其他模组的油标签之外——它比 Croptopia 的橄榄油便宜 8 倍,比 Rustic Delight 的油便宜 3 倍。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
评论 0
登录后参与评分
还没有评论,来抢沙发吧