Salmon

Salmon are common passive aquatic mobs found in oceans and rivers. They are a reliable and nutritious source of early-game food when cooked.

Java Edition
Salmon spawn in groups of 1–5 in cold or frozen oceans, as well as their deep variants, subject to fish spawning requirements. Like their real-world counterparts, they also spawn in rivers and frozen rivers.

Bedrock Edition
Salmon spawn underwater at 12–32 blocks away from the player. Salmon spawn in groups of 3–5 in lukewarm, cold, normal, frozen oceans, their deep variants and rivers (including frozen rivers). In addition, salmon spawn on the surface (i.e., there must not be a spawnable block above the spawn location with a non-solid block on top). Salmon spawn in small, normal, and large sizes. 31.5% spawn as small, 52.6% spawn as normal, and 15.7% spawn as large.

Drops
When killed, salmon drop:


 * 1 (1  if killed while on fire). This is not affected by Looting.
 * when killed by a player or tamed wolf.


 * 1 (5% chance).
 * 1 s (25% chance) if salmon size is small or medium.
 * 1-2 s (25% chance) if salmon size is large.
 * 1 s (25% chance) if salmon size is small or medium.
 * 1-2 s (25% chance) if salmon size is large.

Behavior
Salmon tend to swim in schools (a maximum of seven salmon per school). Salmon can swim up approximately 4–5 blocks in waterfalls, emulating the behavior of real-world salmon that leap into and over small waterfalls to reach their spawning ground.

The player may collect salmon by a water bucket on it, which gives the player a bucket of salmon. Salmon placed with buckets do not despawn naturally. When that fish bucket is against a block, it empties the bucket, placing water with that fish swimming in it. $$, an empty bucket may be used as well.

Weaknesses
Salmon are unable to survive out of water. Outside of water, they flop around for a while until eventually they start to suffocate and die. Salmon flip around on their sides. $$, they rotate when flipping. Salmon also cannot swim or breathe in cauldron water.

$$, salmon have a weakness to weapons that have the Impaling enchantment, which also affects other fish and water/ocean mobs except drowned.

Axolotls always attack salmon on sight.

Sounds
Salmon use the Friendly Creatures sound category for entity-dependent sound events.

ID




Entity data
Salmon have entity data associated with them that contain various properties.




 * See Bedrock Edition level format/Entity format.
 * See Bedrock Edition level format/Entity format.