promotional bannermobile promotional banner

NutritionZ

NutritionZ adds a nutrition system to enhance the gameplay.

Get your Budget Gameserver today at ServerAtelier

nutritionz title wide

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": { // The default datapacks provide 5 points for half saturation   
        "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:

{
    "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
            }
        }
    }
}

Max Nutrition & thresholds can be set in the nutritionz.json5 config.

{
    "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)
}

Credits

Discord License Source Code

Modrinth Curseforge

The NutritionZ Team

profile avatar
  • 15
    Followers
  • 9
    Projects
  • 458.0K
    Downloads

More from xR4YM0NDView all

  • MiningZ project image

    MiningZ

    • 76
    • Mods

    Designed to gently bring back the **Harvest Level** mechanic for blocks. It also adds Prospector Picks, which are really handy for finding resources without making a big mess of the terrain.

    • 76
    • May 15, 2026
    • Mods
    • +3
  • Antique Atlas 4 Compat project image

    Antique Atlas 4 Compat

    • 22.7K
    • Resource Packs

    This resourcepack adds modded support for antique atlas 4 & various world generation / structure mods

    • 22.7K
    • April 2, 2026
    • Resource Packs
    • +3
  • EnvironmentZ project image

    EnvironmentZ

    • 3.2M
    • Mods

    Harder environmentz

    • 3.2M
    • March 23, 2026
    • Mods
  • RAY's 3D Ladders project image

    RAY's 3D Ladders

    • 114.9K
    • Resource Packs

    3D Ladders - Chipped Support

    • 114.9K
    • March 11, 2026
    • Resource Packs
    • +4
  • MiningZ project image

    MiningZ

    • 76
    • Mods

    Designed to gently bring back the **Harvest Level** mechanic for blocks. It also adds Prospector Picks, which are really handy for finding resources without making a big mess of the terrain.

    • 76
    • May 15, 2026
    • Mods
    • +3
  • Antique Atlas 4 Compat project image

    Antique Atlas 4 Compat

    • 22.7K
    • Resource Packs

    This resourcepack adds modded support for antique atlas 4 & various world generation / structure mods

    • 22.7K
    • April 2, 2026
    • Resource Packs
    • +3
  • EnvironmentZ project image

    EnvironmentZ

    • 3.2M
    • Mods

    Harder environmentz

    • 3.2M
    • March 23, 2026
    • Mods
  • RAY's 3D Ladders project image

    RAY's 3D Ladders

    • 114.9K
    • Resource Packs

    3D Ladders - Chipped Support

    • 114.9K
    • March 11, 2026
    • Resource Packs
    • +4