function eatHook(hearts, saturationRatio){};
hearts: 补充的生命
saturationRatio: 补充的饥饿值
吃食物时触发
Template:ModPE