Minecraft wiki entry for Pillager, associated text: Pillagers use a melee attack whilst underwater, unlike pillagers in Java Edition that maintain using crossbows underwater, although the shot arrows travel slower underwater and sink after a short distance.