THIS DATAPACK ONLY WORKS IN 26.1+ Due to the upcoming 'Data Driven Villager Trades'.

WHAT THIS DATAPACK DOES:

  • Master level Librarians can be taught max level Enchantments.
  • Multi-Enchanted books can be separated into individual Enchanted Books
  • Librarians no longer sell Enchanted Books

What these 3 things actually do:

  • GIVES PLAYERS A 'PLAYER ACTION DRIVEN' WAY TO MAKE ENCHANTMENTS RENEWABLE!!!
    • REMOVES the current hours/days personal experience\) of place-Lectern/check-trade/break-Lectern to obtain MOST of the Enchantment trades.
    • GIVES an actual rewarding/encouraging motive for players to go out adventuring instead of breaking a lectern**, literal*, thousands of times.** (Since it only takes 1 to become renewable)
  • REMOVES the infinite exploration for 'Structure Specific Enchantments' (Swift Sneak, Soul Speed, and Wind Burst)
    • REMOVES the need to endlessly find/loot Vaults/Ancient Cities/Bastion Remnants for Wind Burst/Swift Sneak/Soul Speed to replace their loss/destruction or provide for an entire Server.
    • REMOVES the need for Solos' and Server Owner's worlds to balloon in file size or require repeated chunk pruning
  • ENABLES Players/Server Owners to choose HOW MANY Librarians it will take to sell all their desired enchantments (Instead of the current average of 37)
    • REMOVES the need for 30+ resource-heavy/lag-inducing-villagers at every "Enchantment Trade Hall" in every world or server.
    • Removes the flood of "Hurmmm. Humm. Hur?" But…this can be done with audio sliders after all.
  • ENABLES Players/Server Owners to better organize where each Enchantment is sold from. (No more "This Librarian sells Protection IV for 32, and Looting 3 for 18, while the one next to them sells Protection IV for 30, and Fire Aspect II.")

How to use the datapack:

  • Bring any Max level enchantment to a Master level Librarian, and right click on them. Tada – they've learned that enchantment, and will now sell it.
    • Caution: Only 1 max level enchantment can be learned per book – even if it has 2 only 1 will be learned, the other is discarded.
  • To separate single enchantments from a multi-enchanted book, put the multi-enchanted book in the offhand, some books in the main hand, and right click a grind stone.
    • If the offhand enchanted book has only 1 enchantment, you'll see an error saying so
    • If the main hand doesn't have enough books to separate all enchantments (1 less than the total enchantments on the multi-enchanted book), you'll see an error saying so

\Seriously! I've been wanting the ability for players to chose who sells what enchantment since 2011) Testificates – 2011, Beta 1.9 Prerelease- came 1st. Enchanting Table -2011, Beta 1.9 Prerelease 3- 2nd. Enchantments -2011, Beta 1.9 Prerelease 4- 3rd. Trades were actually added in 2012 12w21a. Since then, every single player world and multiplayer server I've played/hosted on, I was the human 'Librarian'. Spending literal weeks to grind out every possible max level enchantment from villagers. In the old days, 1.13 and before, this required a literal week, 24 hours a day of a villager breeder running, coming back from work, and 'removing' all 'non-desirable occupations' and then seeing if the desired Enchantments would be traded. On average this cost several hundred villager deaths. Currently? It takes me, on average, over 2,000 lectern place/breaks to RNG my way to getting all tradable enchantments. Not…fun…or…rewarding.

I can't express, how EXCITED I am to finally start a survival world with this system in place, where, for the first time since more than a decade ago, I will have a STRONG reason to explore for enchantments. Instead of the over 15 years of playing that has been "My first week of survival is….grinding out enchantments." Will it be faster? Probably not. Will it be more exciting? Enjoyable? Positively MEMORABLE?! Yes!

I also, can not express my thanks and appreciation for those whom have helped me make this a reality (several years worth of pestering datapack wizards)!

I want to acknowledge (in text) the two largest sources of inspiration, information, and encouragement: u/infernaldevice and u/galsergey .

InfernalDevice – mates, they have HUNDREDS of actual video tutorials on datapacks, coding in real time, BUG FIXING IN REAL TIME that has crucial to making this datapack work. Their videos aren't just 'show and tell', -uhh…like…this..post is. I did comment the heck out of every line! I write to re-teach myself in the future, so it should help out a LOT. If you haven't seen their years worth of content, check them out. You will learn something new, or at least think up some new ideas along the way. THIS DATAPACK WOULD NOT HAVE BEEN POSSIBLE WITHOUT THEIR EXTENSIVE HELP. THANK YOU MATE!!!

GalSergey – another active juggernaut in the 'datapack' realm. This legend has tens-of-hundreds of accurate and informative explanations and solutions to all manners of problems and request. If you've written on r/MinecraftCommands chances are, they've helped you. THIS DATAPACK WOULD NOT HAVE BEEN POSSIBLE WITHOUT THEIR EXTENSIVE HELP. THANK YOU MATE!!!

Cloud Wolf's Community – Another great set of exchanges there to ask, learn, and bounce ideas off of them. Wolf's videos are also highly helpful in learning/understanding!

r/MinecraftCommands / datapack.wiki / minecraft.wiki It goes without saying. The wealth of knowledge there is immeasurable.

Misode's Tools – Another flippin' legend. Their tools have been of great help in, not only creating, but in understanding how when it comes to writing up files for datapacks.

MCStacker – I actually had to use this for the 1.13 portion of the video! It's been around as long as that! And still, through today, it's another invaluable source to understanding how things work in Minecraft.

Plotz – While not used in this datapack…I'm just flabbergasted that that website, from the same time as the idea for this datapack was created, is still going. I use it frequently in all my 'non-rectangle builds'. To Kevin Reynolds, thank you for enabling me to see 'circles' in a game made of cubes.

THAT'S IT! Got Questions? Comments? Share them below!

Thank you for taking the time to read the post or watch the video, or both! I hope it was entertaining, if not interesting. Keep being you, and thank you MOJANG for enabling non-programmers to achieve digital dreams!



by Testificate_2011

1 Comment

  1. Testificate_2011 on

    A few things I also plan to share:

    1. This actual datapack. I’ll share it (here..?) once 26.1 officially releases, because things might change before then (hopefully) that may break things (not hopefully).
    2. I also plan on sharing my other changes to villagers via datapacks. A: Librarians just…sell every enchantment from the start. B: Librarians sell all 16+1 types of Candles. C: *Every Default Villager Trade* is reworked – no more random trades offered, all are visible (all 16 colours of wool/bed/banner/carpet/teracotta/glazed teracotta, etc) Standardized cost based on materials, removal of random enchanted gear, etc. etc.

    That’s it. No other plans for ‘public releases’ or statements. Just want to share a bit of the way I play with others, in a way they’ll be able to enjoy it themself. I really…really don’t enjoy the bloat that are ‘villager trading’ halls. Thankfully, there’s been a stubborn few (not as stubborn as the combat change updaters) who have enabled the reversion of the ‘limited villager trades’, which has helped. But this newest datapack, (the no-random-trades-offered, is massive. The only problem is that, currently, trades offered by defualt can’t be set to a specific order. It’s random sequence or …random sequence (unless I’m reading it wrong, if you know how to, let me know!)

    Again, any questions or comments feel free to share. I’ll try and respond to all, that are more than low effort “That’s OP/TL:DR/YoU cOuLd AlWaYs Do ThIs” comments.

    Thanks and take care!