Join us on Discord!

Fish (mob)

From Minecraft Wiki
(Redirected from Fish mob)
Jump to: navigation, search
Camera-photo.png
This page would benefit from the addition of one or more images.
Please remove this notice once you've added suitable images to the article. The specific instructions are: Infobox should display either all 12 possible tropical fish patterns, or all 22 common tropical fish species
Fish
Cod.png
Salmon.png
Pufferfish small.pngPufferfish medium.pngPufferfish large.png
Orange-White Kob.pngOrange-White Glitter.png
Health points

3 (Heart.svgHalf Heart.svg)

Attack strength

Pufferfish:
Easy: 2 (Heart.svg)
Normal: 3 (Heart.svgHalf Heart.svg)
Hard: 4 (Heart.svgHeart.svg)
Poison:
1 (Poisoned Half Heart.svg) per 1.25 sec

Poison
for 7 sec (Poisoned Heart.svgPoisoned Heart.svgPoisoned Half Heart.svg)

Size

Cod:
Height: 0.25 Blocks
Width: 0.5 Blocks
Salmon:
Height: 0.5 Blocks
Width: 0.7 Blocks
Pufferfish:
Height: 0.7 Blocks
Width: 0.7 Blocks
Tropical Fish:
Height: 0.6 Blocks
Width: 0.6 Blocks

Spawn

See Spawning

First appearances

See History

Drops

See Drops

Experience

0

Internal ID

?

Entity ID
cod

salmon

pufferfish

