Farmer's Delight: Meal Mastery
Meal Mastery 是 Farmer's Delight 的一个附加组件,它将烹饪转化为一种进度系统。你制作的每道菜都有独立的精通路线,烹饪记录会保存在烹饪日志中,而熟练度提升会切实改变烹饪和食用时的效果。
它不添加任何食物、物品、方块、游戏内纹理、模型或音效。它显示的所有内容均由原版 GUI 精灵和其他模组已注册的物品构建而成。唯一自带的图像是其自身的模组列表图标。
| 依赖项 | Farmer's Delight, Fabric API(仅限 Fabric 版本) |
| Minecraft | 1.20.1 (Fabric, Forge) - 1.21.1 (Fabric, NeoForge) |
| 端侧 | 客户端和服务器均需安装 |
| 新增内容 | 无 |
| 许可证 | MIT |
精通 (Mastery)
每个食谱都有独立的精通路线,从“陌生”到“精通”,通过制作特定菜肴来推进。默认情况下,最高等级需要制作该菜肴 300 次(阈值 [2, 20, 60, 150, 300])。
精通具有机械性效果,且默认开启。以下所有数值均为默认值,且均可配置:
- 烹饪速度 - 在完全精通时,锅、平底锅和炉灶以及原版的烟熏箱运行速度最快可达两倍。
- 星级评价 - 烹饪好的食物会被盖上一星至五星的评价章,显示在其名称下方。
- 额外效果 - 在完全精通时,有 25% 的几率使食用一道菜肴获得 20 秒的生命恢复、迅捷或急迫效果。
- 饱和度 - 每颗星增加 +0.2 饱和度。饥饿值永远不会被修改。
- 完美菜肴 - 在完全精通时,有 8% 的几率摆盘出完美菜肴:多一颗星且效果更强。
- 额外份量 - 有 12% 的几率使相同食材产生更多份量。
- 刀具耐久 - 有 25% 几率使砧板上的准备操作返还一点耐久度。
- 招牌菜 - 鼠标中键点击已精通的食谱可将其设为你的招牌菜;所有以此方式制作的菜肴都会高出一星评级。
所有概率均从“陌生”等级的零开始线性增长,因此首次尝试时不会应用任何效果。实际概率会在按住修饰键时显示在工具提示中,因此经过调整的整合包会显示其自己的数值,而不是让玩家去猜测。
烹饪好的食物会携带一个印章,记录厨师的星级、是否完美以及制作者是谁——这就是为什么厨师的食物对食用者更好,以及为什么当其他人食用时厨师也能获得精通经验的原因。这是该模组唯一写入物品的地方。未盖章的物品栈与原版食物字节完全相同,而盖章的物品栈拒绝与未盖章的合并,以免好批次被坏批次稀释。
希望仅统计数据的服务器可将 mastery.bonuses.enabled 设置为 false,此时上述所有机械效果都将消失。
烹饪日志
通过快捷键(默认为 J)或 /mealmastery open 打开。无需物品。
它追踪食谱、食材、烹饪方法、类别和合集——所有内容均通过烹饪发现,而非通过打开配方查看器发现。针对每个模组的合集会自动为贡献了至少一道菜肴的每个模组生成。未知条目可以隐藏、显示为剪影、按名称显示、显示带有食材提示或完整显示,具体取决于客户端设置。
烹饪等级和经验值
烹饪经验值故意奖励广度而非重复。发现新菜肴值得 75 XP;重复已知菜肴仅值得 6 XP。此外,防刷取递减回报适用于每日每道菜肴——第一次制作全额计算,接下来四次按 75% 计算,接下来十次按 50% 计算,之后的所有制作按 20% 的下限计算。下限不为零:重复应该价值更低,而不是毫无价值。
刻意将廉价菜肴制作一万次是一种糟糕的策略。
挑战、合集与里程碑
每日挑战根据实际安装的食品生成,因此目标永远不会无法完成。整合包和数据包作者可以添加自己的挑战:
data/<namespace>/mealmastery/challenges/<name>.json
data/<namespace>/mealmastery/collections/<name>.json
data/<namespace>/mealmastery/milestones/<name>.json
提供十四种目标类型(制作食谱、从类别或特定模组制作、使用食材或食材标签、使用烹饪方法、精通食谱、提供份量、达到等级等)。奖励仅限于现有事物——物品、进度、XP 和 cosmetic 日志徽章。不发明自定义奖励物品。命令奖励存在,但受限于默认关闭的服务器设置。
该模组自带的所有内容均以数据包文件形式编写,因此打包者可以通过重用相同的 ID 来覆盖其中的任何内容。
它能与从未听说过的食品附加组件协同工作
Meal Mastery 没有对 Farmer's Delight 的编译时依赖。 它从原版注册表中读取食谱类型、食谱、食材、食物属性和标签,因此 Nether's Delight 的烹饪食谱和 Farmer's Delight 的烹饪食谱走完全相同的代码路径。没有任何内容绑定到模组 ID。
实际后果:安装另一个食品附加组件,日志将在下次启动时自动扩展。没有兼容性包,没有硬编码的物品列表,也没有针对每个附加组件的代码——包括在此模组之后发布的任何附加组件。这适用于来自根本不是 Farmer's Delight 附加组件的模组的食物,只要它们注册了生产普通食物的普通食谱。
Farmer's Delight 仍然是安装和运行 Meal Mastery 所必需的。
默认情况下,原版食谱也算在内。 面包、烤土豆以及任何来自烟熏箱的食物都与 Farmer's Delight 炖菜享有相同的精通条件,并且日志会列出它们。希望日志只关注其食品附加组件的打包者可将 compatibility.trackVanillaRecipes 设置为 false,这将一次性关闭整个 minecraft 命名空间,而不影响其他任何模组。
/mealmastery debug 会报告模组对你手中物品的判定结果,这是查明某项整合包食物是否在日志中的最快方法。/mealmastery compat 列出所有被检测为贡献菜肴的模组。
多人游戏
烹饪成就仅授予真实且可识别的玩家。由漏斗、自动合成器或模组自动化生产的食物默认情况下不会给任何人带来任何收益;所有权不会被猜测。服务器可以通过 automation.credit 设置放宽此限制。
排行榜默认关闭,并且每位玩家需单独选择加入——玩家通过给自己添加 mealmastery_leaderboard 记分板标签来加入。
进度由服务器权威控制。客户端无法更改它;服务器推送其使用的曲线,因此不匹配的客户端甚至无法错误地渲染进度条。
配置
配置文件目录中有两个带注释的 TOML 文件:
config/mealmastery-server.toml 世界行为,服务器权威
config/mealmastery-client.toml 仅展示
每个设置都在文件本身中进行了注释,包括其范围和接受的值。两者都可以通过 /mealmastery reload 重新加载。超出范围的值会被钳制并记录,而不是被拒绝——配置拼写错误绝不能导致任何人失去他们的世界——而完全无法解析的文件会被重命名为 *.invalid 并用默认值替换,以便保留原始文件的可恢复性。早期 JSON 版本的配置会自动迁移,原始文件保留为 *.json.bak。
五个预设(Vanilla+、Cozy、Completionist、Server、Cosmetic)可作为起点使用。没有任何一个会自动应用,应用一个预设只会重写配置;它不能触及玩家档案。
命令
/mealmastery,别名 /mealmasters 和 /mm。
open, stats, recipe <item> |
你自己的档案 |
challenges, collections, titles, today |
目标 |
leaderboard, compat, export |
服务器和诊断 |
audit, debug, reload |
注册表检测到的内容及其原因 |
admin inspect / addxp / setlevel / discover / mastery / reset / purgeorphans |
管理员 |
面向模组开发者
有一个小型公共 API(MealMasteryApi),用于处理通用检测无法覆盖的两种情况:注册既不打开菜单也不掉落输出的工作台,以及直接授予烹饪成就。大多数模组不需要这些功能——只需注册普通配方的食物整合包已经得到完全支持,无需任何集成代码。
Meal Mastery 不是一个厨房框架,也不会成为强制依赖项。通过 API 无法注册食物、配方、工作台菜单或烹饪机制;这些属于 Farmer's Delight 及其整合包。
它不做的事情
- 它不会添加任何食物、物品、方块、游戏内纹理、模型或声音。
- 它不会修改 Farmer's Delight 的配方或任何食物物品的属性。
- 它不会锁定任何东西。没有配方、物品或方块会因为 Meal Mastery 等级而变得不可用。
- 它不会改变饥饿值,也不会添加营养或食物组系统。
- 它不会替代配方查看器。JEI/REI/EMI 集成是可选且附加的。
- 它不会挂钩到其他进度模组。它的烹饪等级与 Project MMO 的技能等级或 LevelZ 的等级无关,也不产生或使用它们的经验值。
- 它不会占用其他模组拥有的工具提示部分。每当安装了一个营养模组时,营养行默认处于关闭状态。
源代码和问题反馈
分支 1.20.1 针对 Minecraft 1.20.1(Fabric, Forge)。分支 1.21.1 针对 Minecraft 1.21.1(Fabric, NeoForge)——Farmer's Delight 在 1.21.1 上没有 Forge 构建,因此加载器有所不同。
MIT 许可证。整合包可以自由包含它;建议提供致谢链接,但非必需。
Meal Mastery 是一个独立的整合包。它与 Farmer's Delight 的作者无关、未经其认可或支持。
Farmer's Delight: Meal Mastery
Meal Mastery is an addon for Farmer's Delight that turns cooking into progression. Every dish you prepare has its own mastery track, the food you cook is recorded in a culinary journal, and getting good at a recipe measurably changes what happens when you cook and eat it.
It adds no food, no items, no blocks, no in-game textures, no models and no sounds. Everything it displays is built from vanilla GUI sprites and items other mods already registered. The only image it ships is its own mod-list icon.
| Requires | Farmer's Delight, Fabric API (Fabric builds only) |
| Minecraft | 1.20.1 (Fabric, Forge) - 1.21.1 (Fabric, NeoForge) |
| Sides | Client and server, both required |
| New content added | none |
| License | MIT |
Mastery
Each recipe has an independent mastery track running from Unfamiliar to Mastered, advanced by preparing that specific dish. By default the top rank takes 300 preparations of one dish (thresholds [2, 20, 60, 150, 300]).
Mastery has mechanical effects, and they are on by default. Every value below is the default and every one is configurable:
- Cooking speed - the cooking pot, skillet and stove, plus the vanilla smoker, run up to twice as fast at full mastery.
- Star rating - cooked food is stamped with a rating from one to five stars, shown under its name.
- Bonus effects - a 25% chance, at full mastery, that eating a dish grants 20 seconds of regeneration, speed or haste.
- Saturation - +0.2 saturation per star. Hunger values are never touched.
- Perfect dishes - an 8% chance at full mastery of plating something perfect: an extra star and a stronger effect.
- Extra portions - a 12% chance the same ingredients stretch further.
- Knife durability - a 25% chance a cutting-board preparation refunds a point of durability.
- Signature dish - middle-click a mastered recipe to make it your signature; everything you cook of it plates one star higher.
All chances scale linearly from zero at Unfamiliar, so none of it applies to a first attempt. The real odds for a dish are printed on its tooltip behind the modifier key, so a retuned modpack states its own numbers instead of leaving players to guess.
Cooked food carries a stamp recording the cook's stars, whether the attempt was perfect, and who made it - which is why a chef's food is better for whoever eats it, and why the chef earns mastery when someone else eats it. This is the only place the mod writes to an item. An unstamped stack is byte-identical to vanilla food, and stamped stacks refuse to merge with unstamped ones so a good batch is not diluted by a bad one.
A server that wants statistics-only behaviour sets mastery.bonuses.enabled to false and every mechanical effect above disappears.
The journal
Opened with a keybind (J by default) or /mealmastery open. No item required.
It tracks recipes, ingredients, cooking methods, categories and collections - all discovered by cooking, not by opening a recipe viewer. Per-mod collections are generated automatically for every mod that contributes at least one dish. Unknown entries can be hidden, silhouetted, shown by name, shown with ingredient hints or shown in full, per client.
Cooking level and XP
Cooking XP deliberately rewards breadth over repetition. Discovering a new dish is worth 75 XP; repeating one you already know is worth 6. On top of that, anti-farming diminishing returns apply per dish per day - the first preparation counts fully, the next four at 75%, the next ten at 50%, everything after at a 20% floor. The floor is not zero: repetition should be worth less, not worthless.
Cooking one cheap dish ten thousand times is intentionally a bad strategy.
Challenges, collections and milestones
Daily challenges are generated from the food that is actually installed, so an objective is never impossible to complete. Modpack and datapack authors can add their own:
data/<namespace>/mealmastery/challenges/<name>.json
data/<namespace>/mealmastery/collections/<name>.json
data/<namespace>/mealmastery/milestones/<name>.json
Fourteen objective types are available (cook a recipe, cook from a category or a specific mod, use an ingredient or ingredient tag, use a cooking method, master a recipe, serve portions, reach a level, and so on). Rewards are limited to things that already exist - items, advancements, XP and cosmetic journal badges. No custom reward items are invented. Command rewards exist but are gated behind a server setting that is off by default.
Everything the mod ships is written as datapack files itself, so a pack can override any of it by reusing the same id.
It works with food addons it has never heard of
Meal Mastery has no compile-time dependency on Farmer's Delight. It reads recipe types, recipes, ingredients, food properties and tags out of vanilla registries, so a Nether's Delight cooking recipe and a Farmer's Delight cooking recipe travel the exact same code path. Nothing is keyed to a mod id.
The practical consequence: install another food addon and the journal grows on the next launch. There is no compatibility pack, no hardcoded item list, and no per-addon code - including for any addon released after this mod. This applies to food from mods that are not Farmer's Delight addons at all, as long as they register ordinary recipes producing ordinary food.
Farmer's Delight itself is still required to install and run Meal Mastery.
Vanilla recipes count too, by default. Bread, a baked potato and anything out of a smoker earn mastery on the same terms as a Farmer's Delight stew, and the journal lists them. A pack that wants the journal to be about its food addons only sets compatibility.trackVanillaRecipes to false, which turns off the whole minecraft namespace in one go and leaves every other mod untouched.
/mealmastery debug reports what the mod thinks about the item in your hand, which is the fastest way to find out why a given addon's food is or is not in the journal. /mealmastery compat lists every mod detected as contributing dishes.
Multiplayer
Cooking credit only goes to a real, identifiable player. Food produced by hoppers, autocrafters or mod automation earns nobody anything by default; ownership is never guessed. A server can relax this with the automation.credit setting.
Leaderboards are off by default, and opt-in per player on top of that - a player opts in by giving themselves the mealmastery_leaderboard scoreboard tag.
Progression is server-authoritative. A client cannot change it; the server pushes the curves it uses, so a mismatched client cannot even mis-render a progress bar.
Configuration
Two commented TOML files in the config directory:
config/mealmastery-server.toml world behaviour, server-authoritative
config/mealmastery-client.toml presentation only
Every setting is commented in the file itself, including its range and accepted values. Both reload with /mealmastery reload. Out-of-range values are clamped and logged rather than rejected - a config typo must never cost anyone their world - and a file that cannot be parsed at all is renamed to *.invalid and replaced with defaults so the original stays recoverable. Configs from an earlier JSON build are migrated automatically, with the original kept as *.json.bak.
Five presets (Vanilla+, Cozy, Completionist, Server, Cosmetic) are available as starting points. None is ever applied automatically, and applying one only rewrites configuration; it cannot touch a player profile.
Commands
/mealmastery, aliased /mealmasters and /mm.
open, stats, recipe <item> |
your own profile |
challenges, collections, titles, today |
goals |
leaderboard, compat, export |
server and diagnostics |
audit, debug, reload |
what the registry detected, and why |
admin inspect / addxp / setlevel / discover / mastery / reset / purgeorphans |
admin |
For mod developers
There is a small public API (MealMasteryApi) for the two cases generic detection cannot reach: registering a workstation that neither opens a menu nor drops its output, and awarding cooking credit directly. Most mods need none of it - a food addon registering ordinary recipes is already fully supported with zero integration code.
Meal Mastery is not a kitchen framework and will not become a mandatory dependency. There is no way to register a food, a recipe, a workstation menu or a cooking mechanic through the API; those belong to Farmer's Delight and to the addons themselves.
What it does not do
- It does not add any food, item, block, in-game texture, model or sound.
- It does not modify Farmer's Delight recipes or the stats of any food item.
- It does not gate anything. No recipe, item or block becomes unavailable because of a Meal Mastery level.
- It does not change hunger values, and it does not add a nutrition or food-group system.
- It does not replace a recipe viewer. JEI/REI/EMI integration is optional and additive.
- It does not hook into other progression mods. Its Cooking Level has no relationship to a Project MMO skill level or a LevelZ level, and it neither emits nor consumes their XP.
- It does not claim a tooltip section another mod owns. The nutrition line stays off by default whenever a nutrition mod is installed.
Source and issues
Branch 1.20.1 targets Minecraft 1.20.1 (Fabric, Forge). Branch 1.21.1 targets Minecraft 1.21.1 (Fabric, NeoForge) - Farmer's Delight has no Forge build for 1.21.1, which is why the loaders differ.
Licensed MIT. Modpacks are free to include it; a credit link is appreciated but not required.
Meal Mastery is an independent addon. It is not affiliated with, endorsed by or supported by the authors of Farmer's Delight.
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Farmer's Delight: Meal Mastery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
[1.1.2] - 2026-08-09
Added
- 篝火现在被计入烹饪。其他所有烹饪方块都通过其界面来识别——熔炉、烟熏炉和工作台都有各自的界面,而篝火没有界面,因此它此前从未被视为工作站。
- 工作站现在是一个方块标签
mealmastery:workstations。任何拥有自有烹饪方块的模组或整合包均可通过数据包添加支持,无需修改代码。 - Cooking for Blockheads 在安装时即可生效:其烤箱、烹饪台和烤面包机均列在该模组自身维护的标签副本中。
- 新增配置项
automation.unattendedWindowTicks(默认值 1200)与compatibility.ignoreUnpackingRecipes(默认开启)。
Fixed
- 将存储方块还原为其所含食物的操作不再触发支付逻辑。
- 对部分烹饪状态的堆叠物品进行盖章操作时,不再经由
Inventory#add路由处理。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