mojira.dev
MC-30938

vilagers trading technicals crash game

I have a shop with villagers calibrated to not have a final trade, meaning they have a trade of Block 36 for block 36 at the end, this is so players on my server can't add new trades to them. when I go to these trades the game will crash as a result of the removal of technical blocks.
It is still occurring, and i must say the game is not modded even though the crash report says that, I just downloaded a new clean jar to generate that one.

To reproduce:
NBT edit in a villager that trades a technical block for a technical block EX: 36
attempt a trade
Crash it

Linked issues

Attachments

Comments 5

that is because technical block were removed in this snapshot

@ Branden
Technical blocks were not removed, they were just made to be impossible to keep in the inventory.

The game has a friendly reaction when encountering unknown block IDs: it simply renders them as air, and deletes them if needed.

I don't see why the game has to have such volatile reactions when encountering unknown items. I've seen the game crash, delete unrelated (non-bugged) items, and even delete entire chunks of the world in response to encountering items which caused no issues whatsoever prior to 13w37a.

Especially considering these changes are meant as preparation for the API, it's unreasonable to say that crashes and world corruption are intended effects for unrecognized data.

Is this an issue that is even being considered for resolution?

I too use MCEdit to create villagers with the piston head final trade to stop more trades being created.
I personally think that this should be fixed. The client even crashes if the valid trades not using item 36 are made.
The crash should not be the client "working as intended", I'm sure Mojang stop the crash.

blais filippin

(Unassigned)

Unconfirmed

crash, item, multiplayer

Minecraft 13w37a, Minecraft 13w39b, Minecraft 13w41a

Retrieved