Hey, I have metadata food items and want to give them all different hunger values, so 1 will fill 2 hunger points but another item will fill 4 points.
I am trying to use onEaten methord, but can't find anything to add the hunger, I know how to heal the player with "par3EntityPlayer.heal(-2);" but nothing to do with hunger, can anyone help?
Rollback Post to RevisionRollBack
I take in all suggestions and comments on my mods, even if I don't reply I have logged it somewhere.
I am trying to use onEaten methord, but can't find anything to add the hunger, I know how to heal the player with "par3EntityPlayer.heal(-2);" but nothing to do with hunger, can anyone help?
I had a look can't seem to find anything that would help.