mojira.dev
MC-32702

Villagers cannot support the buyB NBT tag and crash

All Gamemodes.

I have a villager with a lot of trades (80 tardes)
This villager trades 2 items (diamond and sword) for 1 enchanted one.
For all his trades. I just discovered that in all 1.7 snapshots the bug is present.
If you click on any (buyB, buy, and sell) items you will crash.

To test the error, crate any villager with buyB tag, and see.

I really hope this bug will fastly be fixed in 13w39b! Bye 🙂

Comments 7

...a little bit crypitc, but what am I complaining about as a non-native speaker...
First off, I think the Block 36 trade will be unavailable in 1.7, because technical blocks like 36 are gone.
I'm really not sure what you want to say with the rest, sorry.

Hello,
I introduced the 36 block bug, but the main one
is the 2 items for 1 bug, in the first part of the title 😉

Make sure you report separate bugs in separate reports. The BuyB tag should be in one report while Block 36 trade should be in another report.

Also, the Block 36 trade crash should be labeled "Works as Intended." As Galaxy_2Alex said, technical blocks were removed, so referencing a non-existent block will crash the game.

Hi,
Sorry, i didn't know technical blocks
were removed, i always used them..

I gonna remove 36 bug in this report to make it only buyB bug 🙂

This bug is still present as of Minecraft 1.7.2. I made custom villager shops with items having custom attributes, names, and enchants. The game crashes when I put the first item to sell into the first trading slot.

Incomplete without crash report ([minecraft|http://hopper.minecraft.net/help/finding-minecraft-data-folder]/crash-reports/crash-<DATE>-client.txt). Please attach it so that we can diagnose your issue.

John Smith

(Unassigned)

Unconfirmed

Minecraft 13w38b, Minecraft 13w38c, Minecraft 13w39a

Retrieved