name = "Fried Egg"; type = "food"; healamount = 3; saturation = 1; //Item when eaten will refill the hunger bar //by 3 hunger points or 1 and a half //'drumsticks' on the hunger bar.
Although any values greater than 0 can be used for healamount, any values above 20 will normally be wasted. This is because 20 food points completely fills the player's hunger bar and any leftover points are ignored. Also, if you want to keep your hunger filled for longer, you will need to set a value for saturation.
Vanilla Healamount Values
To help you decide what healamount value would be best for your new food, a chart with the vanilla food item amounts will be listed below.
|Raw Chicken||2||1.2||30% chance of food poisoning|
|Rotting Flesh||4||0.8||80% chance of food poisoning|
|Golden Apple||4||24||Health regeneration for 4 seconds|
|Mushroom Stew||8||9.6||Does not stack|
|Cake||2*||0.4*||*placed then can be eaten 6 times|
|Spider Eye||2||0.8||100% of being poisoned|
'Information for chart taken from MinecraftWiki.net