From Minecraft Wiki
Jump to: navigation, search
Health points

3Heart.svgHalf Heart.svg



Attack strength



Height: 0.3 Blocks
Width: 0.5 Blocks


See § Spawning


See § Drops


1 - 3

Internal ID


Namespaced ID


Tom Stone Mojang avatar.png

You're not the only new explorer of the updated oceans, mind. We've filled the seas with new types of fish! Above is the delightful pufferfish, which filled me with delightful poison because I was too busy taking that screenshot to swim away in time :(

Tom Stone[1]

Cod are common passive mobs found in oceans.


Java Edition[edit]

Cod spawn underwater 12-32 blocks away from the player in normal, cold, lukewarm oceans, and their deep variants, in groups of 3-6.

Bedrock Edition[edit]

Cod spawn underwater 12-32 blocks away from the player in normal, cold, frozen, lukewarm oceans, and their deep variants, in groups of 4-7.


Cod drop the following upon death:


Cod tend to swim in schools (a maximum of nine cod per school).

The player may collect a cod by using a water bucket on it, which gives the player a bucket of fish. Cod placed with buckets will not despawn naturally. When that fish bucket is used on a block, it empties the bucket, placing water with the cod swimming in it.

An empty bucket may be used as well.‌[Legacy Console and Bedrock editions only]


Cod are not able to survive outside of water. Outside of water, they flip around on their sides like guardians for a while trying to get back into the water until, after 10 seconds of time, they eventually start taking suffocation damage and die like squid. In Bedrock Edition and Legacy Console Edition, they will rotate when flipping when out of water. They cannot swim or breathe in cauldron water.[2]

Cod are affected by the Impaling enchantment, like squid, turtles, guardians, elder guardians, dolphins, and all other types of fish (salmon, pufferfish, and tropical fish).‌[Java Edition only]

Data values[edit]

Entity data[edit]

Cod have entity data associated with them that contain various properties of the mob.


Icon Achievement In-game description Actual requirements (if different) Availability Xbox points earned Trophy type (PS)
Xbox PS Bedrock Nintendo
I'm a Marine BiologistCollect a fish in a bucketUse a water bucket (or an empty bucket[Bedrock Edition only]) on any fish mob to collect it.NoAltYesNo20G
Marine BiologistPS4Bronze


Icon Advancement In-game description Parent Actual requirements (if different) Internal ID
Advancement-plain-raw.png Tactical FishingCatch a fish... without a fishing rod!Fishy BusinessUse a water bucket on a fish mob to get a bucket of fish.minecraft:husbandry/tactical_fishing


Java Edition Alpha
June 28, 2010Notch mentioned that fish might be a feature of coral, if he were able to add coral: "... I do know that the corals will have tiny fish particles around them."
October 4, 2010Fish were a passive mob that Notch showed interest in adding. In the promotional graphic for the Halloween Update, Notch indicated he would add fish. However, they were only added as an item; there was no code for a fish mob.
Java Edition
October 5, 2012Fish were jokingly teased in the fake snapshot 12marc40awesome, along with coral and "fish blocks".
April 13, 2013When Jon Kågström was asked in his AMA on Reddit, "What mob would you like to implement into the game?" He responded, "I would like to add birds, fish and tree animals to make it more alive. However this will take some time before it can be done."
July 31, 2013During Notch's AMA on Reddit, when asked about what happened to his plans of adding fish as a mob, he responded, "Oh yeah, the fish!"
1.1318w08bAdded cod as a mob, with 20Heart.svg × 10.
18w10aCod max health has now been changed to 3Heart.svgHalf Heart.svg.[3]
18w15aCod will now drop the cooked version of their item drops, if killed while on fire.
1.13.118w31aCod will now have a 5% chance of dropping bone meal when killed.
Bedrock Edition
1.4.0beta cod.
Upcoming Bedrock Edition
1.13.0beta foxes, which attack cod.
Legacy Console Edition
TU691.76Patch 38Added cod.
Education Edition
1.4.0Added cod.


Issues relating to "Cod" are maintained on the bug tracker. Report issues there.



  1. "How We Ruin-ed Minecraft" –, March 5, 2018
  2. MC-126819 – "fish bouncing and suffocating on top of the cauldron which fill with water" resolved as "Won't Fix"
  3. MC-126091 – "Fish mobs have 20 health", resolved