Diamond Sword icon

Diamond Sword Give Command Generator

  • Item id: minecraft:diamond_sword
  • Command: /give

The diamond sword sits at the top of the survival melee tree until netherite, dealing 7 attack damage at a 1.6 attack speed on Java with 1,561 durability to burn through. That baseline makes it the default reward item for adventure maps: players immediately understand its value, and every stat stacked on top of it reads as a deliberate upgrade rather than a gimmick.

A /give command can push the item far past survival limits. Over-cap enchantments such as Sharpness 1000 turn it into a one-hit admin blade, the Unbreakable flag deletes durability as a concern, and a colored name plus a few lore lines let you brand it as a quest reward, a rank-kit weapon, or a boss drop with its own backstory.

Everything transfers cleanly down the upgrade path, too: a diamond sword upgraded at a smithing table keeps its enchantments, name, and lore on the resulting netherite sword, so a custom blade handed out early in a map can stay with the player through the endgame.

Example commands

Sharpness 1000 one-hit blade

/give @p minecraft:diamond_sword[custom_name={text:"Godslayer",color:"red"},enchantments={"minecraft:sharpness":1000}] 1

Over-cap Sharpness kills any regular survival mob in a single swing, and the red name marks it as admin-tier loot at a glance.

Unbreakable arena sword with lore

/give @p minecraft:diamond_sword[lore=["Issued to pit champions only","Returns to the armory after the bell"],unbreakable={}] 1

The Unbreakable flag removes durability from the fight entirely, so arena rounds stay balanced no matter how long a duel runs.

Mob-farm harvester

/give @p minecraft:diamond_sword[enchantments={"minecraft:fire_aspect":2,"minecraft:looting":3}] 1

Fire Aspect cooks meat drops on the kill while Looting III maximizes drop counts, which is the classic pairing for hand-finished grinders.

Epic-rarity vault reward

/give @p minecraft:diamond_sword[custom_name="Blade of the Warden's Vault",rarity=epic] 1

Epic rarity renders the custom name in light purple without setting a color manually, which sells the item as end-of-dungeon loot.

The same build across versions

Rows appear only where the output actually changes -- copy the one that matches your world.

Java 1.16

/give @p minecraft:diamond_sword{display:{Name:'{"text":"Godslayer","color":"red"}'},Enchantments:[{id:"minecraft:sharpness",lvl:1000s}]} 1

Java 1.21.4

/give @p minecraft:diamond_sword[custom_name='{"text":"Godslayer","color":"red"}',enchantments={levels:{"minecraft:sharpness":1000},show_in_tooltip:true}] 1

Java 26.2

/give @p minecraft:diamond_sword[custom_name={text:"Godslayer",color:"red"},enchantments={"minecraft:sharpness":1000}] 1

Bedrock 26.x

# Bedrock Stable - run this block for one item, then hold it in your main hand before /enchant.
# Omitted Java-only item data for Bedrock: custom_name.
/give @p diamond_sword 1
# Pick up the item, select it in your main hand, then run:
/enchant @p sharpness 1000
  • Omitted Java-only item data for Bedrock: custom_name.

Worth knowing

  • On Java a diamond sword deals 7 attack damage at 1.6 attack speed, and the attack-cooldown bar must fully recover for a swing to land that full number.
  • Sweeping Edge exists only on Java, where it boosts the crowd-hitting sweep attack; Bedrock swords never sweep, so the enchantment has nothing to modify there.
  • Animals killed while burning from Fire Aspect drop cooked meat instead of raw, effectively baking a furnace into the weapon.
  • Upgrading at a smithing table with a netherite ingot and upgrade template carries the sword's enchantments, custom name, and lore onto the netherite result.
  • Looting only increases drops when the enchanted sword itself lands the killing blow, so grinder designs that soften mobs first still need the final hit by hand.

FAQ

Can a diamond sword have Sharpness 1000?

Yes. Survival enchanting caps Sharpness at V, but /give accepts any level and Sharpness 1000 one-shots every regular mob. The generator writes the over-cap level into the command for you.

How do I make a diamond sword unbreakable?

Enable the Unbreakable toggle; the item then ignores all durability loss permanently. The flag also survives a smithing-table upgrade to netherite.

Does rarity change anything besides looks?

No. Rarity only controls the color of the item's name text — epic shows light purple, rare shows aqua. Damage, durability, and enchantability are untouched.