mojira.dev
MC-29498

Villagers, exchanging 2 items for one, have their second required item in trade deleted after reloading the world.

Villagers, who exchanges two items for one (for example, librarian who gives you enchanted book for normal book + emeralds), wants only the first item, when you reload the world/load that villager from the previous version, making it possible to enchant items or transfer gravel into flint without paying. They will also generate that trade again, in unbroken state, that will broke as the original one upon reloading.

Linked issues

MC-30573 vilegers Resolved MC-30644 Second Villager "cost" slot not working Resolved MC-30729 Villagers sometimes enchant items for free Resolved MC-31017 [sorry, duplicated] Trades are corrupted from 1.6 to 1.7 Resolved MC-31410 Villager's Selling enchanted items Resolved

Attachments

Comments 23

Confirmed. If you trade with a villager and they acquire a 2-slot trade, it will be broken if you reload the world. They can also generate another 2-slot trade if they have a broken one (for example they have a broken book->enchanted book trade. If you trade the last slot, they can generate an unbroken book->enchanted book trade without deleting the broken one)

Oh, you're right, I didn't thought about that. I'll edit the name and description, so it's not so confusing.

Confirmed to happen in 13w37a. *13w37b too, but not 1.6.3

It happens when you try to trade a 1.6 generated trade when you're playing 13w37b.
I have the same issue.

New generated trades (in 13w37b), even on a 1.6 NPC, seems to be working

13 more comments

So is this still an issue or not? I can't reproduce it further.

It shouldn't be, no...I am not able to reproduce it past the 39w snapshots.

This remains fixed. Was a false alarm because of old YT video.

This problem still exists for villagers that were traded with during the 39w snapshots. Tested in single player survival 1.7.2

@Abram there is no way to fix that. What happened was when the villager was loaded, it didn't load up the buyB (secondary trade) tag from the world file. When the world saved, the current villager trade was saved; in other words, the villager was saved in the world without a second trade. My suggestion is to kill those villagers, or abuse the benefits from them (if you feel like "cheating." Definitely wouldn't suggest option 2 if those villagers are on a server)

Marek Štěpánek

Nathan Adams

Confirmed

reload, restart, trade, trading, villager

Minecraft 13w36a, Minecraft 13w36b, Minecraft 13w37a, Minecraft 13w37b, Minecraft 13w38a, Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39a, Minecraft 13w39b

Minecraft 13w41a

Retrieved