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}]56 characters
- 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
Get a diamond sword pre-enchanted with Sharpness V
/give @p diamond_sword[enchantments={sharpness:5}]Get a netherite sword pre-enchanted with Sharpness V
/give @p netherite_sword[enchantments={sharpness:5}]Get a netherite pickaxe pre-enchanted with Fortune III
/give @p netherite_pickaxe[enchantments={fortune:3}]Get a netherite pickaxe with Silk Touch
/give @p netherite_pickaxe[enchantments={silk_touch:1}]Get a trident that returns to you after being thrown
/give @p trident[enchantments={loyalty:3}]Get a fully enchanted bow that never runs out of arrows
/give @p bow[enchantments={power:5,infinity:1,unbreaking:3}]