Compatibility
Minecraft: Java Edition
1.21.1
1.20.1
Platforms
Fabric
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Details
NutritionZ
NutritionZ adds a nutrition system to enhance the gameplay.
Installation
NutritionZ is a mod built for the Fabric Loader. It requires Fabric API and Cloth Config API to be installed separately; all other dependencies are installed with the mod.
Adjustments
Default Datapacks & Mod Compat
NutritionZ provides some default datapacks for other mods. You can disable/enable them via config.
You can add other mod compats via datapack. Just follow the structure data/somemod/nutrition/somename.json
.
Here's an example from the default vanilla datapack:
{
"minecraft:cooked_cod": {
"carbohydrates": 0,
"protein": 16,
"fat": 3,
"vitamins": 0,
"minerals": 6
}
}
Nutrition Manager
You can tweak the default manager via datapack as well. data/somemod/nutrition_manager/somename.json
With this you can replace the positive effects & attributes from all 5 nutrients, as well as the negatives.
Example:
{
"carbohydrates": {
"replace": true,
"positive": {
"generic.attack_speed": {
"operation": "ADD_VALUE",
"value": 0.3
},
"generic.movement_speed": {
"operation": "ADD_VALUE",
"value": 0.01
}
},
"negative": {
"generic.attack_speed": {
"operation": "ADD_VALUE",
"value": 0.3
},
"generic.movement_speed": {
"operation": "ADD_VALUE",
"value": 0.01
}
}
}
}