Langue

NutritionZ

NutritionZ

Modrinth

Nutrition system which has 5 nutrients to challenge your diet

1.1M téléchargements 208 abonnés mis à jour 3mo ago
dernière v1.1.2+1.21.1 Modrinth
Fabric 1.20.1 – 1.21.1 FoodGame-mechanicsManagement
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

Versions

Release
1.1.2+1.21.1
fabric · 1.21.1 · 3mo ago
## Added: - FarmZ - Nature's Delight - Rose Gold Equipment - Tide 2 - [Let's Do] Bakery - [Let's Do] Beachparty - [Let's Do] Brewery - [Let's Do]…
3.8k
Release
1.1.1+1.21.1
fabric · 1.21.1 · 3mo ago
## Fixed: ## Added: - Screen key - Cake nutrition mechanic ## Changed:
189
Release
1.0.12+1.20.1
fabric · 1.20.1 · 10mo ago
## Added: - Amarite `1.0.8` Compat - Lili's Lucky Lures `1.0.2` Compat - Nether Depths Upgrade `3.1.6` Compat - Tide `1.6.3` Compat ## Updated: - [Let's Do]…
12.9k
Release
1.1.0+1.21.1
fabric · 1.21.1 · 16mo ago
## Fixed: - Nutrition values for non food items ## Added: - Button click sound - Config option for default datapacks - Croptopia `3.0.9` compat
37.1k
Release
1.0.11+1.21.1
fabric · 1.21.1 · 20mo ago
## Changed: - Updated to mc `1.21.1` - fixed & removed old datapacks
2.9k
Release
1.0.11+1.20.1
fabric · 1.20.1 · 20mo ago
## Fixed: - `bakery:glowberry_tart` ## Changed: - Minerals negative effect from `nausea` -> `bad luck 2`
821.3k
Release
1.0.10+1.20.1
fabric · 1.20.1 · 22mo ago
## Changed: - Minerals negative effect from `mining fatique` -> `nausea` - Now all datapacks are valid throughout minecraft versions - Dropped support for…
7.7k
Release
1.0.9+1.20.1
fabric · 1.20.1 · 24mo ago
## Changed: - Default max nutrition from 100 -> 300 ## Added: - Bountiful Fares `1.2.1` compat - Culinaire `3.0.0` compat - Exline's Fishing `1.0.4` compat -…
64.9k
Release
1.0.8+1.20.1
fabric · 1.20.1 · 24mo ago
## Changed: - Apples are now vitamin based ## Added: - Ad Astra `1.15.18` compat - Aquamirae `6` compat - Biome Makeover `1.11.4` compat - Create `0.5.1 f…
1.3k
Release
1.0.7+1.20.1
fabric · 1.20.1 · 24mo ago
## Fixed: - Wrong expanded delight values - Wrong farmers delight refabricated values ## Added: - Brewin' and Chewin' `3.0.3` compat - Cultural Delights…
236
Release
1.0.6+1.20.1
fabric · 1.20.1 · 25mo ago
### Added: - Nature's Spirit `1.4.5` compat ### Updated: - [Let's Do] Meadow `1.3.14` compat - [Let's Do] Vinery `1.4.19` compat
2.8k
Release
1.0.5+1.20.1
fabric · 1.20.1 · 26mo ago
### Added: - russian lang file `ru_ru.json`
1.9k

Commentaires 0

Aucun commentaire pour l'instant. Sois le premier à donner ton avis.