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
.
*Do not use any classes outside the API because they can be change.
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.
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.
version 4.12.0 :
- Change API signature(INutritionFood)!
version 4.11.0 :
- Add an API: INutritionFood.
version 4.11.0 :
- Add an API: INutritionFood.