When using either command block or command line I can't give a player an enchanted item.
Here is an example of what I enter:
/give @p diamond_axe 1 0 {Unbreakable:1,ench:[{id:32,lvl:5}]}
or
/give @p diamond_axe 1 0 {ench:[{id:32,lvl:5}]}
Both work in my Java Edition. I'm trying to build new worlds so we can play on the Xbox instead of my PC so I'm transferring my commands directly from my Java Edition maps.
I use these as rewards for players getting through my challenges. The player is teleported to a treasure room where they can choose an item. The basic treasure rooms for the simple challenges are fine but for the hard ones I give Unbreakable items or mega weapons.
I can give unenchanted items just fine. Perhaps a there is a change in the command structure from the Java Edition I use?
I searched for this but couldn't find anyone else reporting this so maybe it's just me.
Thank you for your report!
However, this issue has been closed as Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit the Minecraft Feedback Site or choose a link below.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Feedback – 📖 Game Wiki