This is a food item, eating it will statisfy some of your hunger. It will also provide minor healing
The Chocolate Bar was a non-craftable food item that was primarly consumed to restore Calories.
The Chocolate Bar could be consumed by a player by putting it into their Hotbar and pressing the specified key of 1-6. Players could could also consume it from anywhere in their inventory by hovering their mouse over the item and then clicking on it with their right-mouse button after which they could select the Eat option.
The Chocolate Bar could be obtained in two different ways: