
Balanced Diet
This datapack adds different nutrition values to foods and requires you to have a varied diet.
- Загрузки
- 663
- Подписчики
- 15
- Обновлён
- 14 мая 2023 г.
- Лицензия
- CC-BY-4.0
Опубликован 11 января 2023 г.
Balanced Diet Datapack
This datapack adds new nutrition bars. There are 5 of them - fruit, vegetable, meat, grains and sugar/energy bar. It is important to keep all of them as high as possible. High values give positive effects while low values give negative effects. These values go down when you eat something or slowly go down overtime.
Fruit
- if high - occasional regen
- if low - occasional poison
Vegetables
- if high - resistance
- if low - mining fatigue
Meat
- if high - strenght
- if low - mining fatigue
Grains
- if high - saturation
- if low - hunger
Sugar/Energy
- if high - speed
- if low - slowness this bar works slightly different than the others, it decreases 5x faster than the others, but can be increased up by a variety of foods. Also I would not recommend filling it up all the way ;)
More info
The value of increased nutrition is based on how many hunger bars the food fills. for example carrot fills up vegetable bar by 3, steak increases meat bar by 8, bread increases grain bar by 5. For example, eating bread increases your grain bar by 5. but all other bars can decrease by 1 (50% chance). Some foods increase 2 or more bars simultaneously. Effects from nutrition bars increase or decrease in level or frequency by the amount of nutrition.
Commands
There are two trigger commands: /trigger see_ur_nutrition and /trigger turn_off_see_ur_nutrition. The first command enables the player to see how much nutrition does he have in each bar. There is a config menu for admins, use /function knize:config.
Unistalling
Run the command /function knize:unistall and remove the datapack from the datapacks folder
Known Bugs
- Might sometimes miss eating dried kelp, because the scoreboards check every 1s instead of every tick to decrease lag caused.
Ченджлог
2.1Релиз1.19.2, 1.19.3, 1.19.4 · 14 мая 2023 г.
- Added advancement to show that this datapack is being used
- Added advancement to tell people about /trigger commands
- Added advancements for various things around this datapack
- Chance of nutrition decreasing from 50% to 75% after eating food
2.0Релиз1.19.2, 1.19.3, 1.19.4 · 15 марта 2023 г.
- Added config menu
- Config menu has options to reset nutrition
- Added option to turn off warning messages
- Added option to reset nutrition for all players
- Added option to turn off fast energy drain
- Positive effects start at 90 instead of 80
- Negative effects start at 22 instead of 20
- Honey doesnt decrease nutrition
- Planting sweet berries/glow berries no longer counts as eating them
1.3Релиз1.19.1, 1.19.2, 1.19.3 · 12 марта 2023 г.
- Fixed planting carrots/potatoes counting as eating it
- After eating food, there is only 50% chance that nutrition values go down
- Negative effects start at values below 20 instead of 40
- Positive effects start at 83 instead of 80
1.2Релиз1.19.1, 1.19.2, 1.19.3 · 11 марта 2023 г.
- Fixed that crafting tables are not craftable for some reason
- Fixed eating glowberries draining all nutrition values forever
1.1Релиз1.19.1, 1.19.2, 1.19.3 · 9 марта 2023 г.
- Fixed eating cake detection
Комментарии
Загружаем…