MineToolsminetools.cn · Minecraft Java Tools

Diamond Spear command

minecraft:diamond_spearEnglish name Diamond Spear

Diamond Spear (minecraft:diamond_spear) can't be stacked; only 1 can go in a slot.Durability: 1561.Attack Damage: 4.Here are common commands for giving, clearing, and checking. Click "Copy" to use one.

Common Commands

Give the nearest player 1 Diamond Spear
/give @p minecraft:diamond_spear
Give all players
/give @a minecraft:diamond_spear
Gold Name
/give @p diamond_spear[custom_name={translate:"item.minecraft.diamond_spear",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_spear[enchantments={sharpness:5,lunge:3,unbreaking:3}]
Indestructible (doesn't lose durability)
/give @p diamond_spear[unbreakable={}]
Clear all Diamond Spear from the player
/clear @p minecraft:diamond_spear
Check if holding Diamond Spear
/execute as @a if items entity @s weapon.mainhand minecraft:diamond_spear run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.diamond_spear"}]
Edit in the Item Generator (name, enchantments, attributes, ...)

Basic Information

Item ID
minecraft:diamond_spear
Max Stack Size
1
Durability
1561
Attack Damage
4
Attack Speed
0.95
Enchantability
10
Type
Item

Enchantments for Diamond Spear

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.