Enchant Item with Mending
Repair a tool or armor automatically using XP
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Applies Mending (level 1, capped there) to the item you're holding. XP orbs you collect will repair the item instead of going toward your level — every 2 points of XP restores 1 durability. Normally only obtainable through fishing or treasure loot; this command gives it instantly.
/enchant @s mending 121 characters
- Java: yes
- Bedrock: yes
- Command block: no
- Needs cheats / OP: yes
How to use
- Hold the tool or armor piece you want to enchant.
- Open chat (T on Java, / on Bedrock) and paste the command.
- Press Enter — collect XP orbs and watch the item repair itself.
- Combine with Unbreaking III for a tool that never breaks.
Related commands
Add Sharpness V to the sword or axe you are holding
/enchant @s sharpness 5Add maximum Protection to the armor piece you are holding
/enchant @s protection 4Make your pickaxe, axe, or shovel mine much faster
/enchant @s efficiency 5Mine blocks and get the block itself instead of its drops
/enchant @s silk_touch 1Make any item last much longer before it breaks
/enchant @s unbreaking 3