MineToolsminetools.cn · Minecraft Java Tools

Golden Spear command

minecraft:golden_spearEnglish name Golden Spear

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

Common Commands

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

Basic Information

Item ID
minecraft:golden_spear
Max Stack Size
1
Durability
32
Attack Damage
1
Attack Speed
1.05
Enchantability
22
Type
Item

Enchantments for Golden 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.