There is a bug that allows you to combine the attributes of two weapons, for example, doing a sweep attack with an axe while preserving the damage of the axe.
This is done by changing to the desired item in the same tick in which you hit, allowing you to make a hit that can disable the shield or, accumulate the Breach effect with the damage of a sword, allowing you to do massive damage, being something quite unfair when fighting. There are even youtubers who base their content on showing how game breaker this technique is.
Thank you for your report!
We're tracking this issue in MC-28289, so this ticket is being resolved and linked 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 to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki