The bug
If a pufferfish swims into the corner of a box made of waterlogged glass panes and puffs up, it can swim through the glass.
Related issues
relates to
Comments


Affects 1.13-pre4

Affects 1.13-pre5

Affects 1.13-pre6

Affects 1.13-pre7

Confirmed for 1.13; a pufferfish clipped through a stone brick slab above it when it puffed up.

Confirmed for 1.13.1.

In 19w03c, I cannot seem to get them to phase through walls anymore, but they still suffocate if they inflate too close to a solid floor or ceiling.
Can confirm in 21w03a.

Can this still be reproduced in 21w05 or later?
Yes, still an issue in 20w05b.

I think this may have been fixed. Now it seems like they correctly push away from panes (both flat and corner) instead of clipping through them. I haven't been able to substantially test clipping on solid blocks, but I haven't noticed anything incorrect. The only situation when they can clip through a pane is when there's a block behind it that makes the space available smaller than their inflated hitbox, so I think clipping through in this scenario would be expected behavior.
I’ve seen them pass through solid glass blocks as well. This doesn’t just affect thin blocks like panes. Also, when they puff up right next to an opaque block, they will start suffocating in it.