Librarian Villagers will sometimes offer Enchanted Book's with an emerald cost higher than 64, which is impossible to trade for.
Example: Bane of Arthropods V for 66 Emeralds. (Uploaded zip, coords 7147, 38, -4835)
Linked issues
is duplicated by 7
Attachments
Comments 16
Added the file. Note that I deleted all the unrelated chunks to reduce file size, coords of the villager are x: 7147, y: 38, z: -4835
Here's a screenshot of the trading gui.
adding link cause I couldn't get the attact screenshot to work.
https://dl.dropbox.com/u/18835236/Games/Minecraft/issues/javaw%202012-12-28%2023-46-51-76.png
off-topic.. that's a nice way of transporting items, the water/ice pathway
Yes, the villager / world in question is from a bukkit server with some plugins, but none of which affect the villager trading calculations. As I'd rather not spend another 10+ hours of trying to get lucky, especially since someone has already dug into the code on how the trade costs are calculated. ( http://www.minecraftwiki.net/wiki/Talk:Trading#Enchanted_Books )
Edit: Though if someone else wants to get another occurrence of this, be my guest.
This could be resolved if Block of Emerald counted as 9 Emerald for the purpose of trading and they left your change in the GUI.
Why not just cap the maximum number of emeralds needed for level V enchanted books to 64.
That would be a very very simple fix!
Why not allow villagers to have a trade quota, you can give them a "Pay" button so the number of emeralds will go down with each pay. That way you can pay in multiple stacks if one of the slots must be occupied as well. It will only get the required items using Pay buttons. This idea resolves most of the trading problems.
Can you attach a world with one of these trades?