Pufferfish

"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

Pufferfish are uncommon defensive mobs found in oceans.

Spawning
Fish spawn underwater at around 12–32 blocks away from the player.

Pufferfish spawn in warm ocean biomes in groups of 3–5. $$ they can also spawn in lukewarm and deep lukewarm oceans. $$, pufferfish only spawn on the surface (i.e., there must not be a spawnable block above the spawn location with a non-solid block on top).

Drops
Fish drop 1 of their item form when killed:


 * 1
 * 1 (5% chance)
 * 1-2 s (25% chance)
 * 1-3 orbs when killed by a player or tamed wolf.

Behavior
Pufferfish inflate themselves when approached by the player, most mobs, and armor stands.

The player may collect a fish by a water bucket on it, giving the player a bucket of fish. Fish placed with buckets do not despawn naturally. When that fish bucket is against a block, it empties the bucket, placing water with that fish swimming in it. An empty bucket may be used as well.

Unlike other fish, pufferfish don't swim in schools.

Weaknesses
Naturally, like all other fish, pufferfish cannot survive out of water. Outside of water, they flop around like guardians for a while until they start suffocating, and then die like squid. $$ they rotate when flopping. Fish cannot swim or breathe in cauldron water.

All fish are vulnerable to weapons that have the Impaling enchantment, which also affects squid, turtles, guardians, elder guardians, and dolphins.

Defenses
A pufferfish inflates when approached by a player in Survival or Adventure mode, a drowned, or any non-water mob within a 5×5×5 volume around the fish, going from unpuffed, then semi-puffed, to fully puffed, or instantly to the fully-puffed state. Pufferfish are technically passive mobs but going near one when fully puffed inflicts the player/mob with seven seconds of, and touching one in its puffed or semi-puffed form deals damage separate from the poison. Pufferfish also instantly inflate to their fullest form after taking any kind of damage. After inflating, they slowly deflate to their normal shape. Undead mobs are unaffected by the poison effect, but still take damage when they come into contact with pufferfish.

Entity data
.

Pufferfish have additional entity data, beyond what other fish have.

Trivia

 * The pufferfish will poison the player in creative mode if another entity causes it to puff up.
 * $$, the pufferfish plays the same sound effect as other fish mobs.