mojira.dev
MC-107999

Custom Villager Trade Crash

I created a villager with custom trades using an NBT editor and it seemed to work fine. Once I exited the inventory after a few seconds the game crashed.

I expected to be able to trade with the villagers with no crash.

What actually happened is the game crashed a few seconds after I traded with the villager.

Steps to Reproduce:
1. Crate a villager with custom trades
2. Trade with the villager
3. wait a few seconds
4. crash

It almost seems like the villager was about to display the pink swirls and then the game crashed, that may have something to do with it. Also the maxUses tag is set to 2147483647, and the uses tag is set to -2147483648, if that matters.

Linked issues

Attachments

Comments 5

Wrong crash report; that's from 2013.

Did you changed the Career tag? The crash report and behavior looks a lot like MC-47630.
If it's not the case, you should provide a screen of the NBT editor to see exactly what was changed to the Villager

The career tag was set to 4 and I was using a black apron villager. Changing career tag to 0 seemed to stop the crashing.

It's indeed a Duplicate of MC-47630
The Black Apron, or Blacksmith only have 3 valid career (0, 1 or 2).

masterzminer

(Unassigned)

Unconfirmed

Minecraft 1.10.2

Retrieved