Cod are common passive fish mobs that you can find in oceans. They exist primarily for ambiance and cosmetics, but you can also attempt to farm them to gather a lot of food for eating. While cod is more common than salmon in terms of fishing, salmon tends to be easier to find throughout your world. There is not much you can do with the fish mobs, but you can catch them in buckets and take them back home if you want. This guide will outline where cod can spawn, the behavior of cod, and the drops you can find from cod in Minecraft.
Cod can be found in just about any ocean biome in Minecraft. They require water to spawn, so it will be difficult to find them in frozen oceans. In the Java edition of Minecraft, they spawn in groups of 3-6 and require at least 2 water blocks in order to spawn. Cod can spawn in normal, cold, and lukewarm oceans in the Java edition. In the Bedrock edition, they will only spawn 12-32 blocks away from the player and spawn in groups of 4-7. Cod can spawn in normal, cold, frozen, and lukewarm ocean biomes in Bedrock edition.
You can try to use their spawning properties to section out a portion of the ocean and get cod to spawn, but it may be simpler to just catch them with a fishing rod.
Cod will swim aimlessly around in the ocean. You can observe a group of cod swimming together in a school of up to 9. They are entirely passive mobs and will never fight back even if you attack them. You can even catch a cod with an empty bucket. If you approach a cod with an empty bucket and right-click on it, you can catch the cod in a bucket.
This is so you can transport the cod to other places and keep it in an aquarium for example. In the Java edition, you will need to use a water bucket, but in Bedrock, you can simply use an empty bucket. Right-clicking with the bucket will create a water source block and spawn a cod in the location you clicked.
Cod cannot survive out of the water, they will flip around until they get back into the water or eventually suffocate. A cod can survive about 10 seconds out of the water before it starts taking damage. They cannot survive in cauldrons filled with water, and even though they can swim in waterlogged blocks, they cannot survive while swimming in them.
A cod has 1.5 full hearts in the Java edition and 2.5 full hearts in the Bedrock edition of Minecraft.
Cod can drop up to 4 items throughout the different versions of Minecraft. They will drop their respective food item when killed, either by the player or from hostile guardians. There is a 5% chance they drop bonemeal in the Java edition, and a 25% chance to drop 1-2 bones in the Bedrock edition. Like most mobs, they will also drop experience when killed by the player or a tamed wolf.
Cod are passive swimming mobs found in ocean biomes in Minecraft. While they exist primarily for ambiance, they can be used to quickly gather a decent amount of food while you are traveling across oceans. Since they are passive mobs, you do not need to be concerned about getting attacked by a school of fish, you can easily attack them for their food drops.
Congratulations, you now know how cod spawn, behave, and what items you can obtain from cod. Since cod only spawn in ocean biomes, it can be desirable to catch them in a bucket and place them in an aquarium. There is a lot that you can accomplish with this simple ambient fish mob. Keep your eyes peeled the next time you go scuba diving if you want to see a school of cod swimming around.
In the Java edition of Minecraft, you have to use a water bucket, in the Bedrock edition you can use a simple empty bucket to catch cod. You are not limited to the tropical fish when you are catching fish with a bucket. Do not forget about the simple cod and salmon if you want to have much fish in an aquarium.
You can rest assured knowing that the fish you catch in a bucket will not despawn. Even after you place them in the water, they do not require a name tag or any extra tricks to prevent them from despawning. After you have caught the fish in a bucket you can place them without worry.