Перейти к содержимому
Mineforgian

Nutrition Unofficial Extended Life

An unoffical fork of Nutrition(A Minecraft mod that ensures you eat healthy.)!

Загрузки
2K
Подписчики
8
Обновлён
13 января 2025 г.
Лицензия
MIT

Опубликован 20 января 2024 г.

Nutrition Unofficial Extended Life allows you to create custom health systems in Minecraft by defining nutrient types and effects. It does this through a JSON-driven system of Nutrients and Effects, which define unique food groups and programmable status effects. This customization allows modpack authors to create entirely unique experiences just by editing the config files.

Nutritioin GUI

What's New:

New API: INutritionFood

This is an interface for items not extending ItemFood. To be compatible with Nutrition UEL, your mod items must extend this and implement methods.

New Command: nutrition-food

This command can modify nutrient configs.

  • /nutrient-food -> Show the nutrient info of the held food.
  • /nutrient-food add [] -> Add the nutrient (and scale) to the held food.
  • /nutrient-food remove -> Remove the nutrient from the held food.

Credit:

Original mod is Nutrition.

Ченджлог

4.15.0Релиз1.12.2 · 13 января 2025 г.

What's Changed

  • New API: ItemStackCompareType

    Modders can specify how to compare 2 ItemStacks. FOR USERS: now ItemStack comparison ignores the meta values unless a meta value is specified.

  • New API: NutrientApplicationPhase

    Foods that are eaten immediately can now apply the nutrients to the player (with NutrientApplicationPhase.ON_RIGHT_CLICK).

  • New API: NutritionUtil.getNutrientByName

    Modders can get one nutrient by name.

  • New API: INutrient.isContainedIn

    Modders can know whether the nutrient is contained in the item.

  • New API: INutrient.registerFoodItem

    Modders can register the item to the nutrient, without adding to the nutrient config files.

  • New support: Industrial Craft (IC2)

    • ic2:filled_tin_can
  • Bug fix: INutritionFood.setAlwaysEdible

    Fix bug that setAlwaysEdible of INutritionFood created by INutritionFoodAdapter is not called.

*Do not use any classes outside the API because they can be change.

4.14.0Релиз1.12.2 · 11 января 2025 г.

What's Changed

  • New config file: food_hint.json

This is an easy eay to specify the heal amount of food items that don't implements INutritionFood .

  • New API interface: INutrition

It's the interface of Nutrition for the API. (Don't create a class that implements INutrition.)

  • New API utility class: NutritionUtil

Utility class NutritionUtil is added to the API.

  • New API : INutritionFoodAdapter

This is for an addon to NutritionUEL. There are some modded items that don't extend INutritionFood. Create a class that implements INutritionFoodAdapter and register it to treat the items as INutritionFood.

  • New support: ExtraPlanets

    • extraplanets:canned_food

*Do not use any classes outside the API because they can be change.

4.13.1Релиз1.12.2 · 6 декабря 2024 г.

version 4.13.1 :

  • Fix backward compatibility. *New feature nutrition-scaling is not available through the old APIs.

version 4.13.0 :

  • Add "scale" option to Nutrients.
  • Add nutrition-food command.
  • Add java docs of the API.

version 4.12.0 :

  • Change API signature(INutritionFood)!

version 4.11.0 :

  • Add an API: INutritionFood.
4.13.0Релиз1.12.2 · 21 января 2024 г.

version 4.13.0 :

  • Add "scale" option to Nutrients.
  • Add nutrition-food command.
  • Add java docs of the API.

version 4.12.0 :

  • Change API signature(INutritionFood)!

version 4.11.0 :

  • Add an API: INutritionFood.
4.12.0Релиз1.12.2 · 20 января 2024 г.

version 4.12.0 :

  • Change API signature(INutritionFood)!

version 4.11.0 :

  • Add an API: INutritionFood.
4.11.0Релиз1.12.2 · 20 января 2024 г.

version 4.11.0 :

  • Add an API: INutritionFood.

Комментарии

Загружаем…