I can't seem to find the food equivalent of heal() and setHealth(). I need to replenish player's hunger every time the player right clicks on my block. Which methods let me access or change the player's hunger level?
I initialized the "bites" tag in my chocolate cake class as an Integer property, but the texture appears glitched in the game. I know for sure all the pngs are in the folder. Is the Json file wrong?
Json
Error Message