Minecraft wiki entry for Useful_commands, associated text: The command above will give you a netherite sword with Sharpness 10. You will see the enchantment as Sharpness X. You can change the id to any enchantment.