Mineuniverse
Cod

Cod

Cod are common bucketable aquatic passive mobs found in oceans that are a source of raw cod and, occasionally, bones‌[Bedrock Edition only] or bone…

12 min read Updated
Entities Animal mobs Passive mobs Aquatic mobs
Advertisement Remove ads with Premium →
Contents (28)
  1. Spawning
  2. Java Edition
  3. Bedrock Edition
  4. Drops
  5. On death
  6. Behavior
  7. Weaknesses
  8. Sounds
  9. Data values
  10. ID
  11. Entity data
  12. Achievements
  13. Advancements
  14. History
  15. Development
  16. Java Edition
  17. Bedrock Edition
  18. Legacy Console Edition
  19. Minecraft Education
  20. Issues
  21. Trivia
  22. Gallery
  23. Screenshots
  24. Textures
  25. Other
  26. See also
  27. References
  28. External links
For other uses, see Fish (disambiguation).
Not to be confused with Commands/code.
Cod
Health points 3HP❤️💔
Behavior Passive
Mob type Animal
Aquatic
Hitbox size In Java Edition:

Height: 0.3 blocks
Width: 0.5 blocks

In Bedrock Edition:
Height: 0.3 blocks
Width: 0.6 blocks

Speed 0.7
Spawn Cold Ocean
Deep Cold Ocean
Lukewarm Ocean
Deep Lukewarm Ocean
Ocean
Deep Ocean
Frozen Ocean‌[BE only]
Deep Frozen Ocean‌[BE only]
Usable items

Cod are common bucketable aquatic passive mobs found in oceans that are a source of raw cod and, occasionally, bones‌[Bedrock Edition only] or bone meal.‌[Java Edition only]

Spawning

Cod spawns in:
Category:
Water ambient‌[JE only]
Water creature‌[BE only]
Java EditionBedrock Edition
Spawn areaSpawn weightSpawn chanceGroup sizeSpawn weightGroup size
Deep Ocean10⁄10100%3–6754–7
Ocean10⁄10100%3–6754–7
Cold Ocean15⁄3050%3–6754–7
Deep Cold Ocean15⁄3050%3–6754–7
Lukewarm Ocean15⁄4533.33%3–6754–7
Deep Lukewarm Ocean8⁄3821.05%3–6754–7
Deep Frozen Ocean———754–7
Frozen Ocean———754–7

Java Edition

Cod spawn underwater in normal, cold, and lukewarm oceans, and their deep variants, in groups of 3-6, subject to fish spawning requirements.

Bedrock Edition

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. In addition, cod spawn only on the surface; that is, there must not be a spawnable block above the spawn location with a non-solid block on top.

Drops

On death

Java Edition:

ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Raw Cod[A]1100.00%1.001100.00%1.001100.00%1.001100.00%1.00
Cooked Cod[B]1100.00%1.001100.00%1.001100.00%1.001100.00%1.00
Bone Meal0–15.00%0.050–15.00%0.050–15.00%0.050–15.00%0.05
ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Raw Cod[A]111111111111
Cooked Cod[B]111111111111
Bone Meal0–11⁄201⁄200–11⁄201⁄200–11⁄201⁄200–11⁄201⁄20
ItemAmountProbability
DefaultLooting ILooting IILooting III
Raw Cod[A]11 (100.00%)1 (100.00%)1 (100.00%)1 (100.00%)
Average1 (1.00)1 (1.00)1 (1.00)1 (1.00)
Cooked Cod[B]11 (100.00%)1 (100.00%)1 (100.00%)1 (100.00%)
Average1 (1.00)1 (1.00)1 (1.00)1 (1.00)
Bone Meal019⁄20 (95.00%)19⁄20 (95.00%)19⁄20 (95.00%)19⁄20 (95.00%)
11⁄20 (5.00%)1⁄20 (5.00%)1⁄20 (5.00%)1⁄20 (5.00%)
Average1⁄20 (0.05)1⁄20 (0.05)1⁄20 (0.05)1⁄20 (0.05)
Killed1
ItemExpected Drops
DefaultLooting ILooting IILooting III
Raw Cod[A]1.001.001.001.00
Cooked Cod[B]1.001.001.001.00
Bone Meal0.050.050.050.05
  1. ↑ Only when not on fire and not killed with a weapon enchanted with Fire Aspect.
  2. ↑ Only when on fire or killed with a weapon enchanted with Fire Aspect.

