Cod

Wiki ยท Mobs ยท Fish

Cod

Runs on a list of goals, tried in priority order.

Where it spawns

Biomes (6)

BiomeShareGroup
Deep Ocean100% of fish3โ€“6
Ocean100% of fish3โ€“6
Cold Ocean50% of fish3โ€“6
Deep Cold Ocean50% of fish3โ€“6
Lukewarm Ocean33% of fish3โ€“6
Deep Lukewarm Ocean21% of fish3โ€“6

Share is how often this mob is picked when the game spawns that kind of mob in the biome; group is how many come at once.

Drops

ItemAmountChance
Raw CodRaw Coddrops cooked when the mob dies on fire1100%
Bone MealBone Meal15.0%

How it thinks

Each moment it runs the most important goals it can (lowest number first); a more important goal interrupts a less important one. Read from the game's code and put in our own words.

What it does

  1. 0Runs around fast after being hurt or set on fire.
  2. 2Runs away from a nearby player.
  3. 4Swims around at random.
  4. 5Swims in a school with others of its kind.

โ† All mobs