Fish (food)

Raw Cod is a food item. Raw Salmon is a rarer variant of raw fish. Clownfish is an even rarer variant of raw fish that cannot be cooked. Pufferfish is a highly poisonous variant of raw fish. Cooked Cod is a food item obtained by cooking raw fish. Cooked Salmon is a food item obtained by cooking raw salmon.

Fishing
The most common way of obtaining any type of raw fish is fishing. The wait time of one being caught is decreased with the Lure enchantment and the chance of one being caught is slightly decreased with the Luck of the Sea enchantment (so named because it increases treasure, not fish)

Guardians
Guardians drop raw cod as a common drop. The cod will be cooked if killed while on fire.

Guardians and elder guardians also drop fish as a rare drop. This has a 60% chance of being raw cod, a 25% chance of being raw salmon, a 2% chance of being clownfish and a 13% chance of being pufferfish. The chance of getting a fish can be increased with looting, but the type of fish is not affected.

Polar Bears
Polar bears drop 0–2 raw fish when killed. This has a 75% chance of being raw cod and a 25% chance of being raw salmon. Polar bears do not drop clownfish or pufferfish. The cod will be raw even if the polar bear is on fire when killed.

Fish
Fish drop respective items upon death.

Trading
Fisherman villagers will sell 6 cooked cod for 6 raw cod and 1 emerald.

Food
Raw cod restores and 0.4 saturation. Cooked cod restores and 6 saturation. Raw salmon restores and 0.2 saturation. Cooked salmon restores and 9.6 saturation. Clownfish restores and 0.2 saturation. Pufferfish restores and 0.2 saturation, and inflicts  III for 15 seconds,  IV for 1 minute, and  II for 15 seconds.

Ocelots
Raw cod can be used to tame ocelots, get cats off of chests, beds, etc., breed cats, and make baby cats grow up faster by 10% of the remaining time. Raw salmon, clownfish and pufferfish will also work.

Trivia

 * In the Halloween Update, Notch said he would add fish as a sea creature; however, he had limited time, and was thus only able to add them as an item. However, they will be added in 1.13 update.
 * Raw fish most closely resembles white crappie or tilapia. However, the texture files and language text label them as cod.
 * The consumption of pufferfish inflicting the player with nausea and poison is actually based on reality, as real pufferfish contain the extremely dangerous toxin Tetrodotoxin within their organs, especially their liver. Muscle tissue and blood only contain trace amounts. In East Asia, pufferfish are considered a delicacy known as fugu, as small parts of the fish are actually edible.
 * If this dish is prepared incorrectly, it can be lethal through respiratory paralysis. Therefore, any chef preparing fugu would have to have special licensing/certification to prepare this dish.