Give Diamond Sword Sharpness 5
Get a diamond sword pre-enchanted with Sharpness V
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Uses 1.20.5+ data-component syntax to spawn a diamond sword pre-enchanted with Sharpness V for massive melee damage. This is the cleanest way to get an enchanted weapon on Java. Bedrock players must use the two-command workaround in the note.
/give @p diamond_sword[enchantments={sharpness:5}]- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Java: open chat (T) and paste the command.
- Press Enter — the enchanted sword lands in your inventory.
- Bedrock: /give @p diamond_sword, then hold it and run /enchant @s sharpness 5.
Related commands
Give Netherite Sword Sharpness 5
Get a netherite sword pre-enchanted with Sharpness V
Give Trident with Loyalty III
Get a trident that returns to you after being thrown
Give Bow with Power V and Infinity
Get a fully enchanted bow that never runs out of arrows
Give Netherite Chestplate Protection IV
Get a netherite chestplate with maximum protection
Give Netherite Boots
Get the strongest boot armor
Give Enchanted Book: Mending
Get an enchanted book with Mending