Links
Tags
Creators
Details
forge-3.1.0
Compatibility
Changes
FoodStats 3.1.0 (Forge / Minecraft 1.20.1)
Requires Minecraft 1.20.1 + Forge 47.1.0 or newer Optional: Cloth Config (in-game config screen), JEI (recipe lookup)
Added
- In-game config screen: settings are now editable from the mod list instead of commands only. Four sections: basic, food lists, attribute bonuses, messages.
- Block foods are now tracked: dishes from Kaleidoscope Cookery and the vanilla cake are recorded when eaten by right-clicking the placed block. Dish nutrition follows the quality tier stored on the block: Superb x1.2, Excellent x0.9, Standard x0.6, Poor x0.3, ungraded x1.0.
- The food guide and item tooltips recognize block foods.
- New config option custom_block_foods for modpacks, format: block_id=hunger_per_bite
Fixed
- Right-clicking a block food with a full hunger bar no longer counts as eaten.
- Sneaking while holding an item no longer counts as eaten.
Compatibility
- A food counts as one guide entry whether eaten as a block or as an item.
- Both ways of eating accumulate saturation once each.
- Existing saves work as-is; previously eaten block foods are not retroactively recorded.
Other
- Removed unused network code.
食物增强 3.1.0(Forge / Minecraft 1.20.1)
适用:Minecraft 1.20.1 + Forge 47.1.0 以上 可选依赖:Cloth Config(游戏内配置界面)、JEI(配方查看),不装也能正常游戏
【新增】游戏内配置界面
- 终于可以在模组列表点「配置」直接改设置了,不用再敲指令
- 四个分组:基础设置、食物名单、属性加成、消息设置
- 连服务器时不再显示可编辑界面,改为提示由管理员用指令修改
- 未安装 Cloth Config 时给出提示,不会崩溃,指令照常可用
【新增】方块食物支持
- 放置后右键食用的食物现在会被正确记录,包括「森罗物语:厨房」的全部菜肴与 原版蛋糕
- 菜肴按方块上的品质档位折算实际营养:极佳 1.2 倍、优秀 0.9 倍、普通 0.6 倍、 生疏 0.3 倍,无品质按原值
- 食物手册与物品提示都会识别方块食物
【新增】配置项 custom_block_foods
- 整合包可自行声明方块食物,格式为 方块ID=每次咬口的饥饿值
- 例:kaleidoscope_cookery:dongpo_pork=7
【修复】
- 饱食度已满时右键方块食物,不再被误记为已食用
- 潜行并手持物品时右键方块食物,不再被误记
【兼容】
- 同一种食物无论直接吃还是方块吃,图鉴只算 1 种
- 两种吃法各累计一次饱食度
- 旧存档可直接使用,缺失字段自动按空处理
- 旧存档中此前吃过的方块食物不会追溯补记
【优化】
- 移除无用的网络包,减小体积
Optional dependencies
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:NDtYqsVE:jENMIT3l"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:NDtYqsVE:jENMIT3l"
}

