Tropical Fish/ED

From Minecraft Wiki
Jump to: navigation, search
  • 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.
    •  Variant: A 4-byte integer.
      • The least significant byte has a value of either 0 for a small fish, or 1 for a large fish. Values above 1 result in an invisible fish.
      • The next byte has a value from 0–5, representing the pattern on the fish. Values above 5 result in a fish with no pattern.
      • The next byte has a value from 0–15, representing the color of the fish's body.
      • The most significant byte has a value from 0–15, representing the color of the fish's pattern.

Color

Main article: Tropical Fish/DV
[edit]

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
0 0 1 0 65536 Orange-White Kob
0 0 14 0 917504 Red-White Kob
1 3 14 0 918273 Red-White Blockfish
1 4 14 0 918529 Red-White Betty
1 5 0 1 16778497 White-Orange Clayfish
0 4 5 3 50660352 Lime-Sky Brinely
0 5 6 3 50726144 Rose-Sky Spotty
0 1 7 3 50790656 Gray-Sky SunStreak ‌[Bedrock Edition only]
1 0 0 4 67108865 White-Yellow Flopper
0 5 0 4 67110144 White-Yellow Spotty
1 1 4 4 67371265 Yellow Stripey
1 3 10 4 67764993 Plum-Yellow Blockfish
0 3 9 6 101253888 Teal-Rose Dasher
1 2 0 7 117441025 White-Gray Glitter
0 3 0 7 117441280 White-Gray Dasher
0 4 0 7 117441536 White-Gray Brinely
1 1 1 7 117506305 Orange-Gray Stripey
1 0 7 7 117899265 Gray Flopper
0 1 11 7 118161664 Blue-Gray SunStreak
0 1 0 8 134217984 White-Silver Sunstreak
1 0 7 11 185008129 Gray-Blue Flopper ‌[Java Edition only]
1 5 0 14 234882305 White-Red Clayfish
0 2 7 14 235340288 Gray-Red Snooper

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.