JE: tropical_fish,
BE: tropicalfish
Grass Block.svg
This page contains content on features that may be included in the next update.
These features have appeared in development versions, but the full update containing these features has not been released yet.
Java Edition.pngMclogo.svgEducation Edition.svg
Tom Stone Mojang avatar.png You're not the only new explorer of the updated oceans, mind. We've filled the seas with new types of fish! Above is the delightful pufferfish, which filled me with delightful poison because I was too busy taking that screenshot to swim away in time :(
Tom Stone[1]

Fish are common passive mobs found in oceans and rivers. They come in 4 main variants: cod, salmon, puffer fish, and tropical fish. There are 3075 total types of fish.[fn 1]

Spawning[edit]

Cod spawn in normal, cold, and lukewarm oceans, and their deep variants.

Puffer fish and tropical fish spawn in lukewarm, warm, and deep lukewarm oceans.

Salmon spawn in cold and frozen oceans, and their deep variants. Unlike the other types of fish, they also spawn in normal and frozen rivers. Salmon can spawn in 3 sizes which are small, normal and large.

Drops[edit]

Fish drop 1 of their item form when killed: raw cod, raw salmon, pufferfish or tropical fish. Cod and salmon will drop the cooked variant of their item if killed while on fire. A tropical fish will drop a clownfish no matter what its type, pattern or colors are. Fish will also drop a bone (25% chance); also different sizes of salmon drop different amount of bone (up to 3).[Bedrock Edition only]

Behavior[edit]

Cod, salmon and tropical fish tend to swim in schools of fish (a maximum of nine cod, six salmon, and nine of the same tropical per school). Salmon are able to jump up waterfalls.[verify]Pufferfish will try to hide in a coral or a coralfan and will spin until it leaves. Pufferfish will also puff up when approached by dolphins.

The player may collect a fish by using a water bucket on it, which gives the player a fish bucket. When that fish bucket is used against a block, it empties the bucket, placing water with that fish swimming in it.

Weaknesses[edit]

None of the fish are able to survive out of water. Outside of water, they flop around like guardians for a while until eventually they start to suffocate and die like squid. Cod, salmon and tropical fish will flip around on their sides. They will rotate when flipping.[Bedrock Edition only] Fish cannot swim or breathe in cauldron water.[2]

Fish have a weakness to weapons that have the Impaling enchantment, which also affects squid, turtles, drowned, guardians, elder guardians, and dolphins.

Guardians don't attack fish like they do with squid. This is intended.[3]

Defenses[edit]

Pufferfish will puff up when approached by a player in any gamemode[4], drowned, or any non-water mob in a 5x5x5 cube around the fish, going from unpuffed, then semi-puffed, to fully puffed[Java Edition only] , or instantly to the fully-puffed state[Bedrock Edition only] . Pufferfish are technically passive mobs but going near one when fully puffed will inflict the player/mob with seven seconds of
Poison
, and touching them in their puffed form will deal damage separate from the poison. Pufferfish also instantly puff up to their fullest form after taking any kind of damage.[Bedrock Edition only]

Tropical fish varieties[edit]

The 22 common varieties of tropical fish.
top: White SunStreak, Red-White Kob, Yellow Striped fish, White-Gray Dasher
second row: Teal-Rose Dasher, Lime-Sky Brinely, Red-White Betty, Gray-Red Snooper, Red-White Blockfish, White-Yellow Flopper
third row: Rose-Sky Spotty, Plum-Yellow Blockfish, White-Red Clayfish, White-Yellow Spotty, White-Gray Glitter, White-Orange Clayfish
bottom: Orange-Gray Stripey, Gray Flopper, Gray-Sky SunStreak, White-Gray Brinely, Blue-Gray SunStreak, Orange-White Kob

When tropical fish spawn in the wild, 90% of the time they will come in one of the 22 varieties seen on the right, and the other 10% of the time their patterns, size and colors will be completely random, drawn from any of 2 shapes, 15 colors, 6 patterns, and 15 colors for the pattern. These result in 2,700 naturally-occurring combinations. With commands, the player can summon tropical fish without patterns, or with black as one or both of their colors, giving a further 404 possible combinations.

Tropical fish picked up with buckets will also have names assigned to them, such as Yellow Brinely or Lime-Gray Flopper, which display as part of the bucket's name.[Bedrock Edition only] Their colors are mostly named according to the colored block names, though with a few exceptions:


  • White

  • Orange

  • Magenta

  • Sky

  • Yellow

  • Lime

  • Rose

  • Gray

  • Silver

  • Teal

  • Plum

  • Blue

  • Brown

  • Green

  • Red

The base color will come first, and if the pattern color is different, it will come after that. Lastly, the fish bucket will be given a name according to the shape and pattern of the fish:

Flopper Glitter Betty
Stripey Blockfish Clayfish
Tropical Fish Patterns.png
Kob Snooper Brinely
SunStreak Dasher Spotty

Data values[edit]

See also: Chunk format

Cod and salmon have entity data associated with them that contain various properties of the mob. Their entity IDs are minecraft:cod and minecraft:salmon.

Puffer fish and tropical fish have additional entity data, beyond what other fish have. Their entity IDs are minecraft:pufferfish and minecraft:tropical_fish[Java Edition only] or minecraft:tropicalfish[Bedrock Edition only] .


  • Entity data
    • Tags common to all entities see Template:Nbt inherit/entity/template
    • Tags common to all mobs see Template:Nbt inherit/mob/template

    •  FromBucket: 1 or 0 (true/false) - Whether the fish had ever been released from a bucket.

    •  PuffState: A value from 0–2, Only used for minecraft:pufferfish. 0 means the fish is deflated, 1 means it is halfway puffed-up, and 2 means it is fully puffed-up.

    •  Variant: A 4-byte integer. Only used for minecraft:tropical_fish.
      • The least significant byte has a value of either 0 for a small fish, or 1 for a large fish. Values above 1 will result in an invisible fish.
      • The next byte has a value from 0–5, representing the pattern on the fish. Values above 5 will result in a fish with no pattern.
      • The next byte has a value from 0–14,[note 1] representing the color of the fish's body.
      • The most significant byte has a value from 0–14,[note 1] representing the color of the fish's pattern.
  1. a b The ID numbers for the colors match the data values of colored blocks. If this value is 15, the color will be black, and if the value is above 15, the color will be white. However, fish with values 15 and up do not spawn naturally.

The fish sizes and patterns are depicted in the following table, with white body color and dark gray pattern color.

second-least byte
0 1 2 3 4 5
least byte
1
Flopper Glitter Betty
Stripey Blockfish Clayfish
Tropical Fish Patterns.png
Kob Snooper Brinely
SunStreak Dasher Spotty
0

The 22 varieties of tropical fish most commonly found throughout the world have Variant tag values from the following table, which also lists what color/shape/patterns come from that value.

Shape Pattern Base color Pattern color Variant Name
1 1 1 7 117506305 Orange-Gray Stripey
1 0 7 7 117899265 Gray Flopper
0 1 7 3 50790656 Gray-Sky SunStreak
0 4 0 7 117441536 White-Gray Brinely
0 1 11 7 118161664 Blue-Gray SunStreak
0 0 1 0 65536 Orange-White Kob
0 5 6 3 50726144 Rose-Sky Spotty
1 3 10 4 67764993 Plum-Yellow Blockfish
1 5 0 14 234882305 White-Red Clayfish
0 5 0 4 67110144 White-Yellow Spotty
1 2 0 7 117441025 White-Gray Glitter
1 5 0 1 16778497 White-Orange Clayfish
0 3 9 6 101253888 Teal-Rose Dasher
0 4 5 3 50660352 Lime-Sky Brinely
1 4 14 0 918529 Red-White Betty
0 2 7 14 235340288 Gray-Red Snooper
1 3 14 0 918273 Red-White Blockfish
1 0 0 4 67108865 White-Yellow Flopper
0 1 0 0 256 White Sunstreak
0 0 14 0 917504 Red-White Kob
1 1 4 4 67371265 Yellow Stripey
0 3 0 7 117441280 White-Gray Dasher

The variant number is the sum of the most significant byte * 224 + second most significant byte * 216 + second least significant byte * 28 + least significant byte.

Advancements[edit]

Icon Advancement In-game description Parent Actual requirements (if different) Internal ID
Advancement-plain-raw.png
Tactical Fishing Catch a fish... without a fishing rod![upcoming 1.13] Fishy Business Use a water bucket on a fish mob to create a fish bucket. minecraft:husbandry/tactical_fishing

History[edit]

Alpha
June 28, 2010 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."
October 4, 2010 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 only added as an item; there was no code for a fish mob.
Official release
October 5, 2012 Fish were jokingly teased in the fake snapshot 12marc40awesome, along with coral and "fish blocks".
April 13, 2013 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."
July 31, 2013 During Notch's AMA on Reddit, when asked about what happened to his plans of adding fish as a mob, he responded, "Oh yeah, the fish!"
Upcoming Java Edition
1.13 November 18, 2017 TeasedFish.jpegTwo fish mobs, presumably early tropical fish, were shown off in a clip presented at MineCon Earth.
18w08b Added fish mobs, at this time only cod, salmon, and "puffer fish". They had 20 health.
18w10a Added tropical fish.
Changed health to 3.[5]
18w10b Tropical fish now make sounds, and do not use the player damage sound.
18w15a Cod and salmon now drop the cooked version of their item drops if killed while in fire.
18w19a Corrected "Puffer Fish" to Pufferfish.[6]
Bedrock Edition
1.4 beta 1.2.14.2 Added all 4 variants of fish mobs.
Education Edition
1.4.0 Added all 4 variants of fish mobs.

Issues[edit]

Issues relating to "Fish mob", "Pufferfish mob", "Cod mob", "Salmon mob", or "Tropical fish mob" are maintained on the bug tracker. Report issues there.

Gallery[edit]

Footnotes[edit]

  1. Cod, salmon, puffer fish, and 3072 variants of tropical fish.

References[edit]

  1. "How We Ruin-ed Minecraft" – Minecraft.net, March 5, 2018
  2. MC-126819 – "fish bouncing and suffocating on top of the cauldron which fill with water" resolved as "Won't Fix"
  3. MC-130252 – "Guardians and Elder Guardians don't attack dolphins, turtles or fish" resolved as "Works As Intended"
  4. MC-129884
  5. MC-126091
  6. MC-124190 – "Some display names don't follow the id", resolved
Promotional Content