Bedrock Edition:

ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Raw Cod[A]1100.00%1.001100.00%1.001100.00%1.001100.00%1.00
Cooked Cod[B]1100.00%1.001100.00%1.001100.00%1.001100.00%1.00
Bone0–125.00%0.250 / 2–326.00%0.650 / 3–527.00%1.080 / 4–728.00%1.54
ItemQuantity / Chance / Average
DefaultLooting ILooting IILooting III
Raw Cod[A]111111111111
Cooked Cod[B]111111111111
Bone0–11⁄41⁄40 / 2–313⁄5013⁄200 / 3–527⁄10027⁄250 / 4–77⁄2577⁄50
ItemAmountProbability
DefaultLooting ILooting IILooting III
Raw Cod[A]11 (100.00%)1 (100.00%)1 (100.00%)1 (100.00%)
Average1 (1.00)1 (1.00)1 (1.00)1 (1.00)
Cooked Cod[B]11 (100.00%)1 (100.00%)1 (100.00%)1 (100.00%)
Average1 (1.00)1 (1.00)1 (1.00)1 (1.00)
Bone03⁄4 (75.00%)37⁄50 (74.00%)73⁄100 (73.00%)18⁄25 (72.00%)
11⁄4 (25.00%)000
2013⁄100 (13.00%)00
3013⁄100 (13.00%)27⁄400 (6.75%)0
40027⁄200 (13.50%)7⁄150 (4.67%)
50027⁄400 (6.75%)7⁄75 (9.33%)
60007⁄75 (9.33%)
70007⁄150 (4.67%)
Average1⁄4 (0.25)13⁄20 (0.65)27⁄25 (1.08)77⁄50 (1.54)
Killed1
ItemExpected Drops
DefaultLooting ILooting IILooting III
Raw Cod[A]1.001.001.001.00
Cooked Cod[B]1.001.001.001.00
Bone0.250.651.081.54
  1. ↑ Only when not on fire.
  2. ↑ Only when on fire.
  • 1–3XP experience when killed by a player or tamed wolf.

Behavior

Cod tend to swim in schools with a maximum of 9 cod per school.

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

Cod cannot be bred, but only spawn in designated biomes.

Weaknesses

A cod cannot 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 start taking suffocation damage and die. In Bedrock Edition, fish out of water rotate while flipping. They cannot swim or breathe in cauldron water.[1] They can swim in, but cannot survive in waterlogged blocks, most noticeably waterlogged slabs and stairs.

In Java Edition, cod are vulnerable to weapons that have the Impaling enchantment, which also affects other fish and aquatic mobs except drowned.

Axolotls always attack cods on sight but they will not attack another cods for a few times after that.

Sounds

Java Edition:

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitchAttenuation
distance
NoneNone​[sound 2]​Friendly MobsRandomlyentity.cod.ambientNone​[sound 2]​1.00.8–1.216
​Cod diesFriendly MobsWhen a cod diesentity.cod.deathsubtitles.entity.cod.death​1.00.8–1.216
​Cod hurts​[until: JE 26.4]Friendly MobsWhen a cod is damagedentity.cod.hurtsubtitles.entity.cod.hurt​1.00.8–1.216
​Cod flopsFriendly MobsWhile a cod is on landentity.cod.flopsubtitles.entity.cod.flop​0.30.8–1.216
​SplashesFriendly MobsWhile a cod is swimmingentity.fish.swimsubtitles.entity.fish.swim​0.0–1.0 [sound 1]0.6–1.416
  1. ↑ The fish's momentum, with the horizontal axes' velocities multiplied by 0.2 (capped at 1.0)
  2. ↑ a b ​MC-132307​

Bedrock Edition:

Sounds
SoundClosed captionsSourceDescriptionIdentifierTranslation keyVolumePitch
​Cod diesFriendly MobsWhen a cod diesmob.fish.death​[until: [[Bedrock Edition 26.60|BE 26.60]]]subtitles.entity.cod.death​1.00.8–1.2
​Cod diesFriendly MobsWhen a cod diesmob.cod.death​[<span title="This statement applies only to upcoming versions of Minecraft.">upcoming: [[Bedrock Edition 26.60|BE 26.60]]]subtitles.entity.cod.death​1.00.8–1.2
​Cod hurtsFriendly MobsWhen a cod is damagedmob.fish.hurt​[until: [[Bedrock Edition 26.60|BE 26.60]]]
mob.cod.hurt​[<span title="This statement applies only to upcoming versions of Minecraft.">upcoming: [[Bedrock Edition 26.60|BE 26.60]]]
subtitles.entity.cod.hurt​1.00.8–1.2
​Cod flopsFriendly MobsWhile a cod is on landmob.fish.flop​[until: [[Bedrock Edition 26.60|BE 26.60]]]
mob.cod.flop​[<span title="This statement applies only to upcoming versions of Minecraft.">upcoming: [[Bedrock Edition 26.60|BE 26.60]]]
subtitles.entity.cod.flop​1.01.0
​ ?Friendly MobsWhile a cod is swimmingmob.fish.step​ ?0.151.0

Data values

ID

Java Edition:

NameIdentifierEntity tags Translation key
EntitySprite cod.png: Sprite image for cod in Minecraft Codcodaquatic
axolotl_hunt_targets
can_breathe_under_water
not_scary_for_pufferfish
sensitive_to_impaling
entity.minecraft.cod

Bedrock Edition:

NameIdentifierNumeric ID FamilyTranslation key
EntitySprite cod.png: Sprite image for cod in Minecraft Codcod112 aquatic
cod
fish
entity.cod.name

