mojira.dev
MC-61472

Villager with custom NBT Buys wrong Items

you can see a video here.
https://www.youtube.com/watch?v=oSTVqBp_368&google_comment_id=z13tjvhblv3bipn3423tszmwyk3ytji1e

comments on the video do a good job of describing the issue.

Basically if you set the Villager to BUY an item from you that has custom, name, or enchantments etc. It ignores the special effects that are on that item. For example:

Villager sells enchanted Iron sword fortune 2, and is asking for enchanted iron sword fortune 1. A good deal I agree, however He will allow you to buy the sword using a plain un-enchanted iron sword. The same thing goes for a custom named object. As seen in my video.

I am guessing this is not by design.

Linked issues

Comments

Brad Larson

A way to recreate the issue:

place command block

/summon Villager ~ ~1 ~ {Profession:3,CustomName:Blacksmith,CustomNameVisible:1,Offers:{Recipes:[{maxUses:1,sell:{id:iron_ingot,Count:8},buy:{id:fire_charge,Count:1,tag:{display:{Name:Pang Coin}}}}]}}
put that command in

Place button on command block

Sell fire charge ( plain not named ) to villager.

galaxy_2alex

Duplicate of MC-349

Brad Larson

(Unassigned)

Unconfirmed

Minecraft 14w28a, Minecraft 14w28b

Retrieved