Cod
Health points |
3 |
---|---|
Behavior |
Passive |
Attack strength |
Passive |
Hitbox size |
In Java Edition: In Bedrock Edition: |
Spawn |
See § Spawning |
Items usable on |
|
Cod are common passive fish mobs found in oceans.
Contents
Spawning[edit]
Java Edition[edit]
Cod spawn underwater in normal, cold, and lukewarm oceans, and their deep variants, in groups of 3-6. Cod need 2 water blocks to spawn.
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. 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[edit]
Cod drop the following upon death:
- 1 raw cod (1 cooked cod if killed while on fire)
- 1 bone meal (5% chance)[Java Edition only]
- 1–2 bones (25% chance)[Bedrock Edition only]
- 1–3 experience when killed by a player or tamed wolf.
Behavior[edit]
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 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.
An empty bucket may be used as well.[Bedrock Edition only]
Weaknesses[edit]
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 eventually start taking suffocation damage and die like squid. In Bedrock Edition, they rotate when flipping when out of water. 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.
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]
Sounds[edit]
Sound | Subtitle | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
---|---|---|---|---|---|---|---|---|
- | None[sound 1] | Friendly Creatures | Randomly | entity.cod.ambient | None[sound 1] | 1.0 | 0.8 - 1.2 | 16 |
Cod dies | Friendly Creatures | When cod dies | entity.cod.death | subtitles.entity.cod.death | 1.0 | 0.8 - 1.2 | 16 | |
Cod flops | Friendly Creatures | When cod is outside of water | entity.cod.flop | subtitles.entity.cod.flop | 0.3 | 0.8 - 1.2 | 16 | |
Cod hurts | Friendly Creatures | When cod takes damage | entity.cod.hurt | subtitles.entity.cod.hurt | 1.0 | 0.8 - 1.2 | 16 |
Data values[edit]
ID[edit]
Name | Namespaced ID | Entity tags (JE) | Translation key |
---|---|---|---|
Cod | cod | axolotl_always_hostiles[upcoming: JE 1.17] | entity.minecraft.cod |
Name | Namespaced ID | Numeric ID | Translation key |
---|---|---|---|
Cod | cod | 112 | entity.cod.name |
Entity data[edit]
Cod have entity data associated with them that contain various properties.
- Entity data
- Tags common to all entities see Template:Nbt inherit/entity/template
- Tags common to all mobs see Template:Nbt inherit/mob/template
- FromBucket: 1 or 0 (true/false) - Whether the fish had ever been released from a bucket.
Achievements[edit]
Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS) | |
---|---|---|---|---|---|---|
![]() | I am a Marine Biologist | Collect a fish in a bucket | Use an empty bucket on any fish mob to collect it. | 20G | Bronze |
Advancements[edit]
Icon | Advancement | In-game description | Parent | Actual requirements (if different) | Namespaced ID |
---|---|---|---|---|---|
![]() | Tactical Fishing | Catch a fish... without a fishing rod! | Fishy Business | Use a water bucket to pick up any fish mob. | husbandry/tactical_fishing
|
History[edit]
Java Edition Alpha | |||||
---|---|---|---|---|---|
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. | ||||
Java Edition | |||||
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!" | ||||
1.13 | 18w08b | ![]() | |||
Cod have 20![]() | |||||
18w10a | The max health of cod has been changed to 3![]() ![]() | ||||
18w15a | Cod now drop the cooked version of their item drops, if killed while on fire. | ||||
1.13.1 | 18w31a | Cod now have a 5% chance of dropping bone meal when killed. | |||
Bedrock Edition | |||||
1.4.0 | beta 1.2.14.2 | ![]() | |||
1.13.0 | beta 1.13.0.9 | Cod now drop experience when killed. | |||
1.16.100 | beta 1.16.100.52 | Cod now drop the cooked version of their item drops, if killed while on fire. | |||
Legacy Console Edition | |||||
TU69 | 1.76 | Patch 38 | ![]() | ||
Education Edition | |||||
1.4.0 | ![]() |
Issues[edit]
Issues relating to "Cod" are maintained on the bug tracker. Report issues there.
Trivia[edit]
- A cod in real life are any species of fish that belong in the genus Gadus, except for Alaska pollock which is the same genus but not called "cod".
Gallery[edit]
A school of 6 cod swimming in an ocean.
A fully inflated pufferfish, with six deflated pufferfish and a school of cod behind it.
Cod and tropical fish, along with a turtle and squid.