跳到正文

Balanced Diet

作者:KNIZE1007

This datapack adds different nutrition values to foods and requires you to have a varied diet.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

Balanced Diet 支持哪些 Minecraft 版本?

Balanced Diet 支持 Minecraft Java 版 1.19–1.19.4,共 5 个版本。下载时注意选择和你游戏版本一致的文件。

Balanced Diet 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

KNIZE1007 的其他作品

查看全部 →