Rotten Flesh

Rotten flesh is a food item that can be eaten by the player, at the high risk of inflicting Hunger.

Zombies
Zombies, zombie villagers, zombie horses, husks, and drowned drop from 0 to 2 units of rotten flesh. Looting can increase this by one per level, for a maximum of 5 rotten flesh.

Zoglins
Zoglins drop 1-3. Looting III grants a maximum of 6.

Zombified piglins
Zombified piglins drop 0-1. Looting III grants a maximum of 4.

Fishing
Rotten flesh can be obtained as a "junk" item while fishing.

Cat gifts
Tamed cats have a 70% chance of giving the player a gift when they wake up from a bed, and the gift has a 16.13% chance to be a rotten flesh.

Food
To eat rotten flesh, press and hold while rotten flesh is selected in the hotbar.

Eating rotten flesh restores hunger and 0.8 hunger saturation, but has an 80% chance of inflicting  for 30 seconds. Note that the duration does not accumulate when eating multiple pieces. However, if more is consumed and the Hunger status effect is inflicted, the duration resets to 30 seconds.

Wolves
Rotten flesh can be used to breed and heal tamed wolves, lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.

Wolves are immune to the Hunger effect.

Trading
Novice-level cleric villagers buy 32 rotten flesh for 1 emerald as part of their trades.

ID