Cod
Health points |
3HP |
---|---|
Behavior |
Passive |
Mob type | |
Hitbox size |
In Java Edition: In Bedrock Edition: |
Speed |
0.7 |
Spawn |
|
Usable items |
{ "title": "Cod", "rows": [ { "field": "3<span class=\"hidden-alt-text\">HP</span><span class=\"nowrap mc-hearts\"><span class=\"iconbar pixel-image nowrap\" style=\"--icon-offset:-1px;\" title=\"1.5 hearts\">(link to File:Heart (icon).png article, displayed as 9px|link=|alt=♥)(link to File:Half Heart (icon).png article, displayed as 9px|link=|alt=♥)</span></span>", "label": "(link to Health article, displayed as Health points)" }, { "field": "Passive", "label": "Behavior" }, { "field": "(link to Animal article, displayed as Animal), (link to Aquatic article, displayed as Aquatic)", "label": "(link to Mob article, displayed as Mob) type" }, { "field": "'''In (link to Java Edition article, displayed as ''Java Edition''):'''<br>\nHeight: 0.3 blocks<br>Width: 0.5 blocks\n\n'''In (link to Bedrock Edition article, displayed as ''Bedrock Edition''):'''<br>\nHeight: 0.3 blocks<br>Width: 0.6 blocks", "label": "(link to Hitbox article, displayed as Hitbox size)" }, { "field": "0.7", "label": "(link to Attribute#movementSpeed article, displayed as Speed)" }, { "field": "(values exceeds 1000 characters...)", "label": "(link to Mob spawning article, displayed as Spawn)" }, { "field": "\n* <span class=\"nowrap\"><span class=\"sprite-file\" style=\"\">(link to File:ItemSprite water-bucket.png article, displayed as 16x16px|link=Water Bucket|alt=|class=pixel-image|)</span>(link to Water Bucket article, displayed as <span class=\"sprite-text\">Water Bucket</span>)</span>", "label": "Usable items" } ], "invimages": [ "Cod Spawn Egg", "Bucket of Cod" ], "images": [ "Cod.gif", "Cod BE.gif" ] }
Cod are common bucketable aquatic passive mobs found in oceans, a source of raw cod and, occasionally, bones[Bedrock Edition only] or bone meal.[Java Edition only]
Spawning[edit | edit source]
Java Edition[edit | edit source]
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[edit | edit source]
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 | edit source]
On death[edit | edit source]
Item | Roll Chance | Quantity (Roll Chance) | ||||
---|---|---|---|---|---|---|
Default | Looting I | Looting II | Looting III | |||
![]() | Raw Cod[d 1] | 100% | 1 | 1 | 1 | 1 |
![]() | Bone Meal(JE) | 5% | 1 | 1 | 1 | 1 |
![]() | Bone(BE) | 25% | 1–2 | 2–4 | 3–6 | 4–8 |
- ↑ Dropped as cooked cod if on fire when killed.
Behavior[edit | edit source]
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. An empty bucket may be used as well.[Bedrock Edition only]
Cod can not be bred, but only spawn in designated biomes.
Weaknesses[edit | edit source]
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.
Sounds[edit | edit source]
Java Edition:
Cod use the Friendly Creatures sound category for entity-dependent sound events.
[hide]Sounds | ||||||||
---|---|---|---|---|---|---|---|---|
Sound | Subtitles | Source | Description | Resource location | Translation key | Volume | Pitch | Attenuation distance |
None | None[sound 2] | Friendly Creatures | Randomly | entity | None[sound 2] | 1.0 | 0.8-1.2 | 16 |
Cod dies | Friendly Creatures | When a cod dies | entity | subtitles | 1.0 | 0.8-1.2 | 16 | |
Cod hurts | Friendly Creatures | When a cod is damaged | entity | subtitles | 1.0 | 0.8-1.2 | 16 | |
Cod flops | Friendly Creatures | While a cod is on land | entity | subtitles | 0.3 | 0.8-1.2 | 16 | |
Splashes | Friendly Creatures | While a cod is swimming | entity | subtitles | 0.0-1.0 [sound 1] | 0.6-1.4 | 16 |
- ↑ The fish's momentum, with the horizontal axes' velocities multiplied by 0.2 (capped at 1.0)
- ↑ Jump up to: a b NONE
[hide]Sounds | |||||
---|---|---|---|---|---|
Sound | Source | Description | Resource location | Volume | Pitch |
Friendly Creatures | When a cod dies | mob | 1.0 | 0.8-1.2 | |
Friendly Creatures | When a cod is damaged | mob | 1.0 | 0.8-1.2 | |
Friendly Creatures | While a cod is on land | mob | 1.0 | 1.0 | |
Friendly Creatures | While a cod is swimming | mob | 0.15 | 1.0 |
Data values[edit | edit source]
ID[edit | edit source]
Name | Identifier | Entity tags | [hide]Translation key |
---|---|---|---|
![]() | cod | aquatic axolotl_hunt_targets can_breathe_under_water not_scary_for_pufferfish sensitive_to_impaling | entity |
Name | Identifier | Numeric ID | [hide]Translation key |
---|---|---|---|
![]() | cod | 112 | entity |
Entity data[edit | edit source]
Cod have entity data associated with them that contain various properties.
- [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.
Achievements[edit | edit source]
[hide] | |||||||
---|---|---|---|---|---|---|---|
Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS) | ||
PS4 | Other | ||||||
![]() | ![]() | I am a Marine Biologist | Collect a fish in a bucket | Use a water bucket on any fish mob. | 20 | Bronze | |
![]() | ![]() | It Spreads | Kill a mob next to a catalyst | — | 10 | Bronze | |
![]() | ![]() | Overkill | Deal nine hearts of damage in a single hit. | Damage can be dealt to any mob, even those that do not have nine hearts of health overall. | 30 | Bronze | |
![]() | ![]() | Over-Overkill | Deal 50 hearts of damage in a single hit using the Mace | — | 20 | Silver |
Advancements[edit | edit source]
Icon | Advancement | In-game description | Actual requirements (if different) |
---|---|---|---|
![]() ![]() | A Throwaway Joke | Throw a Trident at something. Note: Throwing away your only weapon is not a good idea. | Hit a mob with a thrown trident. |
![]() ![]() | Adventure | Adventure, exploration and combat | Kill any mob, or be killed by any living entity. |
![]() ![]() | Arbalistic | Kill five unique mobs with one crossbow shot | ![]() This is a hidden advancement, meaning that it can be viewed by the player only after completing it, regardless of if its child advancement(s), if any, have been completed. |
![]() ![]() | It Spreads | Kill a mob near a Sculk Catalyst | Kill one of these 73 mobs near a sculk catalyst:[show]
|
![]() ![]() | Over-Overkill | Deal 50 hearts of damage in a single hit using the Mace | – |
![]() ![]() | Tactical Fishing | Catch a Fish... without a Fishing Rod! | Use a water bucket on any fish mob. |
![]() ![]() | Take Aim | Shoot something with an Arrow | Using a bow or a crossbow, shoot a mob with an arrow, tipped arrow, or spectral arrow. |
History[edit | edit source]
[hide]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. | ||||||
[hide]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 20HP health. × 10 | |||||||
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.1 | 18w31a | Cod now have a 5% chance of dropping bone meal when killed. | |||||
1.18 | 21w40a | Cod now only spawn between y=50 and y=64. | |||||
[hide]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. | |||||
1.18.0 | beta 1.18.0.21 | Cod now only spawn between y=50 and y=64. | |||||
1.19.10 | Preview 1.19.10.23 | The max health of cod has been changed to 3HP. | |||||
[hide]Legacy Console Edition | |||||||
Xbox 360 | Xbox One | PS3 | PS4 | PS Vita | Wii U | Switch | |
TU69 | 1.76 | 1.76 | 1.76 | Patch 38 | ![]() | ||
[hide]Minecraft Education | |||||||
1.4.0 | ![]() |
Issues[edit | edit source]
Issues relating to "Cod" are maintained on the bug tracker. Issues should be reported and viewed there.
Trivia[edit | edit source]
- 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".
- Interestingly, cod in Minecraft have two dorsal fins while all real members of the genus Gadus have three dorsal fins.
Gallery[edit | edit source]
Render[edit | edit source]
-
How a fish barrel would look if the unused texture, appearing to be filled with cod, was on its top.
Screenshots[edit | edit source]
-
A school of 6 cod swimming in an ocean.
-
A fully inflated pufferfish, with six deflated pufferfish and a school of cod behind it.
-
An ocean with some fish visible.
-
A dying cod next to a pufferfish that is also taking damage due to the absence of water around them.
-
Cod and tropical fish, along with a turtle and squid.
-
First image of fish mobs in Bedrock Edition.
Textures[edit | edit source]
-
Cod texture file.
Other[edit | edit source]
-
The cod spawn egg in Bedrock Edition beta 1.2.14.2.
See also[edit | edit source]
References[edit | edit source]
External links[edit | edit source]
- Cod article on Wikipedia
[edit | edit source]
[hide] | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||
|