跳到正文

Simple Tasty Food

作者:dandand

A customizable bonus health reward system for eating more nutrition food.

收藏

截图

介绍

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

This mod is a take at simpler but still demanding diet system. Instead of managing different groups of foods, player need to just eat better food. Thats it! The better food you eat, the more bonus health you get.

Unlike Spice of Life: Carrot Editing, bonus health is not permanent. You will need to get a stable source of good food, so you will need to set up different farms to craft the best food available.
This is best experienced with other food mods, that will require more processing or when food is locked behind progress in the modpack/mod.

Features

During startup mod scans all items that contains FoodProperties, to know how much food value is needed for bonus hp. Each eaten food is saved in the player’s history of food values, from which we calculate bonus health for the player.

This mod also changes player’s default max health (can be disabled) and allows for custom food to bonus health mappings to be written in config/stf/simpletastyfood_custom_values.json (it’s generated after launching once). Mod can easily work without custom values provided, but it is there for more tailored experience.

Notes

  • Supports vanilla and all modded cakes with integer property “Bites” in it. Modded cakes will need custom value set in order to work (with parts). Other implementations of cakes will require either custom support or some glue mod. It doesn’t have the best implementation, but it should work in most cases.
  • It should work with all traditional food mods and other bonus health mods. If there are several mods that changes player’s starting health, it’s better to leave only one functioning.
  • Most likely this mod won’t work correctly with mods that change player’s food data through some custom logic.
  • Disabling changing starting health doesn’t return starting health. Read config file description to fix this.
  • Bonus health is based on the difference between minHealth and maxHealth in the config file. It doesn’t care about base maxHealth, except when clampMaxHealth is set to true.
  • Custom food to bonus hp mapping example: { “minecraft:apple” : 10.0 }. Or other option is {"minecraft:cake": {"foodValue":10.0, "parts": 7 } }
     Parts is the property that makes bonus hp take it full effect after eating specified amount of times (in this example its 7), 1 is the default value. Take note that this is bonus hp, and every 2 hp is 1 heart.

This mod will be developed further, but i’m doing it in free time so it is slow. If you have any issues or ideas, feel free to comment, i will look into it.

常见问题

Simple Tasty Food 支持哪些 Minecraft 版本?

Simple Tasty Food 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Simple Tasty Food 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分