Okay let me try to explain you!
* whenever you are giving your's reference,expression, views .. to other people, at that time , we have to use "mujhe"
*whenever you are saying about yourself, for example mostly we use "i am" for those sentence in english, at that time use "main".
Well here you are not hungry, you are feeling hungry . so we have to use mujhe.