File Details
Nutrition-UEL-4.15.0
- R
- Jan 13, 2025
- 151.47 KB
- 3.1K
- 1.12.2
- Forge
File Name
Nutrition-UEL-4.15.0.jar
Supported Versions
- 1.12.2
Curse Maven Snippet
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.

