System
The villager economy
The system that gates the books: the librarian is where the enchanted books are, and the trade setup is where you get the ones you want.
The villager economy is where the enchanting books come from. The librarian is the villager that trades the books, and the setup of the villager — which bed and which workstation it is bound to — is what decides which trade it runs. That is why a villager setup is planned as an economy: you build the place the villager is bound to, and you get the books the enchanting runs on.
What the villager setup is built around
- The librarian — the villager that trades the books
- The workstation it is bound to — what the trade is
- The emerald loop — the thing the trade runs on
What's not coveredThe current villager prices are the game's own — check in-game.