Hitting a mob while swimming makes you stop swimming
What I expected to happen was...:
Keep swimming
What actually happened was...:
Hitting the mob makes you stop the swimming
Steps to Reproduce:
1. Stay underwater where have a mob;
2. Start swimming (Ctrl + w)
3. Hit an mob (squid, fish, even a pig...) while swimming;
4. The bug appears here.
It appears on survival and creative mode, but I didn't test it in another game mode.
Thank you for your report!
We're actually already tracking this issue in MC-129568, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki