中文 Chinese
很高兴地为各位带来最新的主要功能更新,该版本新增功能可能需要测试和反馈,使用该版本出现问题可以直接替换为旧版本
函数支持
该版本内置了exp4j作函数解析,在配置中即可找到函数选项

函数使用文档:
你可以在函数中使用这些变量:
uniqueFoods食用过的食物数currentHealth当前血量(不包含本mod添加的血量,包含别的mod添加的血量和基础血量)
你可以使用这些运算:
- 普通四则运算(加+减-乘*除/),用括号表示的优先级(例如( 1 + 2 ) * 3)
- 幂运算
pow(底数, 指数) - 约数:
- 向下取整数:
floor(num) - 四舍五入数:
round(num) - 向上取整数:
ceil(num)
- 向下取整数:
- 比较大小
- 取大值:
max(num1, num2) - 取小值:
min(num1, num2)
- 取大值:
- 对数:
log(底数, 真数) - 你可以使用
e和pi代表e和π
杂项
- 该版本移除了默认血量配置项,将兼容其他修改血量的MOD,不会覆盖其血量设置
- 删除了文言文i18n
- 做了一些优化和小型改动
- 调整了配置项名称,具体参考简介,为最新版本内容
GUI改动
- 修改了配置GUI

- 将提示由物品id改为物品名称

English
This text was translated by AI and may contain errors.
Glad to bring you the latest major feature update. New features in this version may require testing and feedback. If you encounter any issues, you can directly replace this version with the previous one.
Function Support
This version includes exp4j for function parsing—you can find the function option in the configuration.

Function Usage Documentation:
You can use the following variables in functions:
uniqueFoods: number of unique foods eatencurrentHealth: current health (does not include health added by this mod, but includes health from other mods and base health)
You can use the following operations:
- Basic arithmetic (
+,-,*,/), with parentheses for precedence (e.g.,(1 + 2) * 3) - Exponentiation:
pow(base, exponent) - Rounding functions:
- Floor:
floor(num) - Round:
round(num) - Ceiling:
ceil(num)
- Floor:
- Comparisons:
- Maximum:
max(num1, num2) - Minimum:
min(num1, num2)
- Maximum:
- Logarithm:
log(base, argument) - You can use
eandpito represent Euler’s number and π, respectively.
Other Improvements
- This version removes the default health configuration option and now respects health values set by other mods—it will not override them.
- Removed Classical Chinese(or called Acient Chinese,文言) i18n
- Made some optimizations and minor changes
- Adjusted configuration item names; refer to the README for details, as this reflects the latest version
GUI Changes
- Updated the configuration GUI

- Changed tooltips from item IDs to item names

修复和优化
- 恢复了在2.4.1修复中错误复制的纹理文件,恢复正常GUI样式
问题修复及优化
- 完善了数据复制API,修复了末地回到主世界时数据未同步的问题
- 改善了i18n
功能更新
GUI
完成了所有GUI:
食物簿
- 鼠标滚轮滑动翻页
- 显示所有已食用食物

概述页
- 显示 已食用食物/所有食物
- 显示 已增加血量/最大血量

按键绑定
- 使用minecraft自带的案件绑定页面绑定开启GUI的按键

错误修复
- 修复了 若频率增益频率为0则血量应用逻辑无法运行的错误
杂项
完善了新版本的英语、中文i18n
该版本未完成,目前供体验与征集建议,不建议日常使用和在未备份存档的情况下安装!
H键打开GUI

功能更新
- 添加指定频率(食用一定数量新食物)而获得额外增益的功能(通过设置频率为0可禁用,通过设置原有默认增幅为0则达到指定新数量食物才增益的效果)
配置选项
Increasefrequency
食用一定数量新食物而获得额外增益的频率"Increasefrequency": 4,
frequencyGain
食用一定数量新食物而获得额外增益的幅度"frequencyGain": 4,
- 修复了bug:玩家死亡时,Mod 可能会把 NBT 中记录的“已吃食物列表”当作真实物品,在死亡点掉落(或塞进物品栏)
- 优化了逻辑,修改历史遗留代码
- 修复了永远会死亡重置的bug
- 修复了配置页面的显示错误
功能更新:
- 添加配置GUI
配置系统改为clothconfigAPI的autoconfig代理
功能更新
- 增加开发者调试模式,支持输出log文件记录
- 增加控制是否在增加生命值后恢复血量至满血的选项
配置文件新增项
developerMode
"developerMode": false,
开发者模式,输出log记录玩家变更记录,建议不持续开启,仅2.1.0+版本存在。
healToMaxOnIncrease
"healToMaxOnIncrease": false
是否在增加生命上限时恢复满血,仅2.1.0以上版本存在。
主要改动
- 重构mod(将内存持久化优化为生物NBT存储)
- 将mod名称改为 Spice of Life:Fabric Flavor
- modid改为 sol2f 由于mod重构,之前版本的存档可能无法使用本版本。
新增以下功能:
配置文件新增项
resetOnDeath
resetOnDeath: false,
死亡后是否重置生命值上限与所有食物记录。
命令新增项
cleanhealthy
/sol2f clearhealthy
重置当前玩家的生命值上限与所有食物摄入记录,需管理员权限。
其他改进
新增多个本地化支持,古汉文(文言文)、英文



