How to use /data modify for villagers on 1.21.11 java
I'm in singleplayer 1.21.11 java and i want to use commands to make a villager give an efficiency 5 book (I've been rerolling for about half an hour and i haven't gotten one) but anytime I find a /data modify command that says it will do just that, it instead gives me an "enchanted book" that has no properties and cannot be applied to something on an anvil. How can I make it give me the book that I want? It lets me put in and execute the command, and I'm not great with commands but it clearly looks like it should be giving me the right book, thought it doesn't.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
[https://www.reddit.com/r/Minecraft/comments/hlpxgc/can\_i\_use\_the\_data\_command\_to\_change\_an\_existing/](https://www.reddit.com/r/Minecraft/comments/hlpxgc/can_i_use_the_data_command_to_change_an_existing/)