Function used in the "LocalPlayerEat" and "ServerPlayerEat" callback.
You can use Entity.getCarriedItem to get info about food item.
player entity UID
food amount produced by eaten food
saturation ratio produced by food
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Function used in the "LocalPlayerEat" and "ServerPlayerEat" callback.