Tools / Librarian predictor

Librarian reroll predictor

Since Java 26.1, novice librarian trades come from one fixed list per world, decided by the seed. Tell us the trades you've seen and we'll find your place in that list and count the rerolls to the book you want. Works on Java Edition 26.1 to 26.3 with normal trades (Trade Rebalance off). Your seed stays in your browser.

Rolls you've seen, oldest first

One roll is the two trades a librarian shows after you place its lectern. Enter the latest rolls in a row, with no rolls skipped. Two or three usually pin it down.

  1. Roll 1
    ?
    ?

Enter your world seed to start.

How to get Mending from a librarian

A villager that has just become a librarian and hasn't traded yet can be rerolled: break its lectern and place it again, and it picks new trades. This tool works out how many rerolls you need.

Step by step

  1. Enter your world seed.
  2. Enter the first book trades you see, so the tool can find where you are in the sequence.
  3. Pick the book you want and reroll the lectern the number of times it says.

Tips

  • Don't trade with the librarian until it offers the book you want, or its trades are locked for good.
  • Lock the villager in with a trapdoor or blocks so it can't wander off between rerolls.

Related: Anvil calculator · Armor trim previewer