mojira.dev
MC-106126

Converted Villagers have wrong tier 1 trades

Zombie villagers that are converted back into regular villagers have the wrong tier 1 trades. When they unlock new trades, they are the correct trades for that villager's profession/career, but the tier 1 trades that they start with are incorrect.

Steps to Reproduce

1. Enter the following command: /summon minecraft:zombie_villager ~ ~ ~ {ConversionTime:1,Profession:0}. The zombie villager will immediately convert into a villager.

2. Right click on the villager to see its trades. (For some reason, sometimes when you enter the command, you can't trade with the villager. This may be another bug, and I might report it in another ticket later.)

3. You will see that the villager has the wrong tier 1 trades. Try trading with the villager, and it will generate the correct tier 2 trades.

4. Repeat step 1, replacing Profession:0 with any other number and you will see that the problem occurs with every villager type.

Notes:
Villagers summoned with the /summon minecraft:villager command have correct trades, but ones converted from zombies do not. Also, the tier 1 trades are from different professions every time.

Linked issues

Attachments

Comments 5

As an addition to this issue I seem to be crashing when I attempt to unlock further trades from these

I can only seem to reproduce this is my vanilla world which is where the crash originally happened. Attempts with both properly converted and using the command OP used did not seem to give the same crash.

*Steps to reproduce*

1. Convert a zombie villager to a normal villager.

1.5. ❓ I carted the villagers from where they were converted to the village itself, unsure if this affects the crash.

2. Complete one of the first trades to unlock second set of trades.

3. Game crashes when the villager would normally gain the particle effect for unlocking new trades.

Crash report: http://pastebin.com/EKpiLg28

EDIT: When loading back into the world the next set of trades is not unlocked, and the game still crashes when attempting it again. Happens to two villagers I converted at the same time.

This is a duplicate, and the crash is fixed for next snapshot.

Can Mojang please change the way the search engine works? I searched high and low all over the site, using a variety of keywords to find an issue like this one before I reported it. I'm sick and tired of searching for an issue, not finding one, reporting it, and then finding out that my issue was a duplicate. C'mon, Mojang, what's the point of telling us to search for an issue before we report it if the search engine doesn't even work?

I would recommend being as general as possible with your search terms. For example, for this issue I would use "villager trade". You can see that there are only 11 results and both of these tickets are among them. Mojang does not make the bug tracker software, Atlassian does.

EchoBlade

(Unassigned)

Unconfirmed

Minecraft 16w32b

Retrieved