Open BIG-Viljo opened 5 hours ago
Here's the fixed default.json: default.json The problem is that the negative sections still add positive values to attributes.
If anyone wants to have this fixed, here's the aforementioned file in a datapack: nutritionz_fix.zip It can be wherever in the datapack load order.
Versions:
Description: Being low on carbs gives the player movement and attack speed bonus. Being low on protein gives the knockback and attack damage bonus. Being low on fat gives the player 2 armor points and knockback resistance. Being low on vitamins gives the player extra heart. Weakness is applied correctly. Being low on minerals gives the player 1 point of armor toughness. Mining fatigue is applied correctly.
Expected behavior: Being low on nutrients should give players negative effects.
Screenshots: (Hunger, regeneration and resistance were applied via commands, so I wouldn't die while testing.)