Impaling is an enchantment in Minecraft for the trident, which allows it to inflict extra damage with each strike against water creatures.
What is the purpose of the Impaling enchantment?
Each additional level of the Impaling enchantment adds 2.5 (♥ × 1 1⁄4) extra damage per hit.
In the Java edition, only aquatic creatures receive the extra damage. The aquatic monsters affected are: dolphins, guardians, elder guardians, octopuses, turtles and all variants of fish, axolotls, glowing squids, but not drowned, as drowned are classified as undead monsters rather than underwater creatures.
In the Bedrock edition, as well as since Java Combat Test 4, damage applies to all creatures and all players when in contact with water : underwater, in flowing water, and in the rain.