How do I get sharpness 1000 on a diamond sword or netherite sword on minecraft java edition? [duplicate]

/give @p minecraft:diamond_sword{Enchantments:[{id:"minecraft:sharpness", lvl:1000}]} 1

is usually the command to give a item/object a enchantment with a crazy high level.


I suggest using MCstacker to generate commands, specifically the give command with NBT enchantment data.