Tags
Creators
Details
1.2.0
Compatibility
Changes
Changelog - AppleSeed Diet Mod
Version 1.2.0
🐛 Bug Fixes / 修复
1. Dedicated Server Compability Fix / 专用服务端兼容性修复
2. Effects Application Fix / 范围效果应用修复
3. UI Dynamic Rendering Fix / UI动态渲染修复
4. Dedicated Server Sync Fix / 专用服务端同步修复
5. New Nutrient Initial Value Fix / 新营养素初始值修复
✨ Improvements / 优化
1. Attribute Display Precision / 属性显示精度
Change: Speed-related attribute modifiers now display with 2 decimal places in the "Active Effects" tooltip. 改动: UI界面的"当前效果"列表中,显示"速度"、"移动速度"和"攻击速度"三种属性增益效果时,显示的数字精确度改为精确到小数点后两位
| Attribute | Old Format | New Format | Example |
|---|---|---|---|
| Movement Speed | %+.0f |
%+.2f |
+0.06 移动速度 |
| Attack Speed | %+.0f |
%+.2f |
+0.20 攻击速度 |
| All Others | %+.0f |
%+.0f |
+6 最大生命 |
2. Fully Data-Driven Nutrient Configuration / 完全数据驱动的营养素配置
Migrated all nutrient properties from hardcoded values to JSON data files, supporting custom colors, icons, names, initial values, gain/decay multipliers, and effects. 将所有营养素属性从硬编码迁移到JSON数据文件,支持自定义颜色、图标、名称、初始值、增减倍率和效果范围配置。
{
"icon": "minecraft:wheat",
"color": "#d4a017",
"order": 0,
"default_value": 0.5,
"gain_multiplier": 1.0,
"decay_multiplier": 1.0,
"beneficial": true,
"translation_key": "diet.group.grains",
"effects": [
"0-25:effect(minecraft:slowness,0)",
"61-70:attribute(minecraft:generic.max_health,4.0)",
"71-80:attribute(minecraft:generic.max_health,6.0),effect(minecraft:regeneration,0)",
"81-100:attribute(minecraft:generic.max_health,6.0),attribute(minecraft:generic.attack_damage,1.0),effect(minecraft:regeneration,0)"
]
}
3. Nutrient Effects in Data Files / 营养素范围效果数据文件配置
Moved nutrient range effects configuration from config file to nutrient data files with config file override support. 将营养素范围效果配置从配置文件迁移到营养素数据文件,并支持配置文件覆盖。
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:ERU8rWol"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:uwTJPjNt:ERU8rWol"
}

