The Enchant Library
To the right of the spawn bank is the Enchant Library. You can trade levels for different rarity enchantments and can do some other quality of life changes with other spare enchantment books that you might find adventuring in resource worlds.
The Enchanter
The main librarian or the enchanter running the front desk offers hundreds of different custom enchantment books for levels. By right-clicking the enchanter, you can trade your spare XP levels for different rarity enchantment books.
The Tinkerer
To the left of the Enchanter is the Tinkerer. If you have extra enchantment books you don't want or plan to use, you can right-click the tinkerer and trade them for items that can enhance other enchantment books.
The Alchemist
To the right of the Enchanter is the Alchemist. If you have two matching type enchantment books of the same level or two magic dust of the same rarity, you can right-click the alchemist to combine them to upgrade them to a higher rarity.