90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

In this release I have improved performance, made accesibility changes, and backported the latest version down to 1.20! 😲 Your settings will get reset in this version. You'll need to set them back. There should be a message that lets you know about it.

Additions

  • New settings option for 'unlisted' books.
    • You can now pick up to four enchantments librarian's won't trade for, just like mending.
  • Backports for version v3.4 of Librarian's Balance down to version 1.20!
    • 1.20.4 works on 1.20.3 and 1.20.2 as well.
    • 1.20.1 works on 1.20 likewise.

Changes

  • Improved performance when placing down an enchantment on a lectern.

In this release I have improved performance, made accesibility changes, and backported the latest version down to 1.20! 😲 Your settings will get reset in this version. You'll need to set them back. There should be a message that lets you know about it.

Additions

  • Backports for version v3.4 of Librarian's Balance down to version 1.20!
    • 1.20.4 works on 1.20.3 and 1.20.2 as well.
    • 1.20.1 works on 1.20 likewise.

New settings option for 'unlisted' books. You can now pick up to four enchantments librarian's won't trade for, just like mending.

1.20.1 is considered 'legacy' and so will have special configuration options missed out.

Changes

  • Improved performance when placing down an enchantment on a lectern.

A small release with some fixes

  • Fixed 'too complex' book invalidation. Occurs when a price can't be named for the book being placed.
  • Fixed blacklisted books with the Tome Reader mod

RUN THIS BEFORE UPDATE>>>> /execute as @e[type=villager,tag=trader] run function libal:villager/librarian_remove

^^ Make sure to do this if you're updating from 1.20.4 or lower

  • Compatibility with the Tome Reader mod

Tome Reader is a mod that lets you place enchanted books on lecterns better than Librarian's Balance. It also allows you to transfer an enchantment off a book using the lectern. But they conflicted and didn't work together.

Now you can use the Tome Reader mod with Librarian's Balance (which is really a datapack) and get the best of both worlds. Kinda crazy huh?

Thanks Ynaught and RamGemes for reporting this and working together to get it implemented.

RUN THIS BEFORE UPDATE>>>> /execute as @e[type=villager,tag=trader] run function libal:villager/librarian_remove

^^ Make sure to do this if you're updating from 1.20.4 or lower

  • Updated to 1.21
  • Better compatibility with large mod packs

RUN THIS BEFORE UPDATE>>>> /execute as @e[type=villager,tag=trader] run function libal:villager/librarian_remove

^^ Make sure to do this if you're updating from 1.20.4.

Includes a fix for an oversight in version 3.0 (unbalanced discounts). What's new? Librarian travelling, Unlimited book enchantments, and a scalable pricing system. Read v3.0 changelog

RUN THIS BEFORE UPDATE>>>> /execute as @e[type=villager,tag=trader] run function libal:villager/librarian_remove

An update featuring Librarian travelling, Unlimited book enchantments(!), and a scaleable pricing system. Custom enchantments in modded should work again. This is the last major update to Librarian's Balance for now. I've been getting pretty carried away lol.

Additions

  • Librarian's travel back to their Lectern when a book is placed onto it

    • Adds immersion and makes it easier to trade with them in an open village.
  • Unlimited book enchantments

    • Now Librarian's can learn the full range of enchantments on your book at once!
    • Previously only one enchantment was allowed on a librarian's book. But there's a catch.
    • A Librarian's enchanted book cost is calculated based on how powerful your book is.
  • How an Enchanted Books' Emerald price is calculated

    • It takes two parameters from your book; the best enchantment & the number of enchantments
    • Price of enchantment = price(best enchantment) * number of enchantments
    • The 'best enchantment' is usually the highest level correlating price (Lvl1 = 7, Lvl2 = 14, Lvl3 = 21, Lvl4 = 36, Lvl5 = 48),
    • or else its a special enchantment that overrides this (ex. mending = 52, silk_touch = 48, flame = 36, soul_speed = 24, & more.)
    • there's a python script for this on github.
  • 'wind_burst' has been added to the 'sealed books' list

    • The sealed books list is now: [ wind burst, soul speed, swift sneak, frost walker, curse of binding & vanishing ]
    • Fun fact: you can now make any book sealed by combing a sealed enchantment to any other book!

