Carrot

A carrot is a food item that can be eaten by the player.

Farming
Carrots can be farmed and harvested on farmland. Planted carrots take 8 stages to grow, and go through 4 visually distinct stages. Mature carrot crops drop 1 to 4 carrots (about $2 5/7$ per crop harvested on average). Bone meal can be used on carrots. Using a tool enchanted with fortune increases the maximum number of carrots dropped by 1 per level.

Villager farmers will break fully grown carrots, and may pick up the carrots as well.

Rabbits will find and eat carrot crops, decreasing its growth stage by 1. The crops when eaten will not drop any carrots.

Zombies
Zombies have a 0.8% chance to drop a carrot when killed by the player.

Natural generation
Village farm plots have a 20% chance of being carrots.

Usage
To eat a carrot, press and hold while the carrot is selected in the hotbar. Eating a carrot restores hunger and 3.6 hunger saturation.

Breeding
Carrots can also be used to breed and attract pigs and rabbits.

Villagers can pick up carrot items to become willing, which will allow them to breed. Villagers require 12 carrots to become willing.

Trading
Farmer villagers have a 25% chance to buy 22 carrots for an emerald as part of their first tier trade.

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

Block data
In Bedrock Edition, carrots use the following data values: