
Right click with a book to set a villager as a librarian.

Right click with wheat to set a villager as a farmer.

When a chest is encountered, the workers/villagers put their products in it, or gather tools (and seeds) from it.
For books, a workbench is also required (librarians can't just 'summon' books from sugar cane).
A single house, three farmer, three librarian, some tools. (Texture pack is Sphax PureBDCraft)

