Wiki 9Minecraft Wiki 9Minecraft

Cod

Mobs & entity

Cod is a small water creature that spawns naturally in six biomes, including Cold Ocean, Deep Cold Ocean, Deep Lukewarm Ocean, Deep Ocean, and Lukewarm Ocean. A spawn egg for it also exists.

Players kill cod to collect Raw Cod and Bone Meal, which are the two items it drops when it dies.

Contents (8)
  1. Animations
  2. Sounds
  3. Stats
  4. Advancements
  5. History
  6. Registry entry
  7. Related items
  8. See also

Animations

5 of these were recorded inside the running game, so the movement is the animation Mojang shipped rather than an imitation of it. Transparent background, free to download.

Cod, walking
WalkingDownload
Cod, running
RunningDownload
Cod, idle
IdleDownload
Cod, taking damage
Taking damageDownload
Cod, death
DeathDownload

Sounds

3 sound events for this mob, 12 files in all. Where an event lists more than one file the game picks one at random. Volume, pitch and attenuation are the values the game declares in its own sounds.json.

EventSoundClosed captionIdentifierTranslation keyVolumePitchAttenuation
deathCod diesentity.cod.deathsubtitles.entity.cod.death1116
flopCod flopsentity.cod.flopsubtitles.entity.cod.flop0.3116
hurtCod hurtsentity.cod.hurtsubtitles.entity.cod.hurt1116

Stats

Mojang publishes these numbers in the Bedrock behaviour pack (bedrock-samples); the Java edition keeps them in code, not in any data file. Most values match across editions, but not all — treat them as the Bedrock figures.

Health points3
Movement speed0.1
Hitbox size0.6 blocks wide, 0.3 blocks tall
Mob typeaquatic, cod, fish

Advancements

Advancements whose own criteria name this entry. Recipe-unlock entries are left out — they never appear on the player’s Advancements screen.

History

Worked out by reading the registry of every Minecraft build Mojang has published, in release order.

VersionDateWhat the files show
before 18w50a—Already in the game when Mojang’s data generator first shipped, in 18w50a (12 December 2018). The files do not say which earlier version added it.

Registry entry

Identifierminecraft:cod
Registryminecraft:entity_type

See also