Mojira Archive
MC-77061

Villager trading: when [buy] and [buyB] tags are the same only one item is required

Create a custom villager with a trade containing things like

_buy:

{id:minecraft:flint_and_steel,Count:1b,Damage:0s}

,_
_buyB:

{id:minecraft:flint_and_steel,Count:1b,Damage:0s}

,_
_sell:

{id:minecraft:emerald,Count:1b,Damage:0s}

_

(should buy two flint and steel for one emerald)
because flint and steels are not stackable that is what I did.

It would look something like <see attachment 1|2>

The thing is though. whenever you put in ONE flint and steel it will already validate the trade and letting you take an emerald. thus only paying ONE flint and steel instead of two for one emerald!

it does NOT matter whether you put it in the first or second slot.
One flint and steel validates.

Duplicate

AgentM

2015-01-30, 10:07 PM

2016-02-12, 12:34 AM

2016-02-12, 12:34 AM

0

2

Unconfirmed

Minecraft 1.8 - Minecraft 1.8.2-pre6Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6

-