Minecraft wiki entry for Impaling, associated text: In Bedrock Edition, as well as in Java Edition Combat Test 4 and after, the damage applies to all mobs and players when in contact with water: underwater, in flowing water, and in rain.[1]