截图
介绍
介绍由机器翻译自 Modrinth 原页面,仅供参考。

NutritionZ 添加了营养系统,以增强游戏体验。
安装
NutritionZ 是一个为 Fabric Loader 制作的模组。它需要单独安装 Fabric API 和 Cloth Config API;其他所有依赖项都会随模组一同安装。
不兼容
调整
默认数据包与模组兼容
NutritionZ 为其他模组提供了一些默认数据包。你可以通过配置启用或禁用它们。
你可以通过数据包添加其他模组兼容内容。只需遵循 data/somemod/nutrition/somename.json 的结构即可。
以下是默认原版数据包中的示例:
{
"minecraft:cooked_cod": { // The default datapacks provide 5 points for half saturation
"carbohydrates": 0,
"protein": 16,
"fat": 3,
"vitamins": 0,
"minerals": 6
}
}
营养管理器
你也可以通过数据包调整默认管理器。data/somemod/nutrition_manager/somename.json
借助此功能,你可以替换全部 5 种营养素的正面效果与属性,以及负面效果与属性。
示例:
{
"minerals": {
"replace": true,
"positive": {
"generic.armor_toughness": { // attribute
"operation": "ADD_VALUE", // ADD_VALUE, ADD_MULTIPLIED_BASE , ADD_MULTIPLIED_TOTAL
"value": 1.0 // gives +1 Armor Toughness per level -> e.g. +20 max level
},
"minecraft:haste": { // effect
"duration": 319, // wouldn`t recommend to lower this on effects
"amplifier": 0 // equals Haste I
}
},
"negative": {
"generic.armor_toughness": {
"operation": "ADD_VALUE",
"value": 1.0 // needs to be positive value -> will be negative automatically
},
"minecraft:mining_fatigue": {
"duration": 319,
"amplifier": 0
}
}
}
}
最大营养值和阈值可以在 nutritionz.json5 配置中设置。
{
"maxNutrition": 100, // Max nutrition for one nutrient
"negativeNutrition": 10, // 0 - 10 = negative effects / attributes (negative threshold)
"positiveNutrition": 90, // 90 - 100 = positive effects / attributes (positive threshold)
}
鸣谢
xR4YM0ND 的其他作品
查看全部 →RAY’s 3D Rails
by xR4YM0ND
Minecraft 中铁轨的 3D 方块与物品模型材质
349.1万
今天
Modrinth
RAY’s 3D Ladders
by xR4YM0ND
《我的世界》梯子的 3D 方块与物品材质
292.7万
1 个月前
Modrinth
Aged
by Globox1997, xR4YM0ND
适用于Fabric 1.20.1的写实/中世纪/进度向整合包
151.7万
1 年前
Modrinth
Aged Light
by xR4YM0ND
A light version of the Aged Modpack for Fabric 1.20.1
4.7万
6 个月前
Modrinth
评论
登录后评论和评分