Enchanted items in Minecraft with / give command?

Ba
- in Servers
5

I like to play Minecraft and I have my own server. Where I built a jump and run package and who you stock it with, you get rewards. That are given by command blocks but I want to give enchanted things as rewards that works with command blocks and who yes how

(I would like

elytra with durability 3

and elytra with durability 3 and repair)

ps. I play in version 1.15.2

Gu

Take the iter you want to enchant and use the / enchant command

Me

But that doesn't work if the user doesn't have it in hand (which the end user doesn't know) … Read the question.

Me

/ give @p diamond_sword {display: {Name: "[{\" text \ ": \" Knive \ ", \" italic \ ": false}]", Lore: ["[{\" text \ ": \ "Super sharp the part \", \ "italic \": false}] "]}, Enchantments: [{id: sharpness, lvl: 3}]} 1

This will give you a sword with a specific name and sharpness level 3.

You can easily "put it all together" on this website: https://www.gamergeeks.nz/apps/minecraft/give-command-generator

Gu

Me

No longer works in version 1.15 …
bruh

see my answer