The bug
When a cod touches the bottom of a solid block, they take damage.
How to reproduce
Create a small fish tank with a ceiling made of solid blocks
Fill it with water and put a cod in it
Wait for it to swim up and touch the ceiling. It should begin to suffocate
Related issues
is duplicated by
Attachments
Comments


Can confirm on 18w08b
I think it's strange anyways how Cods like to swim right at the top

This happened to me, too. Sucks, because I literally just made my underwater home a hub for fish and a farm for kelp at the same time, as well as a water-breathing wonderland.
Yeah, I built a home for fish because I'm a fish myself :PPPPPPPPP

hello i dont vey speking english, i from brazilian, i been the problem com my minecraft because i buy conta de my friend and i dont most logar in hypixel ever i again i am kicked
and an unexpected problem has happened and the game has stopped working

Can confirm for 18w11a

Can confirm for 18w14a

Affects 18w14b

Affects 18w16a

cods still suffocate above a solid block in 18w19a

I could still reproduce this bug in a fish tank in 18w22a.
[media]
Still affects 1.13-pre1
Can also confirm for 1.13-pre1. Reopening.

affect 1.13pre-2

Also affect 1.13pre-3 😞
(Check screenshots)

This may be the same issue as MC-50367.