Список изменений
Changelog | 更新日志
[1.3.0] - 2026-05-17
🛠️ 命令系统 | Command System
全新 /diet 命令,方便服务器管理员和整合包作者管理玩家营养数据:
The brand-new /diet command for server admins and modpack authors to manage player nutrition data:
| 命令 Command | 权限 | 功能 Description |
|---|---|---|
/diet nutritions query <玩家> | 2 | 查询指定玩家的营养值,按数据包定义的颜色显示 |
/diet nutritions set <玩家> <营养ID> <值> | 2 | 修改指定玩家某项营养值(0.0~1.0),支持Tab补全 |
/diet config set ignoreHunger <true/false> | 2 | 切换饱食度满时是否计算营养值,修改即时保存到配置文件 |
/diet cache clear | 4 | 删除 config/apple_seed_foods/ 目录下所有自动计算缓存 |
/diet cache regenerate | 4 | 清除缓存后重新计算并生成所有食物营养值数据 |
/diet cache reload | 2 | 重新加载食物营养值和营养素数据,并同步到所有在线玩家 |
💡 查询结果中已禁用的营养组不会显示,且各营养值行会以数据文件中定义的组颜色渲染。
🥪 联动兼容 | Mod Compatibility
Some Assembly Required 模组的 三明治 (Sandwich) 物品现已支持动态营养计算:
- 食用三明治时,系统会读取其 NBT 中的
someassemblyrequired:sandwich_contents配料列表 - 根据每种配料的
id和count字段自动汇总计算总营养值 - 物品提示(Tooltip)中也会实时显示当前三明治的动态营养值
- 无需为该物品编写任何营养值数据文件
The Sandwich item from Some Assembly Required now supports dynamic nutrition calculation:
- When eating a sandwich, the system reads the
someassemblyrequired:sandwich_contentsingredient list from its NBT - Total nutrition is automatically summed based on each ingredient's
idandcountfields - The item tooltip also displays the sandwich's real-time dynamic nutrition values
- No nutrition data file is needed for this item
⚠️ 这不是硬依赖。未安装 SomeAssemblyRequired 时,相关代码零开销。
🎨 视觉修复 | Visual Fix
- 膳食均衡界面(Diet Screen)中进度条后的百分比文本现在使用数据文件中定义的营养组颜色,而非统一的深灰色。例如水果组会显示为
#9e2a2b对应的红色调。 - The percentage text after progress bars in the Diet Screen now uses each group's defined color from data files, instead of a uniform dark gray.
Файлы
appleseed-1.3.0.jar(165.70 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.3.0
Загрузчики
NeoForge
Версии игры
1.21.1
Загрузок
40
Дата публикации
17.05.2026

