Cookie

The cookie is an edible item introduced in the Beta 1.4 update. Notch had previously mentioned it in a tweet. It requires Cocoa Beans to craft. It was later confirmed that cocoa beans would appear in dungeon chests. A full stack of eight cookies restores a total of four Hunger points (the same amount of hunger points as one Cooked Porkchop).

Advantages

 * Cookies are made in stacks of 8.
 * Since cookies are in large stacks, thay can be used to quickly fill hunger points

Disadvantages

 * A single cocoa produces enough cookies to restore the hunger meter as much as one cooked porkchop or a Steak. However, porkchops/steaks are much easier to acquire, and a single one is easier to eat than eight cookies.
 * A full stack of cookies heals a total of 32 hunger points, whereas a full stack of cooked porkchops/steaks heals 256 hunger points. For comparison, you'd need 512 cookies (8 full stacks of 64) to heal 256 hunger points. Prior to 1.8 version, this would only be portable if you carried a workbench, one stack of cocoa beans, and two stacks of wheat.
 * Cookies have a quite low saturation level compared to cooked porkchops/steaks.
 * Mushroom Stew is a much more efficient hunger point resource than cookies, and since the bowl is reusable, it scales up better if you want to devote more than four inventory spaces to your food supply. Also, unlike cocoa beans, mushrooms are a renewable resource.

Trivia

 * When cookies were first introduced, they had the distinct advantage of being the only food that could be stacked in its ready-to-eat form. They were given a limit of eight per stack to keep them from becoming too overpowered, since at the time, food worked by healing damage instantly. When hunger was introduced in Beta 1.8, eating became more time-consuming, and food-related health regeneration was capped at a rate of half a heart every four seconds; that is, unless set to peaceful difficulty.