Bucket of aquatic mob

Buckets of fish are a form of water bucket with a fish inside of them.

Obtaining
A bucket of fish can be obtained by a water bucket on any fish. Once an empty bucket is used, the fish will be in the water source block. The fish bucket obtained will correspond to the fish picked up.

Trading
Wandering traders have $1/6$ chance to either sell a bucket of pufferfish or a bucket of tropical fish for 5 emeralds.

Novice-level Fisherman villagers have a 50% chance to sell a bucket of cod for 3 emeralds.

Usage
Pressing with a bucket of fish will place a water source block, and spawn the corresponding fish back into the world, leaving an empty bucket in the player's inventory. For buckets of tropical fish, the patterns and color of the tropical fish are remembered and stored in the bucket. Placing a bucket of fish in the Nether will cause the same particles to appear that generate when a normal water bucket is placed in the Nether, and the fish mob will be spawned alone.

Fish caught in buckets then released will not despawn, unlike fish that spawn naturally in oceans.

If a bucket of fish is inside a dispenser, the dispenser will spawn the fish and water block in front of it upon activation.

If a bucket of fish is named a certain name through an anvil, the fish inside will display that name as if it were named with a name tag. Alternatively if a named fish is captured with a bucket of water, the resulting fish bucket will share a name with the captured fish.

Bucket of tropical fish
Tropical fish also have assigned names which can be seen after capture, so that smaller text under the item name is displayed showing the fish name, similar to the text that displays enchantments under enchanted items. Their colors are mostly named according to the colored block names, though with a few exceptions:



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:

Some tropical fish don't follow the normal naming system, and instead reference real-life fish species. Apart from these names, these types of fish aren't different from regular tropical fish in terms of design or behavior.

These varieties are:

A bucket of tropical fish pulled out of the Creative inventory will spawn random tropical fish when used.

This is due to it having no associated NBT.

Java Edition

 * : The item's tag tag.

Normal buckets of fish only use the BucketVariantTag tag to store the variant of any tropical fish that is picked up, and the item's display name to store the fish's custom name.

Bedrock Edition
Buckets use data value to determine contents. Once used, each data value is set to 0 (Empty Bucket). If no data value is provided, data value is 0.

Trivia

 * When a water bucket is transformed into a bucket of fish, it will actually push the bucket texture down one pixel. According to Dinnerbone, JAPPA says this is due to the "weight of the fish".
 * Buckets of tropical fish will always appear to contain an orange-white kob, regardless of whatever fish is actually inside.
 * Since empty buckets can be used to capture fish on the Bedrock Edition and Legacy Console Edition, it is possible to create an infinite amount of water source blocks simply by catching a fish mob with a bucket and continually placing and re-capturing the mob.