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% ($1/10$) chance to get an apple from an oak tree and 37.5% ($15/100$) chance from a dark oak tree. Breaking leaves with a tool enchanted with the Fortune enchantment increases 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
Apprentice-level farmer villagers have a 50% or $2/3$ 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.