/NutritionZ

nutritionz adds a nutrition system to enhance the gameplay.

Primary LanguageJavaMIT LicenseMIT

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.

License

NutritionZ is licensed under MIT.

Datapacks

You can add custom mod support with datapacks. Just create a datapack with a pack.mcmeta & a version for your minecraft version.

Then you just need a folder structure for the mod e.g. data/modid/nutrition/sometext.json.

In this json you can add the mods items & give them nutrient values.

{
    "modid:itemid": {
        "carbohydrates": 0,
        "protein": 0,
        "fat": 0,
        "vitamins": 0,
        "minerals": 0
    },
    "modid:itemid2": {
        "carbohydrates": 0,
        "protein": 0,
        "fat": 0,
        "vitamins": 0,
        "minerals": 0
    }
}

More Infos

The default datapack gives 5 values per half hunger.
You also currently can't overwrite the default datapacks (items & values added via them)