Unlike other mobs, Warden can't get out of water like iron golem. Is it deliberate? Only Warden can get out of water with the case of image (2), left of (3). In the case of image (4), (6), since Warden can't get out of it, Warden use Sonic boom. Other case is that Warden do a close attack because Warden can get out of it with the case.
If this happen is not deliberate, let the wardens be able to get out of water with the situation(image(4), (6)).
p.s. image (4) is the case without blocks in water.
image (5) is the case with the blocks at a space down in water
image (6) is the case with the blocks at two spaces below in water
image (7) is the case with the cape on water.
Linked issues
duplicates 1
Attachments
Comments 2
This was tracked in MC-245697, which has been fixed for a while now.
This is not a bug, and the warden will actually despawn after a little bit being in water or lava.