Skip to content
[/craft]
Enchant Item with Mending

Enchant Item with Mending

Repair a tool or armor automatically using XP

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Applies 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 1
21 characters

How to use

  1. Hold the tool or armor piece you want to enchant.
  2. Open chat (T on Java, / on Bedrock) and paste the command.
  3. Press Enter — collect XP orbs and watch the item repair itself.
  4. Combine with Unbreaking III for a tool that never breaks.

Related commands