MineToolsminetools.cn · Minecraft Java Tools

Wooden Sword command

minecraft:wooden_swordEnglish name Wooden Sword

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

Common Commands

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

Basic Information

Item ID
minecraft:wooden_sword
Max Stack Size
1
Durability
59
Attack Damage
4
Attack Speed
1.6
Enchantability
15
Type
Item

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