Tags
Creators
Details
Licensed LGPL-3.0-only
Published 6 months ago
Updated 3 months ago
All versions
2.0.0
Release
2.0.0 for Neoforge 1.21.15 months ago 38
Compatibility
Minecraft: Java Edition
1.21.1
Platform
NeoForge
Supported environments
Client and server
Changes
Changelog
[Latest] — 2026-06-02 / 最新版本
Bug Fixes / 问题修复
- Fixed block foods (like Cake) not showing nutrition values in tooltips. / 修复了方块食物(如蛋糕)未在Tooltip中显示营养值的问题。
- Fixed block foods not properly adding nutrition when consumed. / 修复了食用方块食物时未正确增加营养值的问题。
- Fixed entire cake nutrition being added instead of per-bite nutrition. / 修复了食用蛋糕时错误添加整个蛋糕营养值而非按口计算的问题。
- Fixed simulated recipes not being recognized by the nutrition auto-calculator. / 修复了模拟配方未被营养自动计算器识别的问题。
- Fixed simulated recipe loading timing issue by moving calculation trigger from ServerStarting to OnDatapackSync event. / 通过将计算触发从ServerStarting事件移至OnDatapackSync事件,修复了模拟配方加载时序问题。
- Fixed the
cachecommand being incorrectly nested underconfiginstead of being a direct branch ofdiet. / 修复了cache指令被错误嵌套在config分支下而非作为diet的直接分支的问题。 - Fixed
/diet screencommand requiring permissions to execute when it should be accessible to all players. / 修复了/diet screen指令需要权限才能执行的问题,使其对所有玩家可用。 - Fixed data files without the
auto_calculatedfield being unable to load by defaulting the field tofalsewhen absent. / 修复了不含auto_calculated字段的数据文件无法加载的问题,缺失时该字段默认为false。 - Fixed the diet balance UI shifting upward when switching pages for the first time after opening. / 修复了膳食均衡界面在打开后首次切换页码时界面上移的问题。
- Fixed the diet balance UI appearing in the upper-middle of the screen instead of being centered. / 修复了膳食均衡界面出现在屏幕中上部而非正中央的问题。
- Fixed FTBLibrary being declared as a required dependency instead of a soft dependency, now the mod functions correctly when FTBLibrary is not loaded. / 修复了 FTBLibrary 被声明为必选前置依赖的问题,现在未加载 FTBLibrary 时模组也能正常运行。
- Fixed the diet screen entrance button not registering to FTB Library's sidebar when in
ftb_compatmode with FTB Library installed. / 修复了安装 FTB Library 后在ftb_compat模式下入口按钮未正确注册到 FTB Library 按钮栏的问题。
New Features / 新增功能
- Added
/diet itemcommand for managing nutrition data of held items. / 新增/diet item指令,用于管理手持物品的营养数据。 - Added
/diet blockcommand for managing nutrition data of blocks. / 新增/diet block指令,用于管理方块的营养数据。 - Added
craft_chain_search_depthconfig option to control recipe recursion depth for non-food ingredients. / 新增craft_chain_search_depth配置项,控制非食物原料的配方递归搜索深度。 - Added support for block foods (e.g., Cake) with per-bite nutrition calculation. / 新增方块食物支持(如蛋糕),支持按口计算营养值。
- Added simulated recipe system using Minecraft's native recipe system with type
appleseed:simulate_recipe. / 新增基于Minecraft原生配方系统的模拟配方功能,配方类型为appleseed:simulate_recipe。 - Added comprehensive DEBUG logging for nutrition calculation process. / 新增营养计算过程的详细DEBUG日志。
Feature Changes / 功能变更
- Unified recipe handling: SimulateRecipes are now processed together with other recipe types instead of being treated separately. / 统一配方处理:模拟配方现在与其他配方类型统一处理,不再单独处理。
- Recursive nutrition calculation now properly handles non-food ingredients and fluids with configurable depth limit. / 递归营养计算现在正确处理非食物原料和流体,支持可配置的深度限制。
/diet cache regeneratenow first clears the cache and then executes the vanilla/reloadcommand. //diet cache regenerate指令现在会先清空缓存再执行原版/reload指令。/diet cache reloadis now equivalent to executing the vanilla/reloadcommand. //diet cache reload指令现在等同于执行原版/reload指令。
Optimizations / 功能优化
- The
/diet config entranceVisibilitycommand now automatically executes/reloadwhen switching to or fromftb_compatmode to refresh FTB Library's sidebar immediately. / 使用/diet config entranceVisibility指令切换至或离开ftb_compat模式时,现在会自动执行/reload以立即刷新 FTB Library 侧边栏。 - Repositioned the mod's FTB Library sidebar button to the first position of the third row. / 将本模组在 FTB Library 侧边栏中的按钮位置调整为第三排第一个。
- Added missing translation keys for all commands and UI elements. / 补全了所有指令和UI元素的翻译键。
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:uwTJPjNt:cfo5ai1N"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uwTJPjNt:cfo5ai1N"
}

