Cod in Minecraft

Cod

PassiveOverworldJava 26.3

The Cod is a passive mob with 3 HP (1.5 ♥). It drops Bone Meal, gives 1–3 XP and spawns in Deep Ocean, Ocean, Cold Ocean. Below you'll find exact drop chances, spawn weights and behaviour from the Java 26.3 game files.

HP
31.5 ♥ hearts
XP dropped
1–3
Spawns in
Deep Ocean+5 more biomes
Drops
Bone Meal5%

Cod stats

Game data
HP
3
Movement speed
0.7
Follow range
16 blocks
Size (width × height)
0.5 × 0.3 blocks
XP when killed
1–3Babies drop none
Immune to fire
No

What does the Cod drop?

Calculated

Exact chance per kill, with the Looting levels side by side. Rare drops need the kill to come from a player.

ItemChanceCountAverage
Raw Codcooked if on fire100%11
Bone Meal5%10.05

XP and player-only drops need the player to have hit the mob within the last 5 seconds. Armor and weapons a mob spawned with drop separately (8.5% per item, +1% per Looting level).

MetaBot Desktop

Your coordinates and biome beside the game

The in-game Companion is a small window beside Minecraft with your live coordinates and the biome you are in, plus every recipe, mob drop and enchantment a search away, so you never alt-tab to a wiki.

  • Live coordinates and biome
  • Every recipe a search away
  • Mob drops and enchantments
The Minecraft in-game Companion from MetaBot Desktop

Where does the Cod spawn?

Game data

In water between sea level −13 and sea level, water above and below

Where does the Cod spawn?
BiomesGroupWeightSharePack size
Fish10100%3–6
Fish1533.3%–50%3–6
Fish821.1%3–6

Share is the mob's slice of its group's spawn attempts in that biome (weight ÷ total weight).

Cod behaviour

Game data

Never attacks

Immune to

  • Drowning

Weaknesses

  • Impaling (+2.5/level)
  • Suffocates out of water: 15 s of air, then 2 damage 20 times a second

Good to know

  • Schools with other cod
  • Can be caught in a bucket

Advancements with the Cod

Cod ID and summon command

The entity ID is minecraft:cod. Spawn egg: Cod Spawn Egg.

/summon minecraft:cod ~ ~ ~

Data: Minecraft Java Edition 26.3 game files. How we source this

The Cod is a passive mob with 3 health. It spawns in Deep Ocean, Ocean, Cold Ocean. Killing it drops Bone Meal. Each kill gives 1–3 XP.

🔍

Help us maintain accuracy! If you notice incorrect stats, missing data, or any issues, your feedback directly improves the quality of our data for the entire community.

Report an Issue

Cod FAQ (Java 26.3)

How much health does the Cod have?

The Cod has 3 health points, which is 1.5 hearts, and 0 armor.

What does the Cod drop?

Bone Meal (5%) (chance per kill without Looting), plus 1–3 XP.

Where does the Cod spawn?

It spawns naturally in 6 biomes, most often in Deep Ocean, Ocean, Cold Ocean.