I don't think so. My character was not fly or swimming. The trident you see was thrown by a drowned while standing on that chest. It would have caused damage my character if it was standing on the slab floor. The drowned can see, follow, and damage my character standing on this slab floor.
Here is a video. It shows my character being struck twice by tridents from drowned.
https://youtu.be/P5OmXMuvN0M