When using the /enchant command on an item already enchanted with the enchantment already applied, the error is incorrect. For example, if I have a `diamond_sword` with `minecraft:sharpness 2` and I would like to enchant this sword to level 5, with the command `/enchant @s minecraft:sharpness 5`, the error is incorrect. It shows "Diamond sword can't have that enchantment" when in fact, it can.
There are two ideal solutions to this problem.
1. Change the functionality of /enchant to allow re-enchanting an item already enchanted with the desired enchantment. (Best case)
2. Change the error to state "You may not enchant an item with an enchantment it already has" or something similar.
Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-84104, so this ticket is being resolved and linked as a duplicate.
That ticket has already been resolved as working as intended, which means this is not considered a bug and won't be fixed. Please do not leave a comment on the linked ticket.
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
This may be a feature request, but I can confirm.