Changes

  • 'Sealed books' is now enabled by default (you will have to re-enable it manually)
  • /reload no longer resets all your settings
  • /function libal:options has been renamed to /function libal:config
  • Improved compatibility with trade rebalance datapack.
  • Particles, sound and visual reinforcement
  • Swamp villagers are exempt from the mending removal
    • Another option to gain mending similar to the rebalance experimental feature.

RUN THIS BEFORE UPDATE>>>> /execute as @e[type=villager,tag=trader] run function libal:villager/librarian_remove

An update featuring Librarian travelling, Unlimited book enchantments(!), and a scaleable pricing system. Custom enchantments in modded should work again. This is the last major update to Librarian's Balance for now. I've been getting pretty carried away lol.

Additions

  • Librarian's travel back to their Lectern when a book is placed onto it

    • Adds immersion and makes it easier to trade with them in an open village.
  • Unlimited book enchantments

    • Now Librarian's can learn the full range of enchantments on your book at once!
    • Previously only one enchantment was allowed on a librarian's book. But there's a catch.
    • A Librarian's enchanted book cost is calculated based on how powerful your book is.
  • How an Enchanted Books' Emerald price is calculated

    • It takes two parameters from your book; the best enchantment & the number of enchantments
    • Price of book = price(best enchantment) * number of enchantments
    • The 'best enchantment' is usually the highest level correlating price (Lvl1 = 7, Lvl2 = 14, Lvl3 = 21, Lvl4 = 36, Lvl5 = 48),
    • or else its a special enchantment that overrides this (ex. mending = 52, silk_touch = 48, flame = 36, soul_speed = 24, & more.)
    • there's a python script for this on github.
  • 'wind_burst' has been added to the 'sealed books' list

    • The sealed books list is now: [ wind burst, soul speed, swift sneak, frost walker, curse of binding & vanishing ]
    • Fun fact: you can now make any book sealed by combing a sealed enchantment to any other book!

Changes

  • 'Sealed books' is now enabled by default (you will have to re-enable it manually)
  • /reload no longer resets all your settings
  • /function libal:options has been renamed to /function libal:config
  • Improved compatibility with trade rebalance datapack.
  • Particles, sound and visual reinforcement
  • Swamp villagers are exempt from the mending removal
    • Another option to gain mending similar to the rebalance experimental feature.

RUN THIS BEFORE UPDATE>>>> /execute as @e[type=villager,tag=trader] run function libal:villager/librarian_remove

Updated to 1.20.5! This update took a ton of effort since Mojang replaced the NBT system with components. Run the command before updating or else your librarians will lose their default enchantments! For modded, please note that custom enchantments will not work with villagers for the time being. Vanilla shouldn't notice much change. Read for more details:

Additions

  • More enchantments get valued expensively
    • Channeling, Aqua Affinity, and Silk Touch at 48 Emeralds
    • Flame, Infinity, and Multishot at 38 Emeralds

Changes

  • Configuration menu has been simplified
    • It was so complex that it kicked you out the game for interacting with it
  • Emerald pricing has been tweaked
    • Lvl 4 Enchants will cost 38 emeralds, guranteed.
    • Lvl 5 Enchants will cost 48 emeralds, down from 64/58.
  • Removed 'Mending' from Sealed books list.
    • After testing, I think it should be up to the player to decide if they want to share it or not.
    • Soul speed and swift sneak will remain sealed; one is gained from piglins and the latter is a reward.
  • Books with more than one enchantment
    • Before it would select the enchant at the top of the list.
    • Now, it will choose it by order of importance. This is because of the component changes.

Removed

  • Support for non-vanilla enchantments
    • Due to the component changes and the way I add enchantments to the villager trade, I can't filter non-vanilla enchantments. I already have an idea for how I will fix this though, so follow to get notified for version 3.0 which will be the next update to this pack.
  • Infected librarians keep their custom book trade. (fix)
  • Max_level_enchant option because of component changes & simplicity

HOTFIX: Fixed an issue where the config menu didn't toggle options on or off, and the options command executes at the executor now.


Project members

misterk7_-

Owner

Details

Licensed MIT
Published 2 years ago
Updated 13 days ago