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 passive mobs found in oceans.

Spawning
Fish spawn underwater at a Y-level of 12–32.

Pufferfish spawn in lukewarm, warm, and deep lukewarm oceans in groups of 3–5. In Bedrock Edition, they spawn only in warm ocean biomes.

Drops
Fish drop 1 of their item form when killed:


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

Behavior
Pufferfish will puff up when approached by the player, most mobs and armor stands.

The player may collect a fish by a water bucket on it, which gives the player a bucket of fish. Fish placed with buckets will 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.

Weaknesses
Like other fish, pufferfish cannot 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. In Bedrock Edition and Legacy Console Edition, they will rotate when flipping. Fish cannot swim or breathe in cauldron water.

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

Defenses
Pufferfish will puff up when approached by a player in Survival or Adventure mode, drowned, or any non-water mob in a 5x5x5 cube 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 will inflict the player/mob with seven seconds of, 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.

Entity data
.

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