0

I've been trying to /enchant a book, but it's not working. Is there any way to do this in v1.14 +?

My command is

/enchant @p mending

and it is hooked up to a comparator to tell me when it works.

Whenever I run the command, it says "book can not support this enchantment".
I've searched the internet for similar results but cannot find anything related.

1

/enchant does not work on the stored enchantments of books. You can only use an enchanting table or anvil or set it directly in NBT like this:

/give @s enchanted_book{StoredEnchantments:[{id:"mending",lvl:1}]}
3
  • great! i think it works on bedrock though. thanks for the awnser! – Miketendo08 Jan 19 '20 at 16:12
  • No, it doesn't. MCBE has no NBT in commands. – Fabian Röling Jan 20 '20 at 7:36
  • 1
    i meant /enchant @p mending will apply it to a book. – Miketendo08 Mar 31 '20 at 13:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.