What are you searching for?

NutritionZ
NutritionZ

NutritionZ

Nutrition system which has 5 nutrients to challenge your diet

download 871.7K Downloads · favorite 190 Followers · Updated 6 months ago
Cursed Fabric Food Game-mechanics Management Utility 1.20.1 1.21.1

Versions

inventory_2
nutritionz-1.0.12+1.20.1

1.0.12+1.20.1 · 6 months ago · 146.20 KB

Release download
Fabric 1.20.1
inventory_2
nutritionz-1.1.0+1.21.1

1.1.0+1.21.1 · 1 year ago · 93.66 KB

Release download
Fabric 1.21.1
inventory_2
nutritionz-1.0.11+1.21.1

1.0.11+1.21.1 · 1 year ago · 86.39 KB

Release download
Fabric 1.21.1
inventory_2
nutritionz-1.0.11+1.20.1

1.0.11+1.20.1 · 1 year ago · 139.55 KB

Release download
Fabric 1.20.1
inventory_2
nutritionz-1.0.10+1.20.1

1.0.10+1.20.1 · 1 year ago · 139.53 KB

Release download
Fabric 1.20.1

About

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.

Incompatible

Tough As Nails

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 Fabricated Atelier GitHub License GitHub Source Code

xR4YM0ND Modrinth xR4YM0ND Curseforge
open_in_new View on Modrinth
Compatibility
Client: Required Server: Required
gavel MIT

Conversation

What are your thoughts?

Related projects

Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.0M
favorite 12,704
Utility
Mod Menu
Mod Menu

by Prospector

Adds a mod menu to view the list of mods you have installed.

download 77.4M
favorite 22,097
Library Management Utility
YetAnotherConfigLib (YACL)
YetAnotherConfigLib (YACL)

by isxander

A builder-based configuration library for Minecraft!

download 65.8M
favorite 7,589
Adventure Transportation Utility
Xaero's Minimap
Xaero's Minimap

by thexaero

Displays a map of the nearby world terrain, players, mobs, entities in the corner of your screen. Lets you create waypoints which help you find the locations you've marked.

download 60.6M
favorite 13,650
lock Cookie consent

SkinMC uses cookies to provide functionality and features.