Apple

Apples are food items that can be eaten by the player.

Trees
Oak and dark oak leaves have 0.5% ($1/200$) chance of dropping an apple when decayed or broken. This amounts to approximately 25% chance to get an apple from an oak tree and 60% chance from a dark oak tree. Breaking leaves with a tool enchanted with the Fortune enchantment will increase the chances of dropping an apple: 0.556% ($1/180$) with Fortune I, 0.625% ($1/160$) with Fortune II, and 0.833% ($1/120$) with Fortune III.

Trading
Villager farmers offer to sell apples in exchange for emeralds. 5–7 apples can be bought per emerald as one of their third tier trades. Apprentice-level Farmer villagers have a 50% chance of selling 4 apples as part of their trades.

Usage
To eat an apple, press and hold while it is selected in the hotbar. Eating one restores and 2.4 hunger saturation.

Composting
Placing an apple into a composter has a 65% chance of raising the compost level by 1.

Trivia

 * The sprite of red apples was the same as used in Notch's game Legend of the Chambered.