Diamond Sword command
minecraft:diamond_swordEnglish name Diamond Sword
Diamond Sword (minecraft:diamond_sword) can't be stacked; only 1 can go in a slot.Durability: 1561.Attack Damage: 7.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.
Common Commands
Give the nearest player 1 Diamond Sword
/give @p minecraft:diamond_sword
Give all players
/give @a minecraft:diamond_sword
Gold Name
/give @p diamond_sword[custom_name={translate:"item.minecraft.diamond_sword",color:"gold",italic:false}]To use a name of your own, replace the translate part with plain text
With Enchantments (Max Level)
/give @p diamond_sword[enchantments={sharpness:5,unbreaking:3,mending:1}]Indestructible (doesn't lose durability)
/give @p diamond_sword[unbreakable={}]Clear all Diamond Sword from the player
/clear @p minecraft:diamond_sword
Check if holding Diamond Sword
/execute as @a if items entity @s weapon.mainhand minecraft:diamond_sword run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.diamond_sword"}]Basic Information
- Item ID
- minecraft:diamond_sword
- Max Stack Size
- 1
- Durability
- 1561
- Attack Damage
- 7
- Attack Speed
- 1.6
- Enchantability
- 10
- Type
- Item
Enchantments for Diamond Sword
Similar Items
Items Made of the Same Material
Data from the official Minecraft Java 26.3 data. All commands have passed the 26.3 syntax check.