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

Villagers don't accept datapack tags within "buy" recipes nbt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Invalid
    • Affects Version/s: Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8
    • Fix Version/s: None
    • Confirmation Status:
      Community Consensus

      Description

      The bug

      Villager's won't accept data tags within the "buy" nbt.

      How to reproduce

      Use a command such as this on a villager:

      /data merge entity @e[type=minecraft:villager,limit=1,sort=nearest] {Offers:{Recipes: [{
          maxUses: 7, 
          buy: {id: "#minecraft:logs", Count: 1b}, 
          sell: {id: "minecraft:emerald", Count: 1b}, 
          uses: 0, 
          rewardExp: 1b
      }]}
      

      → The villager should accept anything within the #minecraft:logs data tag, but denies any of them.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              MukiTanuki MukiTanuki
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: