Cod (mob)

Cod are frequently encountered aquatic passive creatures that can be captured in buckets in ocean biomes. They serve as a source of raw cod and, in some cases, bones in Bedrock Edition or bone meal in Java Edition.
== Biology ==
== Spawning ==
Cod reproduce beneath the surface of the water in regular, chilly, and tepid oceans, as well as their deep variations, in clusters of 3-6, adhering to the conditions for fish spawning.
== Behavior ==
Cod typically swim in groups, with up to nine cod in each school.
Players have the ability to capture a cod by utilizing a water bucket on it, resulting in the player obtaining a bucket of fish. Cod stored in buckets will not disappear on their own. When the fish bucket is emptied onto a block, it releases the water along with the swimming cod.
Alternatively, an empty bucket can also be used.
A cod is unable to survive when it is not in water. When outside of water, they exhibit a behavior where they flip on their sides as if guarding themselves, attempting to return to the water. However, after approximately 10 seconds, they begin to experience suffocation damage and eventually perish. In the Bedrock Edition, fish out of water rotate while flipping. They are unable to swim or breathe in water contained in cauldrons. Additionally, they can swim in water, but are unable to survive in waterlogged blocks, particularly noticeable in waterlogged slabs and stairs.
In the Java Edition, cod are susceptible to weapons that possess the Impaling enchantment. This enchantment also affects other fish and aquatic creatures, with the exception of drowned mobs.
== Trivia ==
* 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 ==
Category:Fish
Category:Minecraft Deluxe
Category:1.13
Category:Update Aquatic
Category:Mobs
Category:Creatures
Category:Water Type
Category:Water Type Creatures
Category:Normal Type Creatures
Category:Minecraft
Category:Land Suffocating Creatures
Category:Water Breathing Creatures
Category:Fishes
Category:Cods