Give Enchanted Book: Mending
Get an enchanted book with Mending
✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026Uses data-component syntax to create a Mending enchanted book instantly. Mending is a treasure-only enchantment normally; this bypasses fishing and trading. Apply the book to any damaged tool at an anvil to make it self-repair with collected XP.
/give @p enchanted_book[stored_enchantments={mending:1}]- Java: yes
- Bedrock: no
- Command block: yes
- Needs cheats / OP: yes
How to use
- Java: open chat (T) and paste the command.
- Press Enter to receive the enchanted book.
- Combine the book with your tool at an anvil to apply the enchantment.
- Any XP orbs you collect will now repair the tool instead of increasing your level.
Related commands
Give Diamond Sword Sharpness 5
Get a diamond sword pre-enchanted with Sharpness V
Give Netherite Sword Sharpness 5
Get a netherite sword pre-enchanted with Sharpness V
Give Netherite Pickaxe Fortune 3
Get a netherite pickaxe pre-enchanted with Fortune III
Give Netherite Pickaxe Silk Touch
Get a netherite pickaxe with Silk Touch
Give Trident with Loyalty III
Get a trident that returns to you after being thrown
Give Bow with Power V and Infinity
Get a fully enchanted bow that never runs out of arrows