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

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8
    • Community Consensus

      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.

            Unassigned Unassigned
            MukiTanuki MukiTanuki
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: