Optimal Eat
The mod automatically stops the eating process once you've fully utilized an item for hunger restoration.
In the standard version of Minecraft, the player can continue eating even after the item has already fulfilled its hunger restoration function. The stopping occurs only after receiving a signal from the server, which is particularly noticeable with high ping and can take significant time.
Optimal Eat was specifically created for PVP modes such as UHC, OP, and DiamondPot, where every second counts and it's necessary to minimize the time spent on eating.
Dependencies
For the mod to work, Fabric API is required, as well as Cloth Config and Mod Menu for parameter configuration.