Minecraft wiki entry for Dolphin, associated text: Players who sprint swim within a 9 block spherical radius of a dolphin receive Dolphin's Grace for 5 seconds‌[JE only]. Players with Invisibility do not receive the effect unless they already had Dolphin's Grace before receiving Invisibility, or if they are wearing armor. In Bedrock Edition, the player simply gets a speed boost without a status effect.