Tropical Fish/ED

* Entity data
** 
** 
** : 1 or 0 (true/false) - Whether the fish had ever been released from a bucket.
** : 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.
The fish sizes and patterns are depicted in the following table, with white body color and dark-gray pattern color.
 	 	second-least byte	second-least byte	second-least byte	second-least byte	second-least byte	second-least byte	 	 	 	 	 	 	 		 	 	 		
 	 	0 	1 	2 	3 	4 	5 	 	 	 	 	 	 	 		 	 	 		
least byte	1	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	 	 	 	 	 	 	 		 	 	 		
least byte	
 {| style="width:300px; table-layout:fixed;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	
 {| style="line-height:1.2em; text-align:center;"	Flopper 	Flopper	Flopper 	 	Glitter 	Glitter	Glitter		Betty	Betty	Betty		
 	 	Stripey 	Stripey 	Stripey 	 	Blockfish 	Blockfish 	Blockfish	 	Clayfish	Clayfish	Clayfish	 	 		 	 	 		
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 	Type 	Name
0 	0 	1 	0 	65536 	Orange-White Kob 	Clownfish
0 	1 	7 	0 	459008 	Gray-White Sunstreak 	Triggerfish
0 	0 	14 	0 	917504 	Red-White Kob 	Tomato Clownfish
1 	3 	14 	0 	918273 	Red-White Blockfish 	Red Snapper
1 	4 	14 	0 	918529 	Red-White Betty 	Red Cichlid
1 	5 	0 	1 	16778497 	White-Orange Clayfish 	Ornate Butterflyfish
0 	4 	5 	3 	50660352 	Lime-Light Blue Brinely	Queen Angelfish
0 	5 	6 	3 	50726144 	Pink-Light Blue Spotty 	Cotton Candy Betta
1 	0 	0 	4 	67108865 	White-Yellow Flopper 	Threadfin
0 	5 	0 	4 	67110144 	White-Yellow Spotty 	Goatfish
1 	0 	4 	4 	67371009 	Yellow Flopper 	Yellow Tang
0 	3 	9 	4 	67699456 	Cyan-Yellow Dasher 	Yellowtail Parrotfish
1 	3 	10 	4 	67764993 	Purple-Yellow Blockfish	Dottyback
0 	3 	9 	6 	101253888	Cyan-Pink Dasher 	Parrotfish
1 	2 	0 	7 	117441025	White-Gray Glitter 	Moorish Idol
1 	5 	0 	7 	117441793	White-Gray Clayfish 	Butterflyfish
1 	1 	1 	7 	117506305	Orange-Gray Stripey 	Anemone
1 	0 	7 	7 	117899265	Gray Flopper 	Black Tang
0 	1 	11 	7 	118161664	Blue-Gray SunStreak 	Cichlid
1 	0 	7 	11 	185008129	Gray-Blue Flopper 	Blue Tang
1 	5 	0 	14 	234882305	White-Red Clayfish 	Emperor Red Snapper
0 	2 	7 	14 	235340288	Gray-Red Snooper 	Red Lipped Blenny
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.
Category:Entity data pages