All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Librarian's Balance

Librarian's Balance

by misterk7_- • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Introducing: Librarian's Balance

Librarian's Balance is a datapack / mod that improves the progression of obtaining enchantments through villagers.

This datapack allows you to buy copies of any enchantment book you own through a librarian.

Villagers provide books of Level 3 and below, which can only upgraded using anvil upgrades and book copying.

Mending becomes a treasure enchantment exclusive to End and Ancient Cities, requiring exploration before you can unlock them upon a lectern as a librarian trade.

A breakdown of this datapack in more detail is below...

Featuring...

  1. Customisable Trades: Place an Enchanted Book on a Librarian's Lectern, and their first or second book trade will change to the one you entered. This gives new purpose to the books you collect in the world. Some books are treasure enchantments and these will produce untradable (sealed) variants when bought from a Librarian in this way.

  2. Limited Random Trades: Librarian enchanted book trades are only random up to Level 3 by default. To obtain a Level 4 or 5 trade, you need at least one book of the enchantment type of your choice. Then buy another using the custom trade mechanic (1), combine them in an anvil to increment its level, and repeat.

  3. Rare Mending: Librarians do not trade for Mending so players will have to find it in the world first. Once obtained, you can put it on a Librarain's Lectern to trade for more. It can be found in End Cities or Ancient Cities about as often as an armour trim.

Everything listed here can be toggled or configured with the /function libal:config command (must be run with OP). It also changes loot tables, so if you don't want that delete the 'loot_table' folder inside the pack. This datapack works great to enhance the Villager Rebalance experimental feature from Mojang! (not required, but personally recommended!)

Uses

On Survival Multiplayer servers you may find enchantment progression too quick by some members of the server. Librarian's Balance provides a balanced progression system by use of experience points, emeralds, and requiring a proper level of exploration.

Notes:

You might see the UI show a mending or >3 enchantment sometimes, but it's just a visual hitch and you should ignore it. On a new world, it took two hours to get my first Mending book (anicent city). This was also my first datapack!

If you are having issues try running /function libal:load to refresh the datapack. Make sure you didn't unzip it into your folder.

It is compatible with Amendments and Supplementaries! FOR 1.21 - 1.21.1 ONLY: The Tome Reader mod is fully supported, adding better placement and enchantment transfer mechanics.

I built this datapack upon parts of gibbsly's Lectern Enchanting. I want to thank him for providing a starting point for this project, and for some of his tutorials on YouTube. Otherwise I would have had no idea on where to start making something like this :).

Feedback:

Please give feedback on the GitHub page, PlanetMinecraft or on my Discord server! I'm interested in hearing your ideas, opinions or suggestions from your time with this datapack. What do you think about the sealed books system? Do you think that the book pricing is appropriate?

Configuration

Run:

/function libal:config

Alternatively, edit settings.mcfunction in the folder data > libal > functions (datapack only).

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
24w46a 24w45a 24w44a +9
Fabric Forge Neoforge Quilt
21h ago 1
1.21.5
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
24w46a 24w45a 24w44a +9
Datapack
21h ago 1
1.21.5
Datapack
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.11
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.11
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.11
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.11
Datapack
21h ago 1
26.1.x
Fabric Forge Neoforge Quilt
21h ago 1
26.1.x
Datapack
21h ago 1
26.2
Fabric Forge Neoforge Quilt
21h ago 1
26.2
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
26.1.x
Fabric Forge Neoforge Quilt
21h ago 1
26.1.x
Datapack
21h ago 1
26.3
Fabric Forge Neoforge Quilt
21h ago 1
26.3
Datapack
21h ago 1
26.3
Fabric Forge Neoforge Quilt
21h ago 1
26.3
Datapack
21h ago 1
26.2
Fabric Forge Neoforge Quilt
21h ago 1
26.2
Datapack
21h ago 1
26.2
Fabric Forge Neoforge Quilt
21h ago 1
26.2
Datapack
21h ago 1
26.2
Fabric Forge Neoforge Quilt
21h ago 1
26.2
Datapack
21h ago 1
26.1.x 1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
26.1.x 1.21.x
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.5
Fabric Forge Neoforge Quilt
21h ago 1
1.21.5
Datapack
21h ago 1
1.21.5
Fabric Forge Neoforge Quilt
21h ago 1
1.21.5
Datapack
21h ago 1
1.21.5
Fabric Forge Neoforge Quilt
21h ago 1
1.21.5
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.20.1
Fabric Forge Neoforge Quilt
21h ago 1
1.20.1
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.20.x
Fabric Forge Neoforge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Neoforge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.21.x
Fabric Forge Neoforge Quilt
21h ago 1
1.21.x
Datapack
21h ago 1
1.21
Fabric Forge Quilt
21h ago 1
1.21
Datapack
21h ago 1
1.21
Fabric Forge Quilt
21h ago 1
1.21
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.20.x
Fabric Forge Quilt
21h ago 1
1.20.x
Datapack
21h ago 1
1.19.x 1.18.x 1.17.x
Fabric Forge Quilt
21h ago 1
1.19.x 1.18.x 1.17.x
Datapack
21h ago 1
1.19.x 1.18.x 1.17.x
Fabric Forge Quilt
21h ago 1
1.19.x 1.18.x 1.17.x
Fabric Forge Quilt
21h ago 1
1.19.x 1.18.x 1.17.x
Datapack
21h ago 1
1.19.x 1.18.x 1.17.x
Fabric Forge Quilt
21h ago 1
1.19.x 1.18.x 1.17.x
Datapack
21h ago 1
  • Added dialog-based config menu through backporting
  • Added dialog-based config menu through backporting
  • Update pack.mcmeta
  • Added dialog-based config menu through backporting
  • Added dialog-based config menu through backporting
  • Update pack.mcmeta
  • Updated pack.mcmeta and versioning isolation
  • Updated pack.mcmeta
  • Updated pack.mcmeta and versioning isolation
  • Updated pack.mcmeta
  • Updated Loot Tables
  • Updated Loot Tables
  • Updated Loot Tables
  • Updated Loot Tables
  • Updated Loot Tables
  • Updated Loot Tables
  • Updated Loot Tables
  • Updated Loot Tables
  • Fixed issue with loot tables for 26.3 (hotfix)
  • Fixed issue with loot tables for 26.3 (hotfix)
