mojira.dev
MC-269264

Enchanting an enchanted weapon obtained by commands does not work

When you give yourself an enchanted weapon with a command:
/give @p bow[minecraft:unbreakable={},minecraft:enchantments={levels:{'minecraft:multishot':1,'minecraft:piercing':127,'minecraft:infinity':1},show_in_tooltip:true}]
and attempt to enchant it with unbreaking 3, it does not work as it says it cannot support the enchantment

Linked issues

Comments 2

This issue is triggered by the Unbreakable component you've included. It's a duplicate of MC-268510.

Thank you for your report!
We're tracking this issue in MC-268510, 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
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

CaptainFlame54

(Unassigned)

Unconfirmed

(Unassigned)

24w10a

Retrieved