Skip to content
Minecraft Command List

Give Diamond Sword Sharpness 5

Get a diamond sword pre-enchanted with Sharpness V

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Uses 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}]
50 characters

How to use

  1. Java: open chat (T) and paste the command.
  2. Press Enter — the enchanted sword lands in your inventory.
  3. Bedrock: /give @p diamond_sword, then hold it and run /enchant @s sharpness 5.

Related commands

Get a netherite sword pre-enchanted with Sharpness V

/give @p netherite_sword[enchantments={sharpness:5}]

Get a trident that returns to you after being thrown

/give @p trident[enchantments={loyalty:3}]

Get a fully enchanted bow that never runs out of arrows

/give @p bow[enchantments={power:5,infinity:1,unbreaking:3}]

Get a netherite chestplate with maximum protection

/give @p netherite_chestplate[enchantments={protection:4,unbreaking:3,mending:1}]
Give Netherite Boots
Give Netherite Boots Awaiting in-game verification
Both

Get the strongest boot armor

/give @p netherite_boots

Get an enchanted book with Mending

/give @p enchanted_book[stored_enchantments={mending:1}]