![thumbnail](https://cdn.modrinth.com/data/cached_images/f5dcbfe9de7699fe666176cdf3a0836d7de60d32.webp)

  • Restored functionality for the last two slots in custom enchant config
  • Added broader compatibility for modded enchantments when filtering
  • (26.3) Fixed bug of enchantments not instantly updating in the UI (Mojang)

I'm marking this release as 4.0 because I'm going to start backporting this data pack down to at least 1.21.6. I'm very happy with it now! The stretch goal is to 1.21.1 .
![thumbnail](https://cdn.modrinth.com/data/cached_images/f5dcbfe9de7699fe666176cdf3a0836d7de60d32.webp)

  • Restored functionality for the last two slots in custom enchant config
  • Added broader compatibility for modded enchantments when filtering
  • (26.3) Fixed bug of enchantments not instantly updating in the UI (Mojang)

I'm marking this release as 4.0 because I'm going to start backporting this data pack down to at least 1.21.6. I'm very happy with it now! The stretch goal is to 1.21.1 .
  • Restored functionality for the last two slots in custom enchant config
  • Added broader compatibility for modded enchantments when filtering
  • Restored functionality for the last two slots in custom enchant config
  • Added broader compatibility for modded enchantments when filtering
![Replace this with a description](https://cdn.modrinth.com/data/cached_images/deee759c424a9b718d0fc230347e4c8b7ffc07fa.png)

  • A new dialog config menu! (SPECIAL THANKS: @RacoonJohn !!)
  • User configuration is now a lot easier as there is now a GUI for it.
  • Two more slots are available for custom 'blacklisted' and 'delisted' books.
  • You can now define your own 'sealed' books.
  • Mending now becomes a 'Sealed 'enchantment when traded again
  • You can still find them in **Ancient Cities** and are basically guaranteed when you go to the **End**.
  • This is something I've gone back and forth with a lot. But ultimately, now with enhanced user controls, I can now provide you with the experience I think is optimal for multiplayer.

I am very happy with the state of the pack. Soon, I would like to backport it to earlier versions, right down to 1.21.1 where many mods are still at.
![Replace this with a description](https://cdn.modrinth.com/data/cached_images/deee759c424a9b718d0fc230347e4c8b7ffc07fa.png)

  • A new dialog config menu! (SPECIAL THANKS: @RacoonJohn !!)
  • User configuration is now a lot easier as there is now a GUI for it.
  • Two more slots are available for custom 'blacklisted' and 'delisted' books.
  • You can now define your own 'sealed' books.
  • Mending now becomes a 'Sealed 'enchantment when traded again
  • You can still find them in **Ancient Cities** and are basically guaranteed when you go to the **End**.
  • This is something I've gone back and forth with a lot. But ultimately, now with enhanced user controls, I can now provide you with the experience I think is optimal for multiplayer.

I am very happy with the state of the pack. Soon, I would like to backport it to earlier versions, right down to 1.21.1 where many mods are still at.
![Preview](https://cdn.modrinth.com/data/cached_images/26c23cc799af3a44048b8fe8d461812cfa4c47ab_0.webp)

  • Librarian's Balance now uses the Experimental feature for custom enchantments.
  • This fixes a critical bug with the persistence of the 'sealed' tag when combining books in an anvil. [#25](https://github.com/mistrk7/librarians-balance/issues/25)
  • This, however, means that you'll get the Experimental setting warning when launching your world.
  • Tweaked wording for the verbose tip for how to locate Mending
![Preview](https://cdn.modrinth.com/data/cached_images/26c23cc799af3a44048b8fe8d461812cfa4c47ab_0.webp)

  • Librarian's Balance now uses the Experimental feature for custom enchantments.
  • This fixes a critical bug with the persistence of the 'sealed' tag when combining books in an anvil. [#25](https://github.com/mistrk7/librarians-balance/issues/25)
  • This, however, means that you'll get the Experimental setting warning when launching your world.
  • Tweaked wording for the verbose tip for how to locate Mending
![Replace this with a description](https://cdn.modrinth.com/data/cached_images/aaace99062d045b978515657c29a56f07deb9122.png)

Added features that should help guide new players. This helps with accessibility on large servers. Toggleable.
  • Verbose Mode:** When a Mending trade gets filtered out, send a message to guide the player into an End or Ancient City instead. Enabled by default and can be disabled in the settings. Useful for when the pack is enabled on a large server.
  • When a villager has no initial book trade to swap a new one into, send a subtitle explaining why they can't accept the trade in addition to showing the angry particles.
![Replace this with a description](https://cdn.modrinth.com/data/cached_images/aaace99062d045b978515657c29a56f07deb9122.png)

Added features that should help guide new players. This helps with accessibility on large servers. Toggleable.
  • Verbose Mode:** When a Mending trade gets filtered out, send a message to guide the player into an End or Ancient City instead. Enabled by default and can be disabled in the settings. Useful for when the pack is enabled on a large server.
  • When a villager has no initial book trade to swap a new one into, send a subtitle explaining why they can't accept the trade in addition to showing the angry particles.
Librarian's Balance Icon
Download Librarian's Balance
Select game version
Select platform