HungerTweaker Mod 1.12.2 displays the AppleCore API to CraftTweaker scripts. It also consists of another function that is helpful to modify various food with hunger-related properties.

About HungerTweaker
The mod contains 2 parts.
Firstly, it has a simplistic wrapper around the AppleCore API. People use it to shape many different default values. Not only that, it allows the user to change the properties of food items.
Secondly, it offers access to almost all AppleCore’s events. It’s useful to edit and react to changes in a player’s properties in a dynamic way. These properties are Hunger, Exhaustion, Starvation, and Regen.
The simplified wrapper is a design that is not difficult to control. It mainly owns static ZenMethods like mods.hungertweaker.Hunger.setAxHunger(20).
It has no right to access any other context than the previous value of the property. That can work in expressions, for example, mods.hungertweaker.Hunger.setMaxHunger(“x/2”).
The event system runs like CraftTweaker’s event mechanics. Scripts can register event handler functions. Hence, the event program can supply much better results.
HungerTweaker is a mod talking about CraftTweaker and Food. It requires Minecraft Forge.