Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-77061

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre4, Minecraft 1.8.2-pre5, Minecraft 1.8.2-pre6
    • None
    • None
    • java 8
      win 8
      vanilla
      SMP (tested)
      Client 1.8.2-pre6 - Server 1.8.1
    • Unconfirmed

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              m124367 AgentM
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: