Minecraft Wiki
Mob

Cod

Game version

A passive schooling fish found in ocean water. Players can capture living cod with a water bucket, and cod can drop raw or cooked fish when killed.

Discussion Quiz

Differences between editions

  • JavaAdded in Java 1.13. Java 26.3 death loot has a 5% bone meal roll and checks Fire Aspect in addition to the fish being on fire.
  • BedrockMaximum health: 3 HPAdded in Bedrock 1.4.0. The additional death loot is bones, with a 25% base chance and Looting modifiers.
#

Used in

Mentioned in

PropertyValue
MobCod
EditionJava Edition and Bedrock Edition
VersionUpdate Aquatic (Java 1.13 and Bedrock 1.4.0)
BehaviorPassive schooling fish
HabitatOcean water
DropsRaw or cooked cod, with a chance of bone meal in Java or a bone in Bedrock

Overview#

Cod is a passive fish that swims in schools. The living mob uses minecraft:cod in both editions. The mob and its food item are registered separately. In Bedrock the food item also uses minecraft:cod in commands, while older identifiers minecraft:fish and minecraft:cooked_fish still appear in the game's loot and furnace files. Java 1.13 release notes · Bedrock 1.4.0 release notes · Bedrock cod entity · Bedrock item metadata · Bedrock furnace mapping

Spawning#

Look for cod schools in ocean water. Java 26.3 biome data lists cod in ordinary, cold and lukewarm oceans. The Java 1.18 release notes give a spawn height of Y 50–64. Bedrock's spawn file requires underwater ocean locations, excludes the warm biome tag and specifies groups of 4–7. Java ordinary ocean · Java cold ocean · Java lukewarm ocean · Java 1.18 release notes · Bedrock spawn rules

Behavior#

Cod swim together and need water to survive. To move one, use a water bucket on a living cod. Use the filled bucket at the destination to release the fish with a water source. Bedrock cod entity · Mojang's bucket guide

Drops#

EditionFish itemAdditional loot
Java 26.3One Raw Cod. It becomes Cooked Cod if the cod was on fire at death or the direct attacker held a Fire Aspect weapon in its main hand.One bone meal at a 5% chance. Looting changes neither roll.
BedrockOne Raw Cod, or Cooked Cod if the fish was on fire at death.One bone at a base 25% chance. Looting can increase both the chance and quantity of bones.

Neither death table requires a player kill for these item rolls. The Bedrock entity awards 1–3 XP when killed by a player. Java 26.3 death loot table · Java loot-smelting enchantment tag · Bedrock death loot table · Bedrock furnace mapping · Bedrock cod entity

Edition differences#

EditionVerified details
Java EditionAdded in 1.13. The 26.3 loot data includes a bone meal chance and checks Fire Aspect separately from the fish's burning state.
Bedrock EditionAdded in 1.4.0. The vanilla entity definition sets maximum health at 3 HP (1½ hearts) and defines schooling behavior. Its additional item roll is for bones.

Java 1.13 release notes · Bedrock 1.4.0 release notes · Java 26.3 death loot table · Bedrock death loot table · Bedrock cod entity

See also#