Minecraft wiki entry for Trident, associated text: In Java Edition, the Impaling enchantment deals extra damage to all water mobs. In Bedrock Edition and in Java Edition Combat Test 3, it deals extra damage to all players and mobs in water or rain.