When summoning (or other ways to create custom villagers) with the second slot of the offer, then only the first slot item is there and the second one is gone.
The command:
/summon Villager ~ ~ ~ {Profession:5,Offers:{Recipes:[{maxUses:1000,buy:{id:265,Count:3},buyB:{id:2,Count:2},sell:{id:264}}]}}
Linked issues
Attachments
Comments 2
I can confirm this for 13w39b as well. Priest villagers will spawn in with a working buyB slot (enchantment trades), but if you unload/reload the world, that second slot goes away. Makes it so you can buy an enchanted item with just the base item, basically enchanting it for free =P
edit: I've also taken a look at the world files and buyB is saved in there, just not actively working in the game.
Please attach the complete command to this ticket (enclosed by
{code}
tags)