Entity data

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

Java Edition:

Main article: Entity format
  • [NBT Compound / JSON Object] Entity data
    • Tags common to all entities see Template:Nbt inherit/entity/template
    • Tags common to all mobs see Template:Nbt inherit/mob/template
    • [Byte] FromBucket: 1 or 0 (true/false) - Whether the fish had ever been released from a bucket.

Bedrock Edition:

See Bedrock Edition level format/Entity format.

Achievements

IconAchievementIn-game descriptionActual requirements (if different)Gamerscore earnedTrophy type (PS)
PS4Other
I am a Marine BiologistCollect a fish in a bucketUse a water bucket on any fish mob by right-clicking.20Bronze
It SpreadsKill a mob next to a catalystKill any mob that drops experience near a sculk catalyst, with the sole exception of the ender dragon. Mobs that drop no experience are ignored for this achievement.10Bronze

Achievements that apply to all mobs:

Advancements

IconAdvancementIn-game descriptionActual requirements (if different)
It SpreadsKill a mob near a Sculk CatalystKill any mob that drops experience near a sculk catalyst, with the sole exception of the ender dragon. Mobs that drop no experience are ignored for this advancement.
Tactical FishingCatch a Fish... without a Fishing Rod!Use a water bucket on any fish mob.

Advancements that apply to all mobs:

History

Development

June 28, 2010 Notch 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, 2010 Fish 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 added only as an item; there was no code for a fish mob.
October 5, 2012 Fish were jokingly teased in the fake snapshot 12marc40awesome, along with coral and "fish blocks".
April 13, 2013 When 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, 2013 During 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!"

Java Edition

Java Edition
1.1318w08b Added cod as a mob.
Cod have 20HP❤️ × 10 health.
18w10a The health of cod has been changed to 3HP❤️💔.[2]
18w15a Cod now drop the cooked version of their item drops, if killed while on fire.
1.13.118w31a Cod now have a 5% chance of dropping bone meal when killed.
1.1821w40a Cod now only spawn between y=50 and y=64.

Bedrock Edition

Bedrock Edition
1.4.0beta 1.2.14.2 Added cod.
1.13.0beta 1.13.0.9 Cod now drop experience when killed.
1.16.100beta 1.16.100.52 Cod now drop the cooked version of their item drops, if killed while on fire.
1.17.10beta 1.17.10.22 Cods no longer can be picked up with an empty bucket.
1.18.0beta 1.18.0.21 Cod now only spawn between y=50 and y=64.
1.19.10Preview 1.19.10.23 The max health of cod has been changed to 3HP❤️💔.
Upcoming Bedrock Edition
26.60Preview 26.60.29 The sound events of cod have been changed, to fix subtitles with other fish mobs.

Legacy Console Edition

Minecraft Education

Issues

Issues relating to "Cod" are maintained on the bug tracker. Issues should be reported and viewed there.

Trivia

  • A cod in real life is any species of fish that belong in the genus Gadus, except for Alaska pollock which is the same genus but not called "cod".

Render

Screenshots

Textures

Other

See also

References

  1. ↑ MC-126819 – "fish bouncing and suffocating on top of the cauldron which fills with water" resolved as "Won't Fix"
  2. ↑ MC-126091 – Fish mobs have 20 health – resolved as "Fixed".
  • Cod article on Wikipedia

More in Aquatic mobs

View all 16 →
AquaticAquaticThe term Aquatic refers to an in-game group of mobs that live in oceans and rivers and are able to swim.AxolotlAxolotlAn axolotl is a passive aquatic mob found in lush caves that hunts most other aquatic mobs, and can assist players with aquatic combat and grant them…DolphinDolphinDolphins are aquatic neutral mobs that live in non-frozen oceans. They grant a speed boost to players that swim near them and follow the player while…Elder GuardianElder GuardianAn elder guardian is a large hostile mob and a variant of the guardian. It is the largest and strongest aquatic mob. It attacks the same way as a normal…FishFishFish are aquatic creatures that are found in river and ocean biomes.Glow SquidGlow SquidA glow squid is a squid variant that spawns in dark underwater areas, typically in ocean depths, canyons, and underground lakes. It has an aqua…GuardianGuardianGuardians are aquatic hostile mobs that spawn in ocean monuments. They attack with a slow-charging laser beam, and inflict retaliatory damage when damaged…NautilusNautilusA nautilus is a neutral mob that can be tamed, saddled, and ridden as an underwater mount that can dash and protects the rider from drowning. With no…

Related mods

CodeChicken Lib 1.8.+ CodeChicken Lib 1.8.+ Mod · 197.6M downloads CodeChickenCore CodeChickenCore Mod · 36.8M downloads CodeChicken Core 1.8.+ CodeChicken Core 1.8.+ Mod · 17.8M downloads Invocore (Code Library) Invocore (Code Library) Mod · 1.3M downloads
Cod drops & spawning
Every drop with its chance per Looting level, and the biomes where it spawns.
Drops & spawning Wiki home