Salmon are common bucketable aquatic passive mobs found in oceans and rivers that are a source of raw salmon and, occasionally, bones[Bedrock Edition…
Salmon spawn in groups of 1–5 in cold or frozen oceans, as well as their deep variants, subject to fish spawning requirements. They also spawn in rivers and frozen rivers.
Bedrock Edition
Salmon spawn underwater at 12–32 blocks away from the player. They 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 (that is, there must not be a spawnable block above the spawn location with a non-solid block on top).
Salmon tend to swim in schools with a maximum of 7 salmon per school.
They 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 using a water bucket on it, which gives the player a bucket of salmon. Salmon placed with buckets do not despawn naturally. When the bucket of salmon is used against a block, it empties the bucket, placing water with the salmon swimming in it.
Salmon cannot be bred; they spawn naturally.
Some salmon may randomly leave their school swimming away and they may despawn.
Weaknesses
Salmon cannot survive out of water. Outside of water, they flop around for a while until they die from suffocation. Salmon flip around on their sides. In Bedrock Edition, they rotate when flipping. Salmon also cannot swim or breathe in cauldron water.[1]
In Java Edition, salmon have a weakness to weapons that have the Impaling enchantment, which also affects other fish and water mobs except drowned.
Axolotls always attack salmon on sight but they will not attack another salmon for a few times after that.
Kill any mob that drops experience near a sculk catalyst, with the sole exception of the ender dragon. Mobs that drop no experience are ignored for this achievement.
Kill any mob that drops experience near a sculk catalyst, with the sole exception of the ender dragon. Mobs that drop no experience are ignored for this advancement.
Armor Stand and Mannequin also count for this advancement. This is a hidden advancement, meaning that it can be viewed by the player only after completing it, regardless of if its child advancement(s), if any, have been completed.
Notch mentioned that fish might be a feature of coral, if he were able to add coral: "... I do know that the corals will have tiny fish particles around them."
Fish were a passive mob that Notch showed interest in adding. In the promotional graphic for the Halloween Update, Notch indicated he would add fish. However, they were added only as an item; there was no code for a fish mob.
When Jon Kågström was asked in his AMA on Reddit, "What mob would you like to implement into the game?" He responded, "I would like to add birds, fish and tree animals to make it more alive. However this will take some time before it can be done."
The elongated green head and red body of salmon resemble that of Pacific migratory salmon (Oncorhynchus sp.), specifically sockeye salmon (O. nerka), king/chinook salmon (O. tshawytscha) or coho salmon (O. kisutch), in their spawning phase. However, they are not typically eaten in this state due to severely depleted energy reserves; most consumed salmon comes from the ocean, where they retain their more silvery appearance (akin to cod).