MineToolsminetools.cn · Minecraft Java Tools

Golden Sword command

minecraft:golden_swordEnglish name Golden Sword

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

Common Commands

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

Basic Information

Item ID
minecraft:golden_sword
Max Stack Size
1
Durability
32
Attack Damage
4
Attack Speed
1.6
Enchantability
22
Type
Item

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