Data Packs Tool

Lectern Enchanting

  • Advancements
  • Functions
  • Predicates
  • 7,987 views • 1 today
  • 371 downloads • 0 today
  • 25
  • 20
  • 3
gibbsly
Level 47 : Master System
25
This is a pack that allows you to place Enchanted Books into lecterns, with some additional utility.

Once you have a book in a lectern, you can add the enchantments from other enchanted books by right clicking a lectern with an enchanted book on it. (see below) This will combine enchantments up to level 10

Additionally if you right click a lectern with an enchanted book on it, with a normal book, you will pull the first enchantment off the book on the lectern. This costs 5 levels and one lapis, you just need to have the lapis in your inventory.

To remove an enchanted book from a lectern, just right click the lectern with anything but a normal or enchanted book.

Cost to combine books
The xp cost to combine books is the total level of all enchantments on the book times 1.5. So for example, if the book on the lectern has sharpness 2 and the book you are adding has sharpness 2 and unbreaking 1, the cost would be ([​sharpness 2+2]3)+([​unbreaking 1]1)=4*1.5=6 this will generally cost more than an anvil, but you can mix levels, so if you have sharpness 1 and 2 it won't override sharpness 1 with 2.



Epilepsy Warning
Due to a thing with interacting with lecterns without a "real" book in them, the screen might flash for a few frames when you interact with an enchanting lectern.
CompatibilityMinecraft 1.17
Tags

  Have something to say?

Felina_Lain
12/13/2021 11:50 am
Level 26 : Expert Explorer
history
I wanted to tweak the datapack to allow for duplicate enchanted books, but clicking with an empty book on an enchanted one with a single enchantement will just not work, dunno why... For everything else, this works a charm though, even on 1.18
Nevermind, found it, the lectern had a check for multiple enchantement, I had to tweak that. Now I can be a magic-monk copying books for the great library! XD
1
Turncoat
06/11/2021 2:13 am
Level 1 : New Miner
datapack not working in 1.17 release version. I think because 'replaceitem' command changed with 1.17 release.
1
Helpmeimnew
02/06/2021 2:19 am
Level 1 : New Miner
history
How do i craft the lectern? i put fortune 5 on my pickaxe but it stays fortune 3? how do i fix this
1

